Re: Teradata and 'SQL_ERROR or SQL_SUCCESS_WITH_INFO but no error reporting API found'

Nick Gorham <[email protected]> Wed, 12 Mar 2014 10:09:02 +0000
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
On 12/03/14 08:13, Nick Gorham wrote:
> On 12/03/14 06:42, Daniel Kasak wrote:
>> Hi all.
>>
>> I have to connect to multiple databases via ODBC, so I *assume* I 
>> have to use unixODBC ( and not, for example, Teradata's driver 
>> manager). The problem is that Teradata's ODBC drivers appear to be 
>> pretty bad. If I execute a statement that works, everything is fine. 
>> But if I execute something that raises an error, I get:
>>
>> SQL_ERROR or SQL_SUCCESS_WITH_INFO but no error reporting API found
>>
>> I've googled for a while and found other people with the same issue, 
>> but no solution. What's going on here? Am I correct in assuming that 
>> Teradata simply haven't implemented an error reporting API?
>>
>> Dan
>
> Thats certainly what it looks like.
>
It may also be that the driver manager is regarding the driver as 
unicode but the driver only exports the non unicode error api, or the 
other way around. I will check a DM change in later that might help with 
this. Its moving away from what the MS DM does, but if it helps its 
worth trying.

-- 
Nick
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev