Generic way of fetching a list of databases

2018-11-15 Thread Daniel Kasak
Hi all. I have a project that has to support pretty much every major database around, plus a number of more esoteric "big data" platforms as well. Until now, I've had a bunch of methods, implementing fetching databases, schemas, tables, etc, per database, with database-specific queries ( eg agains

Re: DBD::ODBC and issues getting LongTruncOk / LongReadLen to take effect

2018-11-15 Thread Daniel Kasak
On Fri, Nov 16, 2018 at 11:18 AM Ron Savage wrote: > Hi Dan > > Does it make any difference if you put LongReadLen and LongTruncOK next > to RaiseError in the attrs? > Hi Ron. Thanks for the response :) No change, unfortunately: my $dbh = DBI->connect( "dbi:ODBC:DRIVER=DB2;database=BLUDB;h

Re: DBD::ODBC and issues getting LongTruncOk / LongReadLen to take effect

2018-11-15 Thread Ron Savage
Hi Dan Does it make any difference if you put LongReadLen and LongTruncOK next to RaiseError in the attrs? On 16/11/18 10:54, Daniel Kasak wrote: Hi Martin. Sorry for the very long delay. We had abandoned the ODBC driver in favour of the native DBD::DB2, and I've been working on this project

Re: DBD::ODBC and issues getting LongTruncOk / LongReadLen to take effect

2018-11-15 Thread Daniel Kasak
Hi Martin. Sorry for the very long delay. We had abandoned the ODBC driver in favour of the native DBD::DB2, and I've been working on this project outside my normal work hours anyway, so got bogged down in other issues ... I've uploaded the trace to: https://tesla.duckdns.org/downloads/trace.log T