Domanda

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?

È stato utile?

Soluzione

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)

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top