In my database, I want to track the value of a column whenever it changes. So that each time value changes, we can know what the previous value was. It would be great to assign timestamps for each change. I am using MySQL as the database server.
To do this, you need to create a trigger, which is an event that fires when it INSERT, UPDATE, DELETEoccurs in this table.
INSERT, UPDATE, DELETE
See the documentation for CREATE TRIGGER .
, , , , , INSERT/UPDATE , AFTER , , .
INSERT/UPDATE
AFTER
. , , , MySQL. , , , . .
MobiLink iAnywhere. . MobiLink - , MySQL, SQL Anywhere. , - MySQL. , MobiLink , MySQL. , sql-, , - . SQL Anywhere.
, Sybase Central, . , , MobiLink MySQL. , , , , , .
MySQL . , , .
, ...
. , , , .
mysql . Mysql API (post version 5.6).
Flexviews, Oracle, Materialized View, .
cdc_audit, mysql . ( ETL ). , - .
.