how to give permission to users that users can
update/insert/delete on a row of table on timeing 10am to
6pm only?
Answer Posted / kart
create or replace trigger trig_aone
before insert or update or delete on aone
for each row
begin
if to_char(sysdate,'HH24') not between (9) and (18) then
raise_application_error('-20011','u cant update in business
time');
end if;
end;
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
which command using query analyzer will give you the version of sql server and operating system? : Sql dba
How many databases can sql express handle?
what are integrity rules?
What are operators available in sql?
Can we alter stored procedure?
define sql insert statement ? : Sql dba
Which join is like an inner join?
List the ways to get the count of records in a table?
What is difference between stored procedures and application procedures?
what is column? : Sql dba
What is oracle sql called?
What is data definition language?
What is the importance of sqlcode and sqlerrm?
Is sql developer case sensitive?
Is a table valued function object?