更新时间:2022-12-03 12:03:48
SQL Developer似乎认为您正在运行纯DML(数据操作)脚本,而不是DDL(数据定义)脚本.它还认为:new.id
是可绑定变量.
It seems that SQL Developer thinks that you are running a plain DML (data manipulation) script, not a DDL (data definition). It also thinks that :new.id
is a bindable variable.
为什么会这样,我不知道;为什么?我无法在Oracle SQL Developer 2.1中复制它.
Why this happens, I don't know; I can't reproduce it in Oracle SQL Developer 2.1.
尝试在theschema
模式中打开一个新的SQL工作表窗口,并按 F5 (不是 F9 )执行整个"脚本(不是语句)
Try to open a new SQL worksheet window in the theschema
schema and execute a "whole" script (not a statement) by pressing F5 (not F9).