欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

oracle简单触发器实例讲解

程序员文章站 2024-01-04 20:19:58
oracle简单触发器实例讲解 create or replace trigger trg_envparking before insert on app_env...

oracle简单触发器实例讲解

create   or   replace   trigger   trg_envparking 
before   insert   on   app_envparking 
for   each   row 
begin 
select   seq_envparking.nextval   into   :new.incid   from   dual; 
select   sysdate   into   :new.constdate   from   dual;
select   sysdate   into   :new.updatedate   from   dual;
end; 

oracle简单触发器实例讲解

上一篇:

下一篇: