Error 997

"Local connection ID does not refer to the current database"

Item Description

SQLCode

-997L

Constant

LOCAL_CONNECTION_NOT_TO_CURRENT_DB

SQLState

WO025

ODBC 2 State

ERROR

ODBC 3 State

ERROR

Sybase Error Code

2664

Severity Code

16

Probable cause

The specified connection ID is for a connection to a database other than the current database.


Created May 6, 2011. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com