Looking at the source code (dbdimp.c dbd_db_login) you cannot set ODBC
Connection Attributes using DBD::ODBC.  

However you can sometimes set the isolation level for the DSN in the ODBC
administrator (depends on the driver).  Finally option might be able to set an
option (via a SQL statement) once connected, for example for Sybase ASA you
can issue a "SET TEMPORARY OPTION ISOLATION_LEVEL = 3" once connected.

I believe you can do it using Win32::ODBC instead of DBI if you're on a Win32
platform.

Flemming Frandsen wrote:
> 
> Is setting the isolation level during connect supported by DBD::ODBC,
> I've read over the code, but as far as I can tell it doesn't.
> 
> --
>  Regards Flemming Frandsen aka. Dion/Swamp http://dion.swamp.dk

Reply via email to