×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




My belief is that adding columns will make no difference to SQLRPGLE using SELECT * via static SQL.


-----Original Message-----
From: Vernon Hamberg [mailto:vhamberg@xxxxxxxxxxxxxxx]
Sent: Monday, May 04, 2020 10:20 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Implicitly hidden column & EXTNAME D/S

An interesting thought, Justin - the evidence of the I-specs that the pre-compiler adds suggests you are right.

Now that also suggests to me that, if one uses SELECT *, then, if columns are added, they will not be seen - no I-spec for the new columns.

Or is this just a Monday-morning fancy I'm going through?

Cheers
Vern

On 5/4/2020 10:15 AM, Justin Taylor wrote:
Unless I'm mistaken, the pre-compiler resolves the SELECT * at compile-time, so the result is the same as explicitly listing the columns.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2026 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.