Posted by --CELKO-- on 02/20/07 17:18
>> For that last step, SELECT * is the sensible way to go. <<
No, it is lazy and dangerous, not at all sensible. Hopw hard is it to
use a text editor to get the column names? Or to write comments?
>> If you really do want everything, why force yourself to have to edit the select if ever a column is added or deleted? <<
Because if you do not have control over your software, you are at the
mercy of every re-compile or change to the tables and do not know it.
And machiens have no mercy -- they will do exactly what you have told
them to do.
A good programmer writes code that protects itself.
[Back to original message]
|