Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql set column equal to another automatic

CREATE TRIGGER foobar AFTER UPDATE ON table
  FOR EACH ROW SET foo = foo + NEW.bar;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #set #column #equal #automatic
ADD COMMENT
Topic
Name
3+1 =