in reply to Re^2: DBI: Identify schema objects for a statement
in thread DBI: Identify schema objects for a statement
And Errto - here's anothr possibility: the Mimer SQL folks put out a very credible (non--perl, also non-free IIRC) SQL parser that might also be a possibility.
update : And here's another thought: the SQL for table and view names is (somewhat) more standard between dialects than other aspects of SQL so errto may be able to get the names out of a partially-parsed structure. E.g given "SELECT foo FROM bar WHERE oracle_only_function(baz) = ?", the parser might be able to tell that the tablename is "bar" even if it barfs on the oracle_only_function().
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: DBI: Identify schema objects for a statement
by rdfield (Priest) on Aug 30, 2007 at 11:13 UTC | |
by jZed (Prior) on Aug 30, 2007 at 15:36 UTC | |
by rdfield (Priest) on Aug 31, 2007 at 10:56 UTC |