× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



<Charles>
EXTNAME simply retrieves the structure of the file at compile time...

So no, you don't have to re-compile the program unless you have a
requirement to pick up the new definition..

One such use case, you have _dynamic_ SELECT * SQL statement...

A static SELECT * isn't a problem given the way the pre-compiler works...

Though SELECT * in production is generally a bad idea.
</Charles>

select * isn't the bad idea, select ... from a table is the bad idea.
There are two simple rules to follow:
1. Never use a table direct in a programm, neither in a select, nor in extname, use a view instead!!!)
2. Don't change a view - never ever!!! (If you want to add a field, create a new view)

select * from someNeverChanged view into a DS extname(someNeverChangedView) is simple, robust, foolproof and minimizes the traffic between application and database.

D*B




As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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