[python-sybase] how to get return value of update/delete

Nidositko, James James.Nidositko at gs.com
Thu Oct 27 01:46:00 EST 2005


Mistakenly sent last reply to list as HTML.  Repeated here:

	 
	Mike, 
	I had some discussions earlier this year with Dave about fixing the
rowcount stuff in the recent versions of the Sybase module (0.36 and 0.37).
I was under the impression that these fixes had been incorporated and
released, but I did not check that before responding to your question.
Sorry for the confusion.
	 
	The last official version that I know of where rowcount() worked was
0.36-pre2.  There were extensive changes to the structure of the code
between that version and the actual 0.36 release.  The rowcount problems
were introduced by some of those changes and carried forward into 0.37.
	 
	I'm assuming that you're using 0.37.
	 
	The attached copy of Sybase.py fixes the rowcount issues.  It is
based on the version released with 0.37.
	 
	Dave, any chance of getting an official release with rowcount()
working?
	 
	-Jim
	 


More information about the Python-sybase mailing list