Subject Re: [firebird-support] ROW_COUNT
Author Helen Borrie
At 10:01 PM 20/01/2004 +0100, you wrote:

>Release notes:
>------------------
>ROW_COUNT
>Returns an integer, the number of rows affected by the last DML statement.
>------------------
>
>Does it also count records affected via triggers (and cascading stuff)?

I don't think so. It's a context variable, whose context is confined to a
begin...end block in a PSQL module, so if you can't get at the block of
code that performs the DML, you can't access the row_count variable.


>The ReleaseNotes doesn't say - is there a standard that defines behaviour
>(if so, what does it say)?

Dunno about "standard" but Dmitry's notes are pretty specific about the
context.

/hb