System DSN to Windows Azure SQL Database
I am struggling with setting up linked server connection to Azure SQL. Connection works easy from SSIS and SSMS 2012.In the system DSN setup I select SQL 11 library, enter server name, login, password...
View ArticleConsolidate databases in a single sql serve box - SQL Server 2008 R2 -...
I have to migrate dbs from SQL Servers 2005 EE 64 bit to a single sql server box with SQL Server 2008 R2 SP1 EE 64 Bits (cluster).The collates are: - Latin1_General_BIN – 12 dbs - Latin1_General_CI_AS...
View ArticleSQL Server 2012 Management Studio & Visual Studio 2012 Express: Database &...
Hi all,I have SQL Server 2012 Express [that has SQL Server 2012 Management Studio (SSMS 2012)] and SQL Studio 2012 Express installed in my "Windows 7" PC. I can manually create a Database...
View Articlerebulid indexes on msdb and master databases
Is it safe to rebuild indexes on master and msdb databases using a maintenance plan? and how often should this be done? thanksSQL Pro
View ArticleBind Sql Server to Static IP address
We using SQL Server 2008 in our Windows Server 2008, and have a static ip. We are able to connect to sql server from Management Studio in our network. But how do we connect to SQL Server when we are...
View ArticleAppDomain Unload - Memory pressure
Hi, I have a sql2008 10.0.2531,x64 running on windows server 2008R2 SP1,x64. On daily basis, we do a huge ETL processing and during the ETL job, i see the following errors logged in ERRORLOG. I know...
View ArticleNeed help to inserting 100 records in loop, continue where it stop from and...
This is what I have so far: AlterPROCEDURE ETL.ETLPurge @PurgeYearINTASBEGIN DECLARE @BatchId INT=(SELECT BatchIdFROM Tracker) declare @Count int declare @batchsize int set @batchsize = 100 --set...
View ArticleQuestion about proper index on table to minimize deadlocking
We have a deadlocking issue when two queries try to access the same table. (Sql 2005 Profiler shows us the deadlock. The INSERT statement is the "winner" and the SELECT against the same table the...
View ArticleSql Profiler: which Event , column retruns stored proc name?
What Event, column name will return the name of the stored proc called? (I have tried options such as Stored Procedure : RPC Completed and get strings likedeclare @p1 intset @p1= 1245exec sp_preexec...
View ArticleQuery On Trigger
Hi guys i am working as a software engineer at bangalore,i have given a task by team-lead .I have two tools (i.e., SQL Server and My SQL) and two databases in different tools the thing is if update any...
View ArticleSQL server 2012 -Sys tables
Hi,In Sql, which sys table contains database name, table name, field name, field type and field size.I want these all fields in a single Sys table.If anybody knows about this then please let me...
View ArticleDBCC SHRINKFILE not recaliming the free disk space in a datafile but throwing...
Hi, Despite this is an huge narration, in order to get a solution, I should mention the background of this database file on which DBCC SHRINKFILE is getting failed.We have a SQL Server database file...
View ArticleApplication connection to SQL Server unstable!
The connections from the application to the SQL Server is unstable with the application users reporting freeze in their application screen and again connection starts working after some time. I have...
View ArticleSQL consistency based I/O error, help needed
Hello everyone.I'm new to database errors so I'm not really sure what I should do next. I'm using an accounting program running on SQL Server Express 2005 (9.0 SP3) on a Windows Server 2008R2. While...
View ArticleNonsensical results using columnstore index
I'm looking for any ideas to the results I'm getting from columnstore indexes in SP1. Both should be impossible, but having them happen pretty much blows that out of the water. This is a completely...
View ArticleSQL Server 2012 Express & Visual Basic.NET 2012 Express: Database...
Hi all,In my Visual Studio 2012 Express, I lanched a Windows Application project in Visual Basic.NET 2012 Express "WindowsApplication1" and created a Database "BooksAuthorsLibrary.mdf" in the Database...
View ArticleShare a database with LocalDB
Hi all,Reading the "permissions" part of this page I understand that I can share a database with several users even if those users do not use a shared instance.To do that, I just need to create the...
View ArticleMany Buffer I/O and network I/O wait
Hi all when I open the Activity Monitor and I see there are many Buffer I/O and Network I/O wait.is it healthy ?? and what's the Buffer I/O ?? is it memory?
View ArticleDoes cleanup task affect log chain
Hi there,I have two Maintenance Plans:1) FullBackupdaily at 0:00, oncecontaining a Cleanup Task, that deletes files older than 3 days (.bak)2) TransactionlogBackup daily at 02:00, every 5...
View ArticleSQL Server 2012 Management Studio: I cannot create a SQL Server Express...
Hi all,I have SQL Server 2012 Express installed in my "Windows 7" PC that is part of Windows System in our Computer Network System. In the SQL Server 2012 Management Studio (SSMS 2012) of my SQL Server...
View Article