[unixODBC-dev] SQLDriverConnect with NULL ConnectionString
G, Hemanth Kumar
Hemanth.G at Teradata.com
Thu Jun 18 06:42:10 BST 2009
Sorry Nick. It had nothing to do with Driver Manager. I had to modify
some settings in odbc.ini and it worked.
Thanks.
________________________________
From: unixodbc-dev-bounces at mailman.unixodbc.org
[mailto:unixodbc-dev-bounces at mailman.unixodbc.org] On Behalf Of G,
Hemanth Kumar
Sent: Thursday, June 18, 2009 10:52 AM
To: Development issues and topics for unixODBC
Subject: [unixODBC-dev] SQLDriverConnect with NULL ConnectionString
Hello Nick,
SQLDriverConnect with a NULL InConnectionString must return
IM002 (Data source not found and no default driver specified),
Instead returns 28000 (Not enough information to log on).
rc = SQLDriverConnect(hdbc, NULL, NULL, 0, (SQLCHAR *)OutStr, 1024,
&outlen, SQL_DRIVER_NOPROMPT);
Expected: IM002
Received: 28000
Please check.
Thanks
Hemanth.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20090618/c6f02d05/attachment.html>
More information about the unixODBC-dev
mailing list