Trigger on update
Hi allThere is a trigger on a table after "update"... there is serveral update and insert in the trigger, and will there be cases that those update and insert in the trigger is too long so that the...
View ArticleTransaction Log backup error
We were trying to backup the transaction log for one of our databases that is in Full recovery mode. However, while trying to perform the backup we encountered the following error.Backup detected log...
View ArticleDbccFilesCompact command went into Suspended Mode
Hello,I know there is a lot of similar information on the web, but it does not seem I can find the clear suggestions on how to go around problems we are facing right now.1) We are running sql server...
View ArticleMaintenance Plan - Backup runs successfully but Verify backup integrity fails
SQL Server 2008 R2 SP2 - 10.50.4000.0 (X64)I have built a Maintenance Plan and the only task within this plan is (Back UP Database Full).I have selected to only backup 1 database. The recovery model...
View ArticleBlocking in Sql 2005
Hi.Please analyze below blocking Report and tell me what is going on? We are using SQL Server 2005 Std Edition on Windows Server 2003<blocked-process-report monitorLoop="257022">...
View ArticleSQL Server 2008 R2 { An Error occured when attaching database(s) }
Hello Guys!I just installed SQL Server 2008 R2 a couple of days ago, on the first day use i can attach database(.mdf) with out any problem.on the day 2, i keep getting this...
View ArticleEscaping single quotes and comma in an insert statment.
Hello Everyone,I have an sql query like below: INSERT INTO tbl(col1,col2,col3) VALUES('abc','1','2','3','def')Here col2 should have the value: '1','2','3'.But on executing the query i get an error as...
View ArticleDatabase Engine Tuning Advisor - E000 SqlServer Errors
Does anyone know how to DTA to correctly read the output from the Profiler? I get the error: TITLE: DTAEngine------------------------------50% of consumed workload has syntax errors. Check tuning log...
View ArticleDifferential and TL backups work even though a full backup has not been done
I recently migrated a database from a SQL 2008 R2 RTM instance to a separate SQL 2008 R2 SP2 instance by backing up the database and restoring it on the new instance. I noticed that my differential and...
View ArticleWeird Performance problem with stored procedure
Hi all,I have a stored procedure which has suffered from param sniffing problems in the past, to this effect local variables have been used so that parameters wouldnt be sniffed. The problem we are now...
View ArticleRAISERROR with log produces no log output
This statement produces no log output in the SQL Server log or the Windows application log:RAISERROR ('Error in P_ETL_SHIPMENT_DETAIL processing ',16,1) with logI tried giving the sysadmin role to the...
View ArticleExecute Oracle procedure from SQL Server via linked server...
Hello, folks. I'm hoping someone can provide a clear answer to execute an Oracle procedure from SQL Server via a linked server. I've seen related posts that are all over the place. I have a simple...
View Articleoutput is not displaying in my configired mailid but the job is completed...
Hello, I have configured database mail wizard in one of my sql server and configured some alert jobs that should be displayed to my mailid. But my question is when am executing the job its completed...
View ArticleFinding out which #tables in temporary db belong to which session_id?
Is it possible to finding out which #tables in temporary db belong to which session_id.I would like to link the name of the temp objects (#temp tables, ##temp tables, and...
View ArticleI want to use hindi collation for one of my database not server
I have the SQL server 2008 r2. I want to use hindi collation for one of my database not server.I have find "Indic_General_90_CI_AS" a hindi supportive collation.Will it work in 2008 r2?beause...
View ArticleUnable to connect
Hi,Within the 2008 server called "WIN2008DC", I see all of the services of instance "MSSQLSERVER" are started there but when I try to connect to thisWIN2008DC\MSSQLSERVERI've got thisTITLE: Connect to...
View ArticleSql Server login failure error: 18456 with Windows account and sa account
Hi All,I am using Win 2008 R2,SQL Server 2008R2When i try to connect to SQL Server i am getting error 18456. Previously i have installed Active Directory and immediatly i haved un installed it. After...
View Articleget all users of a particular active directory group using sql query
Hi All,I wanted to write a sql query to return all the users from a specific AD Group specifying the Group Name instead of the CN value in memberof.I have written the query as shown below. kIndly help...
View ArticleException 0xc0000094 EXCEPTION_INT_DIVIDE_BY_ZERO at 0x00000000022953A6
Hi,We are using MSSQL 2008 R2 Enterprise, recently we have noticed Exception 0xc0000094 EXCEPTION_INT_DIVIDE_BY_ZERO at 0x00000000022953A6 throwing in the sql server.Can any one guide me to fix the...
View Article