Answer Posted / debasish sinha
create or replace trigger trg_sun
before insert on <table name>
begin
if rtrim(to_char(sysdate,'day'))=rtrim('sunday') then
raise_application_error(-20345,'no transaction in sunday');
end if;
end trg_sun;
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How do we use distinct statement? What is its use?
What is left inner join in sql?
what is online transaction processing (oltp)? : Sql dba
how many tables will create when we create table, what are they? : Sql dba
What is online transaction processing (oltp)?
How do you modify a table in sql?
What is vector point function?
How do you modify a column in sql?
Explain raise_application_error.
How do I run a query in pl sql developer?
How many types of keys are there in sql?
What are different sql data types?
What is autocommit sql?
1. is it possible to use the cursor atttibutes (%found ,% rowcount , %isopen , %notfound ) to our user defined cursor names ....... cursor cursor_name is select * from scott.emp if you use... cursor_name%found , %rowcount ,%isopen,%notfound...will it work... -------------------------- 2.what is the difference between the varray and index by table .. -------- 3. type type_name is table of number(8,3) index by binary_integer; identifier_name type_name; first , last , prior , next ,trim are the methods we can use it for the above type...simillary is there any way to apply for cursors... with thanks and regards..sarao...
How do I find sql profiler?