Viewing 4 posts - 1 through 4 (of 4 total)
SQLZ (4/1/2008)
April 1, 2008 at 2:06 pm
In defense of the first method (using WHILE 1=1):
1. Steve McConnell advocates this syntax (in Code Complete) when the language does not natively support a "Loop with test in the...
March 28, 2008 at 1:14 pm
All,
Thanks for the replies. So far, it seems that the only real benefit to the "monster" script is that it allows ordinal positioning of the new column.
As for the...
March 27, 2008 at 11:41 am
Matt,
Yes, the @@fetch_status test was mistyped in the second example - proves that code should never be cut-and-pasted.
I appreciate your thoughtful answer: rather than telling me not to use...
March 27, 2008 at 8:50 am
Viewing 4 posts - 1 through 4 (of 4 total)