Date: 2006-10-06 11:58:43
From: Steve Hutton <shutton_at_[hidden]>
> I think it would be good practice to keep both queries and their related
> TypeConversions in the same header file. But of course even this isn't
> enough to ensure queries don't break - the database itself can always
> change :-) But using select * is another precaution that gives some
> added protection from database changes.
Surely you mean "... NOT using select *..."? I've always considered it a best practice not to use select * in any production code. Is there another perspective on this?
James Jones Administrative Data Mgmt.
Webmaster 375 Raritan Center Pkwy, Suite A
Data Architect Edison, NJ 08837
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk