Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Execute stored procedure when user connects ?

Re: Execute stored procedure when user connects ?

From: Walter T Rejuney <BlueSax_at_Unforgetable.com>
Date: Fri, 03 Nov 2000 08:27:22 -0500
Message-ID: <3A02BD3A.5B119A6C@Unforgetable.com>

"Jürgen Schneider" wrote:

> Hi,
>
> is it possible to execute a stored procedure when a user connects to a
> Oracle database. Is there something like a startup script that can be
> edited.
>
> Thanks,
>
> // Juergen

Create or Replace Trigger trg_after_logon After Logon On Database
Begin

        raise_application_error(-20101,"Goodbye Cruel World"); End;

Although probably would not recommend that you actually use my example until you thoroughly understand what it would do. Received on Fri Nov 03 2000 - 07:27:22 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US