|
When a user connects to an Oracle database, is there any way to force him to execute a script/stored procedure/function/statement/thing?
(comments are locked)
|
|
There is a system level AFTER LOGON ON DATABASE trigger that can be incorporated into your database code. The trigger is executed after the user logon is processed. A trigger body can contain PL/SQL code. Inside the trigger you have access to the username via sys_context so you can conditionally execute code if you desire. Oracle 10g Documentation here Here is a basic example: Thank you. After I posted the note, I kept digging and found security policies, which might also help us accomplish what we're looking for.
Dec 01 '09 at 02:21 PM
KillerDBA
(comments are locked)
|

