Answer Posted / kishore
yes........
create or replace trigger emp_biu
before insert or update on employee
referencing new as new old as old
for each row
begin
if nvl(:new.salary,0) >= 10000 then
raise_application_error (-20999,'Salary with
commissions should be less than 10000');
end if;
end;
/
| Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
what are the security recommendations while using mysql? : Sql dba
Is it possible to remove child records without removing master table records...the two having pk,fk relationship?
is mysql query is case sensitive? : Sql dba
What is a trigger word?
How would you reference column values before and after you have inserted and deleted triggers?
how to shut down the server with 'mysqladmin'? : Sql dba
Which table is left in join?
Why is sql better than hql?
How does a covering index work?
Give the order of sql select?
Explain foreign key in sql?
What is a relationship and what are they?
Inline the values in PL/SQL, what does it mean.?
what is a join? : Sql dba
What is the difference between microsoft access and sql server?