
> PS: You might consider applying the patch for (update where > not_found) -> 100

No, this is not allowed. sqlcode is supposed to be 0 in above case.
You need to explicitly check for the number of rows updated in your
program if needed.

Andreas

Fri, 10 Nov 2000 13:10:19 +0100
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>
AW: Re: [INTERFACES] USE OF CURSORS IN ECPG
Zeugswetter Andreas SB wrote:

> > PS: You might consider applying the patch for (update where > not_found) -> 100
>
> No, this is not allowed. sqlcode is supposed to be 0 in above case.
> You need to explicitly check for the number of rows updated in your
> program if needed.
>
> Andreas

According to my reading of the SQL standard this is the only compliant behaviour. Do
you know better?

Christof



Fri, 10 Nov 2000 13:49:33 +0100
Christof Petig <christof.petig@wtal.de>
Re: AW: Re: [INTERFACES] USE OF CURSORS IN ECPG