LAST_IDENTITY() returns the ID of the last record inserted, updated, or deleted. This is very useful from ODBC/JDBC. From within an ObjectScript method, you can access this directly instead of running an additional SELECT statement:
- For Embedded SQL, you can use the %ROWID variable.
- For Dynamic SQL, you can use the resultset.%ROWID property.
- Log in to post comments
.png)