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 language is oracle sql developer?
What is sql analyzer?
how would you enter characters as hex numbers? : Sql dba
Explain the components of sql?
Can a select statement fire a trigger?
Does sql require a server?
How we can create a table in pl/sql block. Insert records into it? Is it possible by some procedure or function? Please give example?
what is bcp? When does it used? : Sql dba
How many columns should be in an index?
Where not exists in sql?
What are the types of join and explain each?
Which is faster union or join?
how to rename an existing table in mysql? : Sql dba
Can a varchar be a primary key?
What is trigger explain with example?