Viewing 15 posts - 43,006 through 43,020 (of 59,063 total)
GilaMonster (7/14/2009)
Jeff Moden (7/14/2009)
Jack Corbett (7/14/2009)
Was Jeff referring to the Order By in the ROW_NUMBER() function?Yes.
Ok, misunderstood you earlier. Are you suggesting adding a second temp table, one to store...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 14, 2009 at 12:59 pm
Jack Corbett (7/14/2009)
Was Jeff referring to the Order By in the ROW_NUMBER() function?
Yes.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 14, 2009 at 10:54 am
GilaMonster (7/14/2009)
Christopher Stobbs (7/14/2009)
but creating the clustered Index on #TopScores after the actual insert?Would this help at all?
If the cluster goes on after the insert then first SQL has to...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 14, 2009 at 10:53 am
Mel,
I haven't had the time to look at all the fine suggestions folks may have given, but if I look at your original query, I see the potential for a...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 14, 2009 at 5:48 am
You bet. Thank you for the feedback.
As a bit of a sidebar, NULLs are some of the oddest things and can also be a very, very powerful tool depending...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 14, 2009 at 5:30 am
cb (7/13/2009)
Whilst everything you say is true, the environment I have to deal with is:
Software vendor creates a product based on SQL, and sells it to client.
Client wants some...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 14, 2009 at 5:19 am
I'd have a hard time doing that because Number is a reserved word but to each their own. Also, are you implying that you have two separate tables? ...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 14, 2009 at 4:59 am
Matt Miller (7/13/2009)
Jeff Moden (7/13/2009)
Dave Ballantyne (7/13/2009)
You can lead a horse to water but you cant force him to drink
Heh... well... you can if you don't mind getting your lips...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 14, 2009 at 4:44 am
On most systems, you cannot say WHERE something NULL... instead, you usually have to say WHERE something IS NOT NULL or WHERE something IS NULL depending on what you're...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 13, 2009 at 10:27 am
Dave Ballantyne (7/13/2009)
You can lead a horse to water but you cant force him to drink
Heh... well... you can if you don't mind getting your lips dirty. I'm going...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 13, 2009 at 8:59 am
Eralper (7/10/2009)
Actually, I made a simple test to see that the xml function is quicker.
Actually, let's see THAT test. 😉 I already posted mine.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 13, 2009 at 8:24 am
Kindred spirit, Goldie. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
July 13, 2009 at 8:13 am
rf44 (7/12/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
July 13, 2009 at 6:55 am
rf44 (7/11/2009)
The poster did not ask for a personal opinion about cursors (even if it's a wise one), he asked for...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 12, 2009 at 7:57 am
Dave Ballantyne (7/11/2009)
Dont use...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 12, 2009 at 7:49 am
Viewing 15 posts - 43,006 through 43,020 (of 59,063 total)