From: Glen J. <gl...@be...> - 2009-03-25 21:31:52
|
After upgrading to ASE 15 and reinstalling python-sybase, my existing scripts stopped working. The problem seems to be that the "connection.query( sql )" method always returns None. A few key strokes to change that to a cursor query and everything works fine - so the connection is good, the query string is valid and there is no problem with permissions. (The only real problem is that I have a strong aversion to using cursors for simple queries that just return a single simple value.) Has this behavior, or the syntax, changed in python-sybase 0.39? Glen Jackson ========= IST-Data Services UC, Berkeley |