Viewing 12 posts - 151 through 162 (of 162 total)
Not in SQL Server 2005. I believe there is some functionality included in SQL Server 2008 for stepping through sp's etc although I haven't tried / used them yet.
November 6, 2009 at 8:19 am
PS
This book on Execution Plans is a must, and may provide you with some answers
October 27, 2009 at 8:44 am
Is hard to say why your query would time out at regular intervals. But if the intervals are as regular as you say, 10 days, it would be worth monitoring...
October 27, 2009 at 8:38 am
You can't examine the logs directly in SQL Server, you'd need a third party tool for that. Maybe you should consider a trigger on you table to record such activites.
October 27, 2009 at 7:09 am
Yes, agreed. If you're needing to do something that violates your primary key, either don't do it, or revise you primary key.
October 27, 2009 at 6:23 am
Yes without table defs its hard to say. Assuming the data is in one table, you could try the following to give you an XML doc based on your requirement...
October 26, 2009 at 10:09 am
Why does you have to use EXPLICIT? I much prefer using PATH / RAW and building in subqueries to get the right structure of an XML doc.
October 26, 2009 at 9:48 am
Try running this from server A
exec sp_serveroption @server='ServerName', @optname='rpc', @optvalue='true'
exec sp_serveroption @server='ServerName', @optname='rpc out', @optvalue='true'
October 26, 2009 at 8:54 am
Try something like this....
EXEC [Your Linked Server Name].[master].[dbo].sp_ExecuteSQL N'SELECT @@cpu_busy'
October 26, 2009 at 8:42 am
Have you considered scripting the database. And then applying that script on the other server?
October 23, 2009 at 7:58 am
What's the error message? Have you tried through query analyser "KILL 116" and seeing what message you get back?
October 23, 2009 at 7:13 am
Have the indexes been created with the ONLINE option set to on?
October 23, 2009 at 6:39 am
Viewing 12 posts - 151 through 162 (of 162 total)