A simple triger.

发表于:2007-05-26来源:作者:点击数: 标签:
A simple script for forbidden insert into scott.emp.
copied from itpub.



content:

 create or replace trigger forbid_insert
 before insert on scott.emp
 for each row
 begin
 raise_application_error(-20000,'Insert Error.');
 end;
 /

原文转自:http://www.ltesting.net