[unixODBC-support] Text driver: Could not SQLPrepare

Nick Gorham nick at lurcher.org
Wed Feb 1 21:37:36 GMT 2012


On 01/02/2012 21:25, Radev, Lubomir wrote:
> I'm using 2.2.14p2 on Ubuntu with the text driver from 2.2.11 (since it's absent from later releases).
>
> Trying to test read plain CSV data in isql, I'm getting this:
>
> SQL>  select * from SampleData.csv
> [-----][unixODBC]START: hStmt = 0x809eff0 nAttribute = 10010
> [-----][unixODBC]END: Attribute not supported.
> [-----][unixODBC]START: hStmt = 0x809eff0 nAttribute = 10011
> [-----][unixODBC]END: Attribute not supported.
> [-----][unixODBC]START: hStmt = 0x809eff0 nAttribute = 10012
> [-----][unixODBC]END: Attribute not supported.
> [-----][unixODBC]START: hStmt = 0x809eff0 nAttribute = 10013
> [-----][unixODBC]END: Attribute not supported.
> [-----][unixODBC]hStmt = 0x809eff0
> [-----][unixODBC]syntax error processing 'select' on line 1
> [ISQL]ERROR: Could not SQLPrepare
>
> Here's my /etc/odbcinst.ini:

I don't think it supports two part table names.

-- 
Nick


More information about the unixODBC-support mailing list