In this blog post, you’ll learn more about the Sybase Error Not connected to a database and the reason for receiving this error
Sybase SQL Error Message
Not connected to a database
Reason for this Error
You are not connected to a database, or you executed the DISCONNECT statement and have not connected to a database again.