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

mike mik3l3374 at gmail.com
Thu Oct 27 12:07:15 EST 2005


hi
ok i have retried, redownload sybase-037, recompile and retested , but it
still gives me -1
as a workaround, i will just do a check on the "user" criteria as well as
check for existence of the
table to be updated before i actually do the update. This way i can more or
less be sure that it will definitely update.
thanks again

 On 10/26/05, Nidositko, James <James.Nidositko at gs.com> wrote:
>
>
> 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
>
> _______________________________________________
> Python-sybase mailing list
> Python-sybase at www.object-craft.com.au
> https://www.object-craft.com.au/cgi-bin/mailman/listinfo/python-sybase
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.object-craft.com.au/pipermail/python-sybase/attachments/20051027/cc54ef29/attachment.htm


More information about the Python-sybase mailing list