SQLConnect error codes

SQLConnect error codes

Post by Davi » Thu, 07 Mar 2002 03:10:20



Where can I find the documentation on SQLConnect() return codes. For example, I
need to know what a return value of 1 means. I can't find anything in BOL.
Regards,
David
 
 
 

SQLConnect error codes

Post by Gui-Dong Xiao [M » Sun, 10 Mar 2002 11:06:41


Hi David,

You can find your wanted ODBC error codes at the web site:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc...
bcodbc_error_codes.asp

This posting is provided "AS IS" with no warranties, and confers no rights.

Best Regards,
Gui-Dong Xiao
Microsoft Support

 
 
 

SQLConnect error codes

Post by Kirk » Mon, 18 Mar 2002 07:40:42


SQL_Success_With_Info = 1
it means that your connection is good, but your data source sent you back
informational message.  To get the info messages you need to call
SQLGetDiagRec or SQLGetDiagField.

If you are using VB and you get the SQLGetDiagRec call to work, please let
me know what you did.

Kirk Graves


Quote:> Where can I find the documentation on SQLConnect() return codes. For
example, I
> need to know what a return value of 1 means. I can't find anything in BOL.
> Regards,
> David