Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how use trigger in sql

CREATE TRIGGER Product_Details_tr 
BEFORE INSERT ON Product_Details 
FOR EACH ROW 
SET NEW.User_ID = CURRENT_USER();
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #trigger #sql
ADD COMMENT
Topic
Name
5+5 =