Viewing 15 posts - 391 through 405 (of 428 total)
Grr... I knew I was going to get this one wrong. I knew you could only revert if there is only on snapshot, but it is possible to restore...
July 19, 2012 at 7:26 am
If restarting the server before the test is not an option, you could reset the plan cache using DBCC FREEPROCCACHE
July 18, 2012 at 6:57 am
Thank you Roberto for an interesting question.
Thanks Christian for the follow-up with some very useful details!
July 18, 2012 at 6:47 am
Hi gmamata7,
You didn't really say what the top queries are rated by (disk IO, cpu time, etc..)
Here is a query I use to find cached plans with tablescans in them.
I've...
July 17, 2012 at 2:26 pm
You could try adding SET ANSI_WARNINGS OFF to your procedure.
I know this will supress the "Null value has been eliminated by an aggregate function..." messages. I assume...
July 12, 2012 at 2:14 pm
Most comparitors will implicitly pad strings before comparing them, but LIKE will only do this if the whitespace is on the right.
Try this and see if it works:
Select * from...
July 12, 2012 at 2:05 pm
Good question. Thanks for keeping the answers straight-forward!
July 12, 2012 at 11:08 am
Nice question!
It really bugs me that len() trims whitespace padding on the right.
July 11, 2012 at 10:23 am
Correct answers: 2% (8)
Incorrect answers: 98% (328)
Total attempts: 336
How did 8 people manage to get this one correct?
July 5, 2012 at 11:53 am
Toreador (6/27/2012)
vk-kirov (6/26/2012)
I can create an index by means of a unique constraint
That's exactly the basis on which I answered "None unless the rest of the statement creates one", which...
June 27, 2012 at 6:25 am
mtassin (6/25/2012)
sestell1 (6/25/2012)
Does anyone know what SQL Server...
June 25, 2012 at 9:15 am
I was always under the impression that there was no reason to create indexes on table variables because they exist only in memory.
Does anyone know what SQL Server actually does...
June 25, 2012 at 7:13 am
Koen Verbeeck (6/22/2012)
Very interesting question. I never use this syntax with the correlated subquery, so it would have been nice to give a bit more explanation on that.
+1
Thank you Hugo...
June 22, 2012 at 7:54 am
SQLRNNR (6/21/2012)
Thomas Abraham (6/21/2012)
tommyh (6/21/2012)
Works just fine to attach a database with just "for attach" with only one log file.
/T
I figured it would. But it's nice to have it...
June 21, 2012 at 9:38 am
Viewing 15 posts - 391 through 405 (of 428 total)