Search code examples
sqllinuxisql

Check if `isql` queries succeed


Is there any way to check if an isql query has failed? It seems isql returns 0 whether queries succeed or not, only returning false if there was a error connecting to the server. How can I determine whether or not my Sybase queries work from the command line?


Solution

  • --retserverror seemed to be what I was looking for.