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
Is record in oracle pl sql?
What is a natural join?
What is an inconsistent dependency?
What do you understand by exception handling in pl/sql?
how to add a new column to an existing table in mysql? : Sql dba
What is percent sign in sql?
Why do we use cursors?
Cite the differences between execution of triggers and stored procedures?
What is cte sql?
What is numeric function sql?
How do you write a subquery?
what are date and time intervals? : Sql dba
What is sql profiling in oracle?
What is the difference between a primary key and a unique key?
Is nosql relational?