determine inserted, updated and deleted rows of an internal table