[unixODBC-dev] SQLDriverConnect with NULL ConnectionString

G, Hemanth Kumar Hemanth.G at Teradata.com
Thu Jun 18 06:21:34 BST 2009


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/045f21b6/attachment.html>


More information about the unixODBC-dev mailing list