Viewing 15 posts - 45,871 through 45,885 (of 59,095 total)
Very cool and great explanation of the problem you were trying to solve. Thanks a huge amount for taking the time to post it, Julie! 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 12:27 pm
GilaMonster (1/16/2009)
Jeff Moden (1/16/2009)
I'm trying to be as nice as pie... I don't understand why people post code and ask which will be faster... that's pretty lazy...
Cause it's easier...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 12:22 pm
leonp (1/16/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 12:17 pm
leonp (1/16/2009)
second .. while i admit to being a little lazy, I do not have access to the database itself that...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 12:13 pm
magarity kerns (8/15/2008)
where
a.acct_nbr >...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 12:02 pm
leon mckay (1/16/2009)
Jeff Moden (1/16/2009)
The article was actually first published on 12/6/2007 and it actually says that on the SSC home page where the article was listed. Why they...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 11:55 am
Dan Guzman (1/16/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 10:55 am
sknox (1/16/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 10:52 am
sfrazier (1/16/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 10:49 am
TheSQLGuru (1/16/2009)
1) For your follow-on articles, when you demonstrate the 'tsql trick' solution, please make sure you caveat the hell out of it about how and why you can get...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 10:42 am
One additional thought... people always seem to fall into the trap of saying "this will never be for more than 1 row". You don't actually know how someone else...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 10:18 am
rob jones (1/16/2009)
Will i have to remove that in the "Update, and if @@Rowcount = 0, then insert. " method so it returns a rowcount?
If...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 10:14 am
Outstanding. Thanks for taking the time to post your great feedback, Julie... it would be very interesting to see your code along with brief explanation if that's possible and...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 10:12 am
krypto69 (1/16/2009)
I tried Ramesh's suggestion first, but to my surprise, it was only slightly quicker.
Was then going to try Chris Morris's suggestion but...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 10:02 am
GilaMonster (1/16/2009)
Jeff Moden (1/16/2009)
GilaMonster (1/16/2009)
If the comparison with the outer query is an equality, the subquery won't be processed row by row.I pretty sure it will with an ORDER BY...
Order...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 8:55 am
Viewing 15 posts - 45,871 through 45,885 (of 59,095 total)