Re: Trigger syntax - stop duplicates
The Trigger knows values in the just-inserted `bookings` row as NEW.column_name, eg NEW.firstname, so to add the new bookings row to `bookings_report`, you need something like ...
INSERT INTO bookings_report
SET firstname=NEW.firstname, etc ...
Subject
Views
Written By
Posted
1182
April 10, 2017 01:04AM
595
April 10, 2017 05:06AM
534
April 10, 2017 05:24AM
Re: Trigger syntax - stop duplicates
513
April 10, 2017 07:55AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.