Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I create a trigger on select

Status
Not open for further replies.

huchen

Programmer
Jan 24, 2006
68
0
0
US
Hello,

I want to check if a table(table_a) will be used in next 2 months and who is using it.

Here is what I want to do:

create a trigger on select on table_a
insert into table_log(sysdate, user,sql_text);

But trigger can not be created on select, How can I achieve this?

Thank you
 
All I need is to find out if this table is used at all.
 
Never mind, dbms_fga.add_policy works for me.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top