Viewing 15 posts - 46,831 through 46,845 (of 59,062 total)
I store the output in two tables and do a Full Outer Join on their key columns to compare.
December 1, 2008 at 8:35 pm
Much better... if you have a joined update, the object of the join MUST be in the FROM clause or you could end up pinning 4 cpu's to the wall...
December 1, 2008 at 8:28 pm
Lynn Pettis (11/28/2008)
Just playing the Devil's Advocate here, but couldn't you consider user training of an application using SQL Server 2005 as the database backend a "demonstration use"?
Ya beat me...
December 1, 2008 at 8:18 pm
Simon,
You're kinda new to the forum... take a look at the link in my signature below to get better, tested answers quicker...
December 1, 2008 at 8:16 pm
For more infomation on the method used above, please see the following link...
[font="Arial Black"]Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5
[/font][/url]
December 1, 2008 at 8:07 pm
This is how you do ROW_NUMBER() OVER in SQL Server 2000 with any performance at all. It's almost as fast as ROW_NUMBER () OVER...
Using the test data previously provided...
--=====...
December 1, 2008 at 8:05 pm
I'm probably the world's biggest fan of the Tally table... keep that in mind when I say that Tally table solutions are probably not appropriate nor as fast as a...
December 1, 2008 at 7:22 pm
You might find that SELECT TOP (xxxx) works pretty well as a sub for the Limit statement, as well.
December 1, 2008 at 6:52 pm
The PIVOT method is slower than a good ol' fashioned cross-tab... see the following article, please.
[font="Arial Black"]Cross Tabs and Pivots, Part 1 – Converting Rows to Columns[/font][/url]
Also, dunno if you...
December 1, 2008 at 6:26 pm
Basically, you're trying to pass a "table" or "array" of data in that it has rows and columns. Please see the following article...
Passing Parameters...
December 1, 2008 at 6:17 pm
The correct syntax is WITH (TABLOCKX)... parenthesis included.
Also, Seth pointed out some basic faults with you code like missing an anchor column... go back a take a look at his...
December 1, 2008 at 6:14 pm
Ummm... wouldn't an index view work just fine here?
December 1, 2008 at 6:07 pm
You noticed that the self taught guy did the best out of your employees...
... continue the trend and continue to teach yourself... start answering questions on this forum... compare with...
December 1, 2008 at 5:59 pm
Valid for all AFTER triggers on the same table regardless of how many there are... I don't have the test code to prove it, anymore, but someone could do...
December 1, 2008 at 5:44 pm
jcrawf02 (12/1/2008)
Charles Kincaid (12/1/2008)
Jeff Moden (11/29/2008)
Some folks store unknown or "open" dates as 99991231 so they don't have to check for null to see if an enddate has occurred in...
December 1, 2008 at 5:21 pm
Viewing 15 posts - 46,831 through 46,845 (of 59,062 total)