scenario: when the business level deletes (physically deletes) a piece of data from Table A, the data is inserted into Table B. set up a trigger on table A CREATE OR REPLACE TRIGGER cmsinfo AFTER delete ON tablea for each row BEGIN IF DELETING THEN ...
as shown below, I use jdbc to create a MySQL trigger, which is successfully created in navicat. After the sql2 is output, it runs successfully in navicat. However, when the program runs, it will prompt that there is a syntax error in the statement that ...
in sql server database, an insert trigger is set for a table, and a new view is created in the trigger. How to design and write statements? Thank you ...