Jeff Zucker wrote: > > Tim Bunce wrote: > > > > I'd strongly suggest that the configuration be implemented in a way > > compatible with ODBC GetInfo, as far as possible. Which basically > > means use something like a hash where the key is an integer and the > > value is the corresponding value of a GetInfo call using that key. > > > > See: > > http://archive.develooper.com/dbi-dev%40perl.org/msg00524.html > > http://archive.develooper.com/dbi-dev%40perl.org/msg00525.html > > http://documentacion.hispano4d.com/CMU/CMU11922.HTM > > I find the MSDN ODBC GetInfo docs useful additions to this list but > since they switch locations so often and are slow to load I've placed a > plain HTML version (with all the ActiveX stuff removed) at: > > > http://www.vpservices.com/jeff/programs/SQL/docs/odbc-getinfo-msdn.html > > It has a link to the URL of the original at msdn.microsoft.com (at least > the URL that works today). > > Another interesting link is the SWsoft opensource ODBC test suite at: > > http://www.mipt.sw.ru/en/products/ots/ > > > Also let it be specified by passing a code ref, in which case the > > code ref is called with the relevant integer and expected to return > > the corresponding value. That way you could get SQL::Parser to work > > in the same way as any given database by simply doing like: > > > > $my_sql_parser->config( get_info => sub { $dbh->get_info(shift) } ) > > I get the general idea but don't have a full picture of how I'd > implement that. Steffen, perhaps instead of bothering Tim and the list, > I could correspond with you off-list to ask some clueless questions?
Off-list, on-list, wherever you like! BTW: A BNF for SQL3 is available at: <http://www.sqlstandards.org/SC32/WG3/Progression_Documents/Informal_working_drafts/iso-9075-2-1999.bnf> Steffen
