View Full Version : Sqlcode = 1
Milk5600
09-08-2003, 09:48 AM
When I link up to a sql server database using an ODBC dsn, and I display the SQLCODE, the value is 1. I can display records from the tables, but I can't seem to update or add records.
Does anyone know where I can get a list of SQLCODE values and their meanings???
Thank You!!:confused:
gforseth
09-09-2003, 06:18 AM
Given that you cannot add or modify records, the return status is most likely SQL_MODE_READ_ONLY. Which means your connection has been opened for RO. You may know that the AcuODBC product can be delivered with a RO license? Chances are, this is what you got.
As for future references, your best source of these codes would be the ODBC SDK from Microsoft.
You could look at
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
and MDAC SDK.
vBulletin® v3.6.8, Copyright ©2000-2010, Jelsoft Enterprises Ltd.