Quantcast
Channel: MYSQL Trigger not working - Database Administrators Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by Michael - sqlbot for MYSQL Trigger not working

The first problem is that you don't have an END IF;. The next problem (assuming that you aren't doing this and just didn't include it in the question) is that when you have a compound statement, you...

View Article



MYSQL Trigger not working

I am trying to create the following trigger: CREATE TRIGGER update_customers AFTER INSERT ON wp_usermeta FOR EACH ROW BEGIN if new.wp_metakey = first_name then insert into test_customer(first_name)...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images