Hello, I have some tables in Sql Server. I want to log row, if row is updated or deleted. how can I organize this process?
Sample table structure:
[uniqueGUID] [uniqueidentifier] NOT NULL,
*[kod_a] [nchar](5) NOT NULL,
*[kod_b] [nchar](5) NOT NULL,
*[kod_c] [nchar](2) NOT NULL,
*[kod_d] [nchar](4) NOT NULL,
[name] [nvarchar](25) NULL,
[sname] [nvarchar](25) NULL,
[address] [nvarchar](25) NULL,
[payment] money NULL
Note: marked columns (kod_a, kod_b, kod_c, kod_d) are unique constaint together. Another tables also in same structure, columns count may be different.
some idea , please.
thanks.