This way if the file is ever expanded it will
not break the applications that are using the SP down the road.

Why would additional columns break the consumers of the SP? A waste of
bandwidth? Sure. But unless you're retrieving the columns by ordinal I
don't see how the additional columns would cause the app to break.

BTW, I'm not disagreeing w/the idea (specifying the columns, not using
*) and I do specify the columns when I'm writing sql statements by hand
(rare these days) but I do it from a documentation and maintenance point
of view, not from a breakage point of view. If I'm selecting only
OrderNumber, OrderDate and OrderTotal it's obvious that my application
doesn't care about OrderStatus or OrderTax.


Walden H Leverich III
Tech Software
(516) 627-3800 x3051

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].