Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Update Trigger - Keep Old value unchanged for a column

$
0
0
using UPDATED and DELETED temp tables, how can I override the new value and keep the old value for a column using UPDATE trigger. My requirement is not to give user an error, but keep the old value for just one column.Anyone can provide a script would be highly appreciated.many thanks!

Viewing all articles
Browse latest Browse all 6525

Trending Articles