Skip to main content
Skip table of contents

Special Variables

You are looking at an older version of the documentation. The latest version is found here.

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.