Viewing 15 posts - 6,781 through 6,795 (of 8,416 total)
There is another solution - a turbo-charged version of James' solution, which doesn't require any tedious messing around with format files:
USE tempdb;
GO
-- Sample table
CREATE TABLE dbo.SourceData
(
...
November 6, 2009 at 1:39 am
[font="Courier New"]Warning: Null value is eliminated by an aggregate or other SET operation.[/font]
(suppressed by SET ANSI_WARNINGS OFF)
November 6, 2009 at 12:19 am
Jeff Moden (11/5/2009)
Just keep in mind that no trick will keep the DBA from accidently TRUNCATEing the table. 😉
Aside from...
1. Referencing the table in a foreign key relationship
2. ...
November 6, 2009 at 12:11 am
That level of interrupts is not unusual or concerning with a quad core based system. Older net-burst architecture processors were worth monitoring for interrupts, but no longer really.
It is...
November 5, 2009 at 9:47 pm
To correct some inaccuracies in previous posts on this thread:
Support for locked pages on 64-bit Standard Edition was added in 2005 SP3 CU4, and 2008 SP1 CU2. You need...
November 5, 2009 at 9:32 pm
Leo,
The threshold is currently fixed at 15 seconds, though this may become configurable in a future release or service pack.
There are many better ways of monitoring I/O performance than scanning...
November 5, 2009 at 9:16 pm
Finally, here's my script for what I believe to be the absolute fastest possible way to populate the table and return the desired results:
The key point is that all the...
November 5, 2009 at 3:57 am
Here is the 2005-syntax equivalent of the 2008 code I posted (it produces an identical plan on 2005 to the 2008 version):
SELECT U.row_id, CA.column_nm, CA.old, CA.new
FROM ...
November 5, 2009 at 3:34 am
WayneS (11/2/2009)
November 5, 2009 at 12:42 am
You could do a lot worse than consider Itzik Ben-Gan's latest books:
http://www.amazon.com/Microsoft®-Server®-T-SQL-Fundamentals-PRO-Developer/dp/0735626014
http://www.amazon.com/Inside-Microsoft%C2%AE-SQL-Server%C2%AE-2008/dp/0735626030
The links there provide a limited preview of the content too. Highly recommended.
Paul
November 2, 2009 at 2:07 am
WayneS (11/1/2009)
November 2, 2009 at 1:53 am
Bob Hovious 24601 (11/1/2009)
Don't worry, Paul. There is plenty of respect to go around and I'm taking none of it away from Peter. Or Wayne.
Same...
November 2, 2009 at 1:44 am
Yes that works. I am willing to bet that opinion will be divided over whether it is elegant or robust however 😉
Paul
November 2, 2009 at 12:58 am
Hey everyone,
Although the 2008 method is undoubtedly impressive, I'm very aware of the fact that it is a relatively small tweak to the original (awesome) solution from Peter. He...
November 1, 2009 at 1:44 pm
G2,
Decimal and money are fixed-point types. They don't go near an FPU 🙂
http://blogs.msdn.com/khen1234/archive/2005/05/13/417153.aspx
October 30, 2009 at 7:05 am
Viewing 15 posts - 6,781 through 6,795 (of 8,416 total)