On 27-Feb-2002 Jeff Urlwin wrote:
> Steffen,
> 
> Thanks!
> 
> Are you not getting ODBC 3.x behavior by default?

I doubt it as dbdimp.c calls SQLAllocEnv, SQLAllocConnect - ODBC 2.0 calls
which suggest to the driver you want ODBC 2.0 behavior. To get ODBC 3.0
behavior you need to ask for it with SQLSetEnvAttr or perhaps using
SQLAllocHandle for env and dbc.

Martin

>> -----Original Message-----
>> From: Steffen Goeldner [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, February 25, 2002 3:56 AM
>> To: [EMAIL PROTECTED]
>> Cc: [EMAIL PROTECTED]
>> Subject: DBD::ODBC: connect() attributes
>> 
>> 
>> The attached patch makes it possible to choose the
>> ODBC version. E.g.:
>> 
>>   my $dbh = DBI->connect( ..., { odbc_version => 3 } )
>> 
>> directs the driver to exhibit ODBC 3.x behavior.
>> 
>> 
>> Steffen

--
Martin J. Evans
Easysoft Ltd, UK
Development

Reply via email to