Re: pre_insert trigger not working
The insert statement itself does NOT specify any id value. Therefore, I am hopeful that the following stmt from the pre insert trigger would create a new UUID and assign it to the id column.
SET NEW.id = ma.uuid_to_bin(UUID());
Subject
Views
Written By
Posted
1360
June 06, 2019 01:03PM
541
June 06, 2019 03:17PM
Re: pre_insert trigger not working
612
June 06, 2019 03:22PM
588
June 06, 2019 04:15PM
548
June 06, 2019 04:54PM
511
June 06, 2019 05:10PM
575
June 07, 2019 06:18AM
549
June 07, 2019 10:36AM
528
June 07, 2019 10:56AM
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.