Backup DB with stored procedure and a parameter for the destination
I would like to create a little backup SP that I can pass a parameter that contains the location so a user could backup to any location they wanted. I started with this but it doesn't seem to...
View ArticleError during backup process
Hi,Our system on a daily basis creates a backup of Sql Server 2008 database. It is using "backup database {0} to disk='{1}'" command. It works for years now, but recently a problem occurred.On our...
View ArticleAutogrowth, shrink and database performance
I have already asked some questions about Autogrowth and shrink. But I have some doubts related to it. 1)I have a database which grows about 300 MB every month. So is it best to set Autogrowth of 300...
View ArticleGet Notification When SqlConnection Pool Count change
Hello AllI use Following Query To check ConnectionPool Count:SELECT COUNT(*)FROM(SELECT host_process_id FROM sys.dm_exec_sessions WHERE PROGRAM_NAME = 'MyApplicationName' GROUP BY host_process_id) AS...
View Articleparallel query worker thread was involved in a deadlock
Hi, We are getting deadlock issue in MSSQL 2012 enterprise edition. By enabling the trace we could find the MORE number messages as below: "parallel query worker thread was involved in a...
View ArticleSEQUENCE issuing numbers more than once?
This is all on Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Oct 19 2012 13:38:57 Copyright (c) Microsoft CorporationEnterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service...
View ArticleViewing an encrypted data in MSSQLSERVER
Hi Everyone,I have a table in my database that contains an encrypted column. I dont want to decrypt the column but I want to be able to view the encrypted data.Please i need help!!me
View ArticleAfter a restore Im getting login failures for a particular login - user...
I recently restored a backup from a production server to a test server. Everything went fine, but one login seems to be giving some of my applications trouble. After digging around a bit, it seems...
View ArticleMoving Database Servers
AllI have recently moved some production db's.Recovery Mode = Simple.XXXXX.mdf - 1.8gbXXXXX.ldf - 800mbWhen we run a full back up the log file does not reduce in size, is that normal?I have some quite...
View ArticleDedicated Administrator Connection
Hi:I am trying to connect to my local instance of SQL Server 2005 using Dedicated Administrator Connection by usingAdmin:Servername\Instancenameand I end up with the following error.Dedicated...
View Articlemaximum transactions per second sql server support value
I want to know what is the maximum transactions value per second sql server support.Thanks
View ArticleMsg 2601, Level 14, State 1, Procedure sp_flush_commit_table, Line 15 Cannot...
I am using SQL server 2008 R1 SP3. And when we are doing back up operations we are facing the below errorMsg 2601, Level 14, State 1, Procedure sp_flush_commit_table, Line 15 Cannot insert duplicatekey...
View ArticleWrong Execution Plan getting picked on some occassions
Hi,The following query sometimes runs efficiently; gives quick results, CPU and IO utilization is also up to the mark. But sometimes the query takes very long time to execute. At that time I do not...
View ArticleTrace Issue
Hi,I closed trace files, but still it will start automatically everyday @ 12:00AMHow can i stop this?ThanksShashikala
View ArticleBecome our FIRST Microsoft TechNet SS DBE Guru of 2014!!
Happy New Year!Time for a fresh start!We're looking for the first Gurus of 2014!!This is your chance to make your mark on the Microsoft developer community.All you have to do is add an article to...
View ArticleRuntime parameter values
Hello everybody,I have a couple of queries running longer than usual (started not in SSMS). They are being executed with cached execution plans. I can see compiled values, but how can I find the...
View Articlei nead a help
i m trying to do the sharepoint configuration wizard but it message me that the collation of SQL server putten before does not support for sharepoint 2010 so i nead to change the collaction
View Articlesys.dm_tran_database_transactions vs. dbcc opentran.
Greetings. I've been using sys.dm_tran_database_transactions to detect which queries are making my TLogs grow, but wouldn't it also stand to reason that dbcc openTran would be an equally effective (if...
View ArticleCollation conflict
Ok, Im doing a query and its all within the same database, same server etc. Looking at the database properties, the collation is set to Latin1_General_BIN, as are the individual tables. So now why...
View Article