Re: SQLDriverConnect with NULL ConnectionString

"G, Hemanth Kumar" <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <DB5CCE49324ED540B132892B8F2892490236F37B@susday7667.TD.teradata.com>
Sorry Nick. It had nothing to do with Driver Manager. I had to modify
some settings in odbc.ini and it worked.
 
Thanks.
 

________________________________

From: [email protected]
[mailto:[email protected]] 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.

_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.