Relative Content

Tag Archive for mysqltriggers

MySQL 8 Trigger – Unknown Table ‘NEW’ in field list

I am setting up a database and trying my hand at implementing triggers. All Tables and the trigger upload into the database without warning, however when I activate the trigger on update of the table operator I get an error message

MYSQL triggers to insert many rows

I have two tables Product and customer_prices. I am trying to add a trigger so that when a new product is added a new row is added into customer_prices for each customer with a procduct_ID.

Can’t create a mysql trigger

I try Restrict Overlapping Time Periods in MySQL on phpmyadmin so new record cannot contains the same pc_id and date because you can’t give the same computer few times.