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 is an example of translating a date into julian format?
How many types of index are there?
Is sql a microsoft product?
Can we call a function containing dml statements in a select query?
Can you sum a count in sql?
Enlist the characteristics of pl/sql?
What does count (*) do in sql?
How do you explain an index number?
Is sql microsoft?
how to include character strings in sql statements? : Sql dba
How many indexes can be created on a table in sql?
Enlist some predefined exceptions?
What is trigger types of trigger?
How to display Row Number with Records in Oracle SQL Plus?
Can you inner join the same table?