Creating a trigger in Oracle Express

后端 未结 4 512
面向向阳花
面向向阳花 2020-12-24 05:14

I was trying to do something like auto-increment in Oracle 11g Express and SQL Developer. I know very little about Oracle and I am also new to triggers.

I tried run

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-24 05:55

    This is how I have solved this problem, put "set define off;" before the command:

    set define off;
    create or replace trigger [...]
    [...]
    end;
    /
    

    Then highlight both commands and press F9 to run. Or you could run all the commands with F5.

    It seems, that if the commands are executed separetly with F9, then the set define off does not take affect.

提交回复
热议问题