CodePudding user response:
Bumps, have a great god knowCodePudding user response:
1, you can directly in the insert statement in sequence;2, had better not use triggers, it may be a problem, especially the performance problems, if you use the trigger, can have a try:
The create or replace the trigger moni_tri before insert on mycrm for each row
The begin
If: the new id is null then
Select moni_squ. Nextval into: new id from dual;
end if;
end;
CodePudding user response:
It is an error
CodePudding user response:
You see if you are: the new id, this; and there is no space between the new, you are too openCodePudding user response:
The