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

Home -> Community -> Usenet -> c.d.o.server -> Re: Trigger AND CREATE USER (dynamic SQL)

Re: Trigger AND CREATE USER (dynamic SQL)

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Sat, 20 Jan 2001 10:04:22 -0000
Message-ID: <979984968.28144.1.nnrp-09.9e984b29@news.demon.co.uk>

You can use an autonomous transaction,
but it is not a good idea - what if the user is created but the trigger fails for some other reason.

If you can face a delay, use the trigger to post dbms_job to call a procedure to do
the job.

--
Jonathan Lewis
Yet another Oracle-related web site:  http://www.jlcomp.demon.co.uk

Practical Oracle 8i:  Building Efficient Databases

Publishers:  Addison-Wesley
See a first review at:
http://www.ixora.com.au/resources/index.htm#practical_8i
More reviews at: http://www.jlcomp.demon.co.uk/book_rev.html



Manuel wrote in message <3A605F55.EB4BDC09_at_airtel.net>...

>I'm use Oracle 8.
>I need create a new user when a trigger run.
>Can someone help me?
>
>RE to:
>manuelbaena_at_airtel.net
>
>
Received on Sat Jan 20 2001 - 04:04:22 CST

Original text of this message

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