1

I would like to know how can I retrieve the older value after updated. I am using this in After update trigger and the database being used is MSSQL.

2 Answers 2

3

You need to get data from DELETED table

SELECT ColumnName from DELETED
Sign up to request clarification or add additional context in comments.

1 Comment

1

In the context of a trigger, you can get the pre-update value from the deleted virtual table.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.