ns_ill resultid returns the oid of the last object affected by an Illustra DML command. This oid can be used to determine the oid for a newly-inserted row.
ns_ill resultrows returns the number of rows affected by the last DML command. It can be used to determine how many rows were deleted or updated.