in reply to SQL/DBI
Do you actually have an example of a 'syntax change' that you could show us? In your example that query will run on all the databases that I mention above.
The delayed syntax checking is annoying but nothing stops you from logging into the database from a command shell and running your queries directly to check. There are large parts of Perl that only explode when you execute them, so this is at least consistent.
Finally there is a module that does what you want, it's called Tie::DBI. It presents tables as hash variables and you can write to or read from them.
You could conceivably write a module that checks your SQL at compile time, which would be kind of convenient.
____________________
Jeremy
I didn't believe in evil until I dated it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: SQL/DBI
by Arguile (Hermit) on Oct 20, 2001 at 11:22 UTC | |
by jepri (Parson) on Oct 20, 2001 at 11:58 UTC | |
by Arguile (Hermit) on Oct 20, 2001 at 14:50 UTC | |
by Aristotle (Chancellor) on Oct 20, 2001 at 19:43 UTC |