Skip to main content
Skip table of contents

Special Variables

The VARIABLES.ROWCOUNT integer variable contains the numbers of rows affected by the last INSERT/UPDATE/DELETE command statement executed. Inserts that are processed by dynamic SQL with an INTO clause will also update the ROWCOUNT.

Example

SQL
BEGIN
...
UPDATE FOO SET X = 1 WHERE Y = 2;
DECLARE INTEGER UPDATED = VARIABLES.ROWCOUNT;
...
END
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.