create or replace trigger tri_test before insert on test for each row declare begin if :new.uuid is null then :new.uuid:=sys_guid(); end if; end tri_test;
时间: 2024-10-12 08:35:44
create or replace trigger tri_test before insert on test for each row declare begin if :new.uuid is null then :new.uuid:=sys_guid(); end if; end tri_test;