Viewing 9 posts - 1 through 9 (of 9 total)
Thanks Lynn, I will try it out.
I still hope someone can give me some clues on the xp_regread thing.
Thanks!
March 22, 2012 at 4:08 pm
Thanks for the reply Lynn! So what you suggested is to remove this:
SELECT @spidstr=coalesce(@spidstr,',' )+'kill '+convert(varchar, spid)+ '; '
FROM master..sysprocesses WHERE dbid in (db_id('SampleDB1'), db_id('SampleDB2'))
and leave this in the stored...
March 22, 2012 at 3:51 pm
noggin, thanx for the reply!
The error message just simply "the statement is terminated". Anyhow, I got it working yesterday. I found out that one column contains duplicated values when I...
June 9, 2005 at 8:18 am
Actually, am I doing the right thing by importing the large chuck of data from the XML to the database? Any other way to do this?
June 1, 2005 at 8:22 am
Thanks very much for all the replies.
Brian, I am new to SQL Server, can you tell me what do you mean by moving up the nodes and what is the...
June 1, 2005 at 8:14 am
Thank you for all your help!
Russell, I used the 'nolock' in the SELECT statement and now the database is back to its optimal execution time. Thanks for the tip!!
May 20, 2005 at 12:06 pm
Okee, it seems that the long execution time has nothing to do with the search function, it might have something to do with my new table and code that I...
May 19, 2005 at 12:32 pm
Thanks for the reply Allen,
Do you think changing the SQL statement to stored procedure would help?
May 19, 2005 at 8:31 am
Viewing 9 posts - 1 through 9 (of 9 total)