문제

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?

도움이 되었습니까?

해결책 2

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

다른 팁

Just Run this commands

 isql -v SERVERNAME Username password

At the prompt run your query

>SELECT COUNT (*) FROM table

+------+
|      |
|  100 |    
+------+

If you dont get any value back there is some problems

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top