CHAPTER 10 Database Error Messages
835
No primary key value for foreign key ’%1’ in table ’%2’
Item Value
SQLCODE -194
Constant SQLE_INVALID_FOREIGN_KEY
SQLSTATE 23503
Sybase error code 546
ODBC 2 State 23000
ODBC 3 State 23000
Parameter 1 Name of the foreign key.
Parameter 2 Name of the table with the foreign key.
You attempted to insert or update a row that has a foreign key for another
table. The value for the foreign key is not NULL and there is not a
corresponding value in the primary key
Not allowed while %1 is using the database
Item Value
SQLCODE -211
Constant SQLE_MUST_BE_ONLY_CONNECTION
SQLSTATE 42W19
Sybase error code 13652
ODBC 2 State 40001
ODBC 3 State 40001
You attempted a data definition language operation that cannot be completed
while another user is connected.
Probable cause
Probable cause