Is it possible to UPDATE
a row and then SELECT
the updated data from the very same row inside the same transaction without fear of a deadlock?
Use OUTPUT
clause to do this.
Update table_name
set col1='some_value'
output inserted.*
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With