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
1335
June 06, 2019 01:03PM
531
June 06, 2019 03:17PM
Re: pre_insert trigger not working
598
June 06, 2019 03:22PM
575
June 06, 2019 04:15PM
539
June 06, 2019 04:54PM
502
June 06, 2019 05:10PM
566
June 07, 2019 06:18AM
540
June 07, 2019 10:36AM
520
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.