Syntax for attributes when connecting
- From: scarmalt@xxxxxx (Sam Carmalt)
- Date: Mon, 30 Apr 2007 20:51:12 +0200
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
- Prev by Date: Re: Proposal for new $h->{ReadOnly} attribute
- Next by Date: connect internal and dataguard via ora_session_mode => ORA_SYSDBA
- Previous by thread: Re: Proposal for new $h->{ReadOnly} attribute
- Next by thread: connect internal and dataguard via ora_session_mode => ORA_SYSDBA
- Index(es):
Relevant Pages
|
|