Changes SQL Function
The Changes() function takes zero (0) argument and returns the number of database rows that were changed or inserted or deleted by the most recently completed INSERT, DELETE, or UPDATE statement, exclusive of statements in lower-level triggers.
Syntax Changes()
/* Following will return number of changes */
SELECT Changes();