触发器使用
来源:互联网 发布:js拖拽事件 编辑:程序博客网 时间:2024/06/03 16:33
create or replace trigger trigger_tablename
before insert or update on tablename
for each row
declare
begin
if inserting then
select sysdate into :new.INSERT from dual;
elsif updating then
select sysdate into :new.update from dual;
end if;
end trigger_tablename;
/
create or replace trigger trigger_tablename
before insert or update on nsdpf.tb_wz_ip
for each row
declare
begin
if inserting then
select sysdate into :new.INSERT from dual;
elsif updating then
select sysdate into :new.update from dual;
end if;
end trigger_tablename;
/
before insert or update on tablename
for each row
declare
begin
if inserting then
select sysdate into :new.INSERT from dual;
elsif updating then
select sysdate into :new.update from dual;
end if;
end trigger_tablename;
/
create or replace trigger trigger_tablename
before insert or update on nsdpf.tb_wz_ip
for each row
declare
begin
if inserting then
select sysdate into :new.INSERT from dual;
elsif updating then
select sysdate into :new.update from dual;
end if;
end trigger_tablename;
/
- 【mysql 触发器】触发器使用
- 触发器使用
- 使用触发器
- 触发器使用
- 触发器使用
- 触发器使用
- WPF – 使用触发器(13) - 触发器
- 积分触发器 mysql 触发器的使用
- Oracle触发器简介、创建、使用触发器
- 使用嵌套触发器
- 替代触发器的使用
- 触发器使用心得
- MySQL触发器的使用
- 首次使用触发器
- MySQL触发器的使用
- 触发器的简单使用
- oracle使用八(触发器)
- SQL2000中的触发器使用
- C++针对一个类的子类进行的特化
- linux 定时器
- 【100题】第三十六 比赛淘汰问题(谷歌笔试)
- 第十周实验报告(一)
- 第十周任务三 多重继承派生类
- 触发器使用
- redis 安装测试
- 获取无论客户端/服务端IP
- java里的值传递
- | 与 || 区别
- iOS App的图标,启动画面及其它
- SQLite3 C/C++ 开发接口简介
- 网站、系统负载高排查总结
- 第十周任务二(派生类的函数定义与应用)