Oracle-Trigger-Insert tableA and tableB
2013-10-14 21:24
423 查看
create or replace trigger trg_a after insert
ON a
for each row
begin
INSERT INTO b values(:NEW.ID,:NEW.NAME);
end;
ON a
for each row
begin
INSERT INTO b values(:NEW.ID,:NEW.NAME);
end;
相关文章推荐
- Oracle Trigger :Before,after,each row and table level triggers ORA-04082 ORA-04084
- oracle create tablespaces and create user ---cxl
- oracle create tablespace、user and grant
- DROP TABLE IF EXISTS” in Oracle and SQL Server
- 【Oracle问题集5】ORA-55622: DML, ALTER and CREATE UNIQUE INDEX operations are not allowed on table
- oracle datafile and tablespace
- Oracle Study Note : Tablespace and Data Files
- Oracle Bigfile Tablespace and Smallfile Tablespace
- Oracle create tablespace 、create user and so on
- oracle record and table type
- Before, after, each row and table level triggers [Oracle]
- Oracle:Create tablespace and move table to another tablespace
- oracle自增auto_increment与oracle 创建触发器是非法的 ORA-04098: trigger 'USER_TRIGGER'is invalid and failed re-v
- Oracle RDBMS: Extracting the Table, Index & View Definitions (DDL) and Indexed Columns
- oracle record and table 无需初始化
- ORACLE-基础六(TABLESPACE AND DataFiles)
- There will be decreasing performance of oracle by delete whole table and then insert ...
- oracle drop table and purge
- oracle trigger for table on commit
- Asktom Oracle: Partition table and index .