Syntax for attributes when connecting

--=_alternative 006790DEC12572CD_=
Content-Type: text/plain; charset="US-ASCII"

I'm connecting to a database using the DBI::ODBC interface. (Specifically,
I'm connecting to a Progress v9.1e running on SuSE Linux using the Merant
ODBC driver).

When opening the database handle, I know that I need to set what Progress
calls the "transaction isolation level", which sets the levels that the
SQL standard refers to as 'dirty read', etc.

And I know that I need to use the SQLSetConnectAttr to do this.

But I have yet to find an example of the syntax to use in the connection
string. Can someone help? I presume it will be something like:

$attribute_ref = { 'RaiseError' => 1,
'SQLSetConnectAttr' => '??????',
};

Many thanks in advance.

Regards, Sam Carmalt
--=_alternative 006790DEC12572CD_=--
scarmalt [ Mo, 30 April 2007 20:51 ] [ ID #1701637 ]
Perl » perl.dbi.users » Syntax for attributes when connecting

Vorheriges Thema: Re: Proposal for new $h->{ReadOnly} attribute
Nächstes Thema: DBI AND DBD-ORACLE