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.
[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 H Leverich III
(516) 627-3800 x3051
Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)