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
1640
June 06, 2019 01:03PM
661
June 06, 2019 03:17PM
Re: pre_insert trigger not working
729
June 06, 2019 03:22PM
710
June 06, 2019 04:15PM
665
June 06, 2019 04:54PM
636
June 06, 2019 05:10PM
691
June 07, 2019 06:18AM
671
June 07, 2019 10:36AM
638
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.