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 is a primary key called that is made up of more than one field?
What are the various levels of constraints?
Is primary key an index?
What is composite data type in pl sql?
Can you rollback after commit?
What steps server process has to take to execute an update statement?
What is server name sql?
What is fmtonly in sql?
If the application is running very slow? At what points you need to go about the database in order to improve the performance?
What is procedure and function?
What is a system versioned table?
What is a trigger in sql?
what is view? : Sql dba
how many sql ddl commands are supported by 'mysql'? : Sql dba
What is sql and db2?