RE: Can we create trigger on SELECT statement? If we c...
Hello
No its Possible to have a DDL commands in a Trigger but this has been included from Oracle 8i version prior to this you can only have DML Commands placed inside the Trigger Block.
As far as Select is concerned there is no good reason to prohibit the user or put constraints while viewing the data and if so the views are used for very well that purpose only.
RE: Can we create trigger on SELECT statement? If we c...
Yes we can create trigger like functionality on select statement like which user has select which table and most importantly what sql query issued by using dbms_fga built in package. just check it out.
RE: Can we create trigger on SELECT statement? If we c...
Hello
Someone has given answer that use dbms_fga but it's not a write answer becoz it's used for keeping the track which user has applied select operation on table.
It's one king of policy that is used for security purpose.
RE: Can we create trigger on SELECT statement? If we c...
We can create trigger on DML DDL transaction but it is not possible to create on Select statement one point we can create triggers on database system events like logon shutdown also