CREATE OR REPLACE TRIGGER table_Trigger
after delete or insert or update on table
begin
if delete then
--语句
end if;
if insert then
--语句
end if;
if update then
--语句
end if;
end;
/这样写错在哪里?
after delete or insert or update on table
begin
if delete then
--语句
end if;
if insert then
--语句
end if;
if update then
--语句
end if;
end;
/这样写错在哪里?
解决方案 »
- 如何执行PL/SQL 脚本
- 有关在vs2003中,利用occi连接oracle数据库的问题
- 向各位请教!关于数据库查询
- ?????帮助偶解决存储过程速度慢的问题的200分都给您老,没有第二!
- 关于oracle9I建立表空间,出现ORA-01144: 文件大小 (5242880 块) 超出 4194303 块的最大数的错误
- oracle的如何从服务器上导数据库
- 关于ORACLE连接的问题,急、急、急
- 建表时的错误
- 特急求救,关于DBA如何知道每种操作系统I/O缓冲区大小的问题,包括windows2000、windows NT、各种Linux版本、Unix等
- Oracle 判断游标返回记录是否为空
- Oracle高手请进,300分!一个oracle9i回退段的问题.
- 一个关于查询的问题!谢谢各位!
after delete or insert or update on table
begin
if DELETING then
--语句
end if;
if INSERTING then
--语句
end if;
if UPDATING then
--语句
end if;
end;
if inserting then --插入操作
elsif updating then --修改操作
elsif deleting then
end if;