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 / hari
We have to create trigger
create trigger trg_name
before insert/delete/update on table
when sysdate between 10am to 6pm
begin
logic
end;
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints
is mysql query is case sensitive? : Sql dba
Does inner join remove duplicates?
How do I write a cron which will run a sql query and mail the results to agroup?
What is a left join?
Does a user_objects view have an entry for a trigger?
What is primary key and foreign key?
what are all the different types of indexes? : Sql dba
how to convert dates to character strings? : Sql dba
How many rows can sqlite handle?
What are reports usually used for?
Why do we use joins?
What is native sql query?
Is foreign key mandatory?
how to get a list of all tables in a database? : Sql dba