Viewing 15 posts - 436 through 450 (of 717 total)
Nice question, thanks.
Though I think formatting the code into little sections, and including the commented select statements, makes it a little more confusing and harder to read than it could...
October 6, 2010 at 9:03 pm
Nice question, thanks!
Related BOL links:
SQL Server 2008 R2: http://msdn.microsoft.com/en-us/library/ms175010.aspx
SQL Server 2008: http://msdn.microsoft.com/en-us/library/ms175010(SQL.100).aspx
SQL Server 2005: http://msdn.microsoft.com/en-us/library/ms175010(SQL.90).aspx
SQL Server 2000: http://msdn.microsoft.com/en-us/library/aa260638(SQL.80).aspx
All of them say:
* "Transactions involving table variables last only for...
October 5, 2010 at 10:39 pm
Very timely article, and discussion, as I am just about to setup an automated restore job for a DB. Thanks!
October 5, 2010 at 5:50 pm
Thanks for the question, I think it helps re-enforce some of the less known internal workings of SQL Server.
October 5, 2010 at 1:59 pm
Erin-489205 (9/28/2010)
October 4, 2010 at 5:34 pm
GilaMonster (9/30/2010)
October 4, 2010 at 5:32 pm
Thanks for the question, it made me slow down and think.
October 1, 2010 at 10:33 pm
Jeff Moden (9/30/2010)
I could use the extra data point for the R2.
Since you wanted some more R2 data points, I ran both of the tests on our SQL Server 2008...
September 30, 2010 at 10:08 pm
scott.pletcher (9/30/2010)
Technically you don't have to manipulate the date in the table. For a million+ row table, you save a million+ calcs 🙂 :
Duh. I was so busy thinking...
September 30, 2010 at 7:07 pm
CELKO (9/30/2010)
Think I scared him enough he might stop writing danger code? I hope so
Are you sure he designed that table? Maybe he inherited it and isn't allowed...
September 30, 2010 at 12:57 pm
David, That is an interesting way to do it, but I think it is less readable for us bit-challenged people. 🙂
September 30, 2010 at 8:33 am
PaulB-TheOneAndOnly (9/29/2010)
DISTINCT and GROUP BY are two very different tools as pointed...
September 29, 2010 at 10:48 pm
Lowell (9/29/2010)
September 29, 2010 at 10:33 pm
You didn't specify how the time portion of the EventDate field should be dealt with so I assumed that you only wanted to look at the date not the time.
Give...
September 29, 2010 at 10:26 pm
HowardW (9/28/2010)
If the query they are running is static, I believe you should be able to create a plan guide that's non-parallel:
He didn't want a non-parallel plan, he just wants...
September 29, 2010 at 10:18 pm
Viewing 15 posts - 436 through 450 (of 717 total)