Viewing 15 posts - 3,391 through 3,405 (of 8,416 total)
Also:
DECLARE @Table
TABLE (
col1 INTEGER NOT NULL,
col2 ...
May 19, 2010 at 10:17 pm
There's a good explanation of the issues in the following Knowledge Base article:
May 19, 2010 at 9:47 pm
tacy.highland (5/19/2010)
May 19, 2010 at 12:00 pm
As far as I can remember, this will work in SQL Server 2000. I don't have it installed any more, so no guarantees!
DECLARE @Sample
TABLE (
...
May 19, 2010 at 11:47 am
tacy.highland (5/19/2010)
May 19, 2010 at 11:38 am
Demonstrating the derived table:
SELECT C.ClientId,
C.ClientCode,
C.LastName
C.FirstName,
...
May 19, 2010 at 11:04 am
The Dixie Flatline (5/19/2010)
Understanding and applying Paul White
:blink: :blink: :blink: :blink: :blink:
😀
May 19, 2010 at 11:00 am
tacy.highland (5/19/2010)
May 19, 2010 at 10:48 am
On the question of statistics:
These seem pretty good to me, in general, with one exception: the optimiser does not have good information about the correlation of SchId with LDate. ...
May 19, 2010 at 10:06 am
tacy.highland (5/18/2010)
May 19, 2010 at 9:45 am
jain.ashish21 (5/19/2010)
Thanks for the quick replies. Apologies for not letting you know, I have SQL Server 2000 as DB. These queries are SQL 2005 specific I guess.
Awesome :doze:
May 19, 2010 at 6:36 am
Grant Fritchey (5/18/2010)
...while the other does a completely useless sort...
That sort on SchID is an optimisation for sequential I/O.
Look at the loop join after the sort operator - the clustered...
May 19, 2010 at 6:33 am
DECLARE @Sample
TABLE (
ID INTEGER NOT NULL PRIMARY...
May 19, 2010 at 6:07 am
One way is via the Help menu in SSMS.
Another is the Error and Usage Report Setting application in the Configuration Tools sub group of the Microsoft SQL Server program folder.
May 19, 2010 at 3:29 am
8kb (5/18/2010)
Apologize for not responding sooner but I'm looking forward to trying this out in the test table and our production set. Thanks again.
No worries. Good luck!
May 19, 2010 at 2:58 am
Viewing 15 posts - 3,391 through 3,405 (of 8,416 total)