It depends on your implementation of the data of course. If your binding
directly to a table you can have issues. I find it always better to be
specific in your needs.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Walden H. Leverich
Sent: Wednesday, August 13, 2008 9:43 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Returning Record Sets from SQLRPGLE Web Services

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

--
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

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

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 by midrange.com 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].