Viewing 15 posts - 45,886 through 45,900 (of 59,101 total)
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
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 8:34 am
Plain and simple... I consider my salary to be in the world of private information. I would sue the pants off of any company that made my salary public...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 8:31 am
Saw this thread and just wanted to make a note... recursion is at least as bad as a well formed cursor. Michael's post above is absolutely the way to...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 8:19 am
RBarryYoung (1/16/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 7:38 am
Jack Corbett (1/16/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 7:35 am
r.hensbergen (1/16/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 7:25 am
robertm (1/16/2009)
Hey Jeff,Good article. It's great that you and others are continuing to drive home the fundamentals of good code practices!!
Rob.
Glad you liked it, Robert. It was supposed to...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 7:18 am
Hmmm, not sure... on the home page, it's listed as "By Jeff Moden 2009/01/16 (first posted: 2007/12/06)"... not sure why the date of the actual article changed.
Steve? If you...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 16, 2009 at 7:14 am
Why don't you just run it and tell us? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
January 15, 2009 at 11:28 pm
Viewing 15 posts - 45,886 through 45,900 (of 59,101 total)