[python-sybase] How could I get the database message returned from Sybase in python script?

Wang King wangkknd at gmail.com
Tue Nov 8 20:18:36 EST 2005


HI,everyone:
I'd install the  Sybase Module for python successful,but I don't know
how to get the database message returned from Sybase.For example,I
execute sql "SELECT * FROM TABLE_NOEXIST",I want to get the message
from database like "TABLE_NOEXIST not found...."but not
"Sybase.DatabaseError".

I'm  jackeroo for python.So please give an example for this problem.

Thanks.


More information about the Python-sybase mailing list