Question

I know from (Insert Update trigger how to determine if insert or update) that an UPDATE transaction causes rows in the deleted table

what are the contents of inserted and deleted when updating a single row?

Was it helpful?

Solution

Inserted contains that one row being updated with the new values (after the UPDATE), while Deleted contains that one row being updated with the old values (before the UPDATE)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top