Tracking UPDATE changes on SQL Server 2005+ with the OUTPUT clause(code.sayao.net)
submitted by
sayao(85) 2 years, 9 months ago
It is common to have to execute a mass update on some table, for example, to update a customer credit classification. When such updates are executed, you may want to know what has changed and maybe log it. There are several ways to do it, but i recently found one that makes it easier: the OUTPUT clause.
|category: Database
|Views: 5
tags:
Database another
Everyones tags:
Your Tags: