Viewing 15 posts - 7,276 through 7,290 (of 8,416 total)
ta.bu.shi.da.yu (8/13/2009)
Hmmmm... Paul, what does the following do?GO 8
It executes the preceding batch 8 times, as if you had highlighted it in SSMS and hit Execute eight times.
I'm not sure...
August 13, 2009 at 4:30 am
GilaMonster (8/13/2009)
Paul White (8/13/2009)
GilaMonster (8/13/2009)
Normally SQL allocates the first few pages for a table (8 in 2000, 24 in 2005) from mixed extents before switching to uniform (dedicated) extents.
No that...
August 13, 2009 at 4:00 am
GilaMonster (8/13/2009)
Normally SQL allocates the first few pages for a table (8 in 2000, 24 in 2005) from mixed extents before switching to uniform (dedicated) extents.
No that is not correct:...
August 13, 2009 at 3:12 am
Jeff,
Probably 1118: see http://blogs.msdn.com/psssql/archive/2008/12/17/sql-server-2005-and-2008-trace-flag-1118-t1118-usage.aspx and http://support.microsoft.com/kb/328551. Not everyone knows that it can be used with SQL2K as well.
Paul
edit: Gail's reply wasn't there when I started writing this post! ...
August 13, 2009 at 1:51 am
TheSQLGuru (8/11/2009)
Search web for SQL Server 2005 Waits and Queues, a marvelous best practices white paper from Microsoft.
August 11, 2009 at 4:38 pm
Lynn Pettis (8/11/2009)
One correction to the above regarding table variables
Thanks Lynn! All these years I have used OUTPUT to send rows to a 'real' tbale or a table variable,...
August 11, 2009 at 3:15 pm
Gail,
I was simply referring to your statement that "Without stats, it estimates 1 row". It is commonly held that SQL Server always estimates one row for table variables -...
August 11, 2009 at 6:34 am
Jeff Moden (8/10/2009)
August 10, 2009 at 8:49 pm
GilaMonster (8/10/2009)
August 10, 2009 at 7:38 pm
Lynn Pettis (8/10/2009)
August 10, 2009 at 7:33 pm
GilaMonster (8/10/2009)
Now that's interesting. Didn't realise it worked for anything other than procedures. That certainly has possibilities.....
And none of them good I suspect 😛
August 10, 2009 at 7:29 pm
GSquared (8/10/2009)
August 10, 2009 at 7:23 pm
TheSQLGuru (8/10/2009)
Paul, you bring up...
August 10, 2009 at 6:24 pm
RBarryYoung (8/10/2009)
To clarify: HashBytes w/ SHA1 is nigh-unbreakable.
Hey Barry,
On the other hand, it is relatively slow, only works on strings, and returns varbinary(8000).
If the task is to detect changes in...
August 10, 2009 at 6:22 pm
GSquared (8/10/2009)
gregory.anderson (8/10/2009)
August 10, 2009 at 4:31 pm
Viewing 15 posts - 7,276 through 7,290 (of 8,416 total)