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.
ontop — — source: Informix-list mailing list archive (1991-1998)
William Hayman wrote:
} Hi
}
} This has been discussed before, but I can't remember the answer.
}
} How do I get the number of rows inserted, deleted or updated
} by a sql statement within a stored procedure.
}
} Something like v_no_rows = sqlerrd[3];
}
William use -> v_no_rows = dbinfo("sqlca.sqlerrd2")
Of course you have to declare v_no_rows in the stored procedure
define v_no_rows int;
and return the value -> return v_no_rows.
John
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.