in reply to Re^6: Query database in Prolog
in thread Query database in Prolog
Yes, that works and is portable. However whenever I've dealt with code that tried to remember column names by position, it has been a maintainance issue. Every single time. (It wasn't always obvious to other people around me that it was a maintainance issue since the work of maintaining it and the routine failures in doing so were just accepted as normal.)
Therefore even though you can do things that way, I strongly recomment that you not do so. Albeit for different reasons than what I thought you were talking about.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Query database in Prolog
by zby (Vicar) on Dec 30, 2005 at 23:03 UTC | |
by tilly (Archbishop) on Dec 31, 2005 at 00:10 UTC | |
by jZed (Prior) on Dec 31, 2005 at 01:22 UTC | |
by zby (Vicar) on Dec 31, 2005 at 09:50 UTC | |
by radiantmatrix (Parson) on Jan 05, 2006 at 21:21 UTC |