Viewing 15 posts - 45,886 through 45,900 (of 59,095 total)
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
That's a much better design.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 15, 2009 at 11:26 pm
Oh dear... thanks for sharing, but why on Earth did you use a cursor? That's gonna slow it down, alot!
--Jeff Moden
Change is inevitable... Change for the better is not.
January 15, 2009 at 11:22 pm
Sergiy (1/15/2009)
Scott T (12/30/2008)
For any math calculation avoid FLOAT use Decimal you will get Write result.:D
DECLARE @One decimal, @Three decimal
SET @One = 1
SET @Three = 3
SELECT @One/@Three + @One/@Three +...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 15, 2009 at 11:17 pm
ScottPletcher (1/15/2009)
But it was my understanding that SQL Server did not do that, at least thru SQL 2005.
Is...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 15, 2009 at 6:36 pm
Lynn Pettis (1/15/2009)
This is the first time I've been asked to check due to user complaints.
One of the main reasons to carry a sword to work... no one asks those...
--Jeff Moden
Change is inevitable... Change for the better is not.
January 15, 2009 at 6:24 pm
Heh... yeap... that's a doozy. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
January 15, 2009 at 6:18 pm
Viewing 15 posts - 45,886 through 45,900 (of 59,095 total)