Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

trigger in mysql

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