1Create Trigger Product_Details_tr
2on Product_Details
3for Insert
4as
5being
6insert into Product_Details_Audit_Log(audit_ID, update_time_stamp)
7select Id, CURRENT_TIMESTAMP
8from inserted
9end
1CREATE TRIGGER Product_Details_tr
2BEFORE INSERT ON Product_Details
3FOR EACH ROW
4SET NEW.User_ID = CURRENT_USER();