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
How to fetch alternate records from a table?
what are the properties and different types of sub-queries? : Sql dba
What is difference between sql and excel?
Does google use sql?
What is cte?
What is pivot query?
Is primary key clustered or nonclustered?
what is 'mysqlcheck'? : Sql dba
Is primary key clustered index?
What is the difference between pl and sql?
Is big data nosql?
What is the difference between jpql and sql?
Is sql harder than python?
What is difference between db2 and sql?
How is a process of pl/sql compiled?