Answer Posted / rajdeep
create or replace trigger <trigger_name> before insert on <table_name>
begin
if (sysdate,'day') in 'sunday'
then
raise_application_error(-20500,'cannot insert values on sunday');
end if;
end;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the parts of a sql statement?
What is normalization in a database?
Define concurrency control. : Transact sql
How to load data with sql*loader?
What are the two characteristics of a primary key?
How many rows can sqlite handle?
Can we create index on primary key?
What are inbuilt functions in sql?
What are properties of the transaction?
How do you write a subquery?
what is csv? : Sql dba
What are the types of functions in sql?
How do you write an inner join query?
What is the cause of mutating table error and how can we solve it?
Can I learn sql in a week?