I have a table Product and another table ProductLog.
Product
ProductLog
The log table needs to track two columns in the Product table. Each time
or just
DECLARE @type CHAR(1)= case when not exists(SELECT * FROM inserted) then 'D' when exists(SELECT * FROM deleted) then 'U' else 'I' end