17,377
社区成员
发帖
与我相关
我的任务
分享
create or replace trigger modify_together
before update of name
on student
for each row
begin
dbms_output.put_line('old name is :' || :old.name);
dbms_output.put_line('new name is :' || :new.name);
update class set name = :new.name where name = :old.name;
--end;
end modify_together;
是不是end后面需要+ modify_together;