Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Bashar Chalabi — — source: Informix-list mailing list archive (1991-1998)
DBINFO('sqlca.sqlerrd2') returns the number of rows affected.
--
Bashar Chalabi
CTL, London
Ryan Tanaka wrote in message <0H4q3.278$aY1.8393@client>...
>Hi All!
>
>I'm pretty new to Informix and am looking for a way in a stored procedure,
>to find out if an UPDATE statement actually updated any rows (don't really
>care how many).
>
>Is there a way to do this directly in a Stored Procedure? MS SQL Server
has
>a Rowcount system variable that tells you this info. Any help would be
>greatly appreciated.
>
>Ryan
>
>
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.