oracle中出现如下错误: 警告: 创建的触发器带有编译错误。求解
代码如下:createorreplacetriggerStudentInfoDeletebeforedeleteonStudentInforeferencingoldas...
代码如下:
create or replace trigger StudentInfoDelete
before delete on StudentInfo
referencing old as old_value
for each row
begin
delete from studentgrade where S_No=:old_value.S_No
delete from studentinfo where S_No=:old_value.S_No
end StudentInfoDelete; 展开
create or replace trigger StudentInfoDelete
before delete on StudentInfo
referencing old as old_value
for each row
begin
delete from studentgrade where S_No=:old_value.S_No
delete from studentinfo where S_No=:old_value.S_No
end StudentInfoDelete; 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |