Welcome,
Guest
. Please
login
or
register
.
September 07, 2010
News:
WebForums - OraclePassport
IT progamming - Oracle, Java, Unix, MySQL, Toad
Oracle PL/SQL Questions
can you tell me the sequence of execution of trigger
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: can you tell me the sequence of execution of trigger (Read 894 times)
vivekmcm
Scout
Appreciate? +0/-0
Offline
Posts: 119
Welcome!
can you tell me the sequence of execution of trigger
«
on:
July 26, 2009 »
Hi
I have one table say test
there are 4 trigger
Before statement trigger
Before rowlevel trigger
After statement trigger
After rowlevel trigger
can you tell me the sequence of execution
iam getting following answer I though this is not right tell me right answer
Before rowlevel trigger
Before statement trigger
After rowlevel trigger
After statement trigger
Report to moderator
Logged
SalemH
Trainee
Appreciate? +0/-0
Offline
Posts: 2
Welcome!
Re: can you tell me the sequence of execution of trigger
«
Reply #1 on:
September 10, 2009 »
Hi,
You cannot specify an execution order of triggers of the same type prior to oracle11G.
But, if you are using oracle11g, you can use the new feature which consists of the FOLLOWS-clause.
For more information, I had published a PL/SQL article (in French) about the sequence of execution on this type of triggers.
Here is the link :
http://salem-houali.developpez.com/tutoriels/oracle/declencheurs-lmd-dans-oracledatabase11g/
Report to moderator
Logged
SalemH
Trainee
Appreciate? +0/-0
Offline
Posts: 2
Welcome!
Re: can you tell me the sequence of execution of trigger
«
Reply #2 on:
September 10, 2009 »
Hi,
If you want only the right order of the execution :
Before statement trigger
Before rowlevel trigger
After rowlevel trigger
After statement trigger
Report to moderator
Logged
Pages:
[
1
]
« previous
next »
Share this topic...
In a forum
(BBCode)
[url=http://www.oraclepassport.com/forums/index.php?topic=364.0]can you tell me the sequence of execution of trigger[/url]
In a site/blog
(HTML)
can you tell me the sequence of execution of trigger
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Powered by SMF 2.0 RC1.2
|
SMF © 2006–2009, Simple Machines LLC
Page created in 0.137 seconds with 17 queries.
Loading...