Environment information:
* Oracle version: 10.2.0.3.0
* Operating system: Windows Server
Personal, good afternoon.
with a cruel doubt, but, I never came across the situation and, as I was asked, I decided to pass on to the experts here:
:
I have 07 triggers on a table.
Doubt:
What are the sight of these triggers, assuming two of them (or more), are Before Insert?
Is the creation order of the trigger? How does the bank interpret this situation?
Thank you very much.
Triggers Sequence
-
- Moderador
- Posts: 2016
- Joined: Wed, 12 Jan 2005 3:25 pm
- Location: Araraquara - SP
Abraço,
Trevisolli
OCA Oracle PL/SQL Developer Certified Associate
OCP Oracle Forms Developer Certified Professional
Araraquara-SP
Trevisolli
OCA Oracle PL/SQL Developer Certified Associate
OCP Oracle Forms Developer Certified Professional
Araraquara-SP
-
- Rank: DBA Sênior
- Posts: 372
- Joined: Tue, 24 Jan 2006 3:33 pm
- Location: Palmas - TO
- Contact:
Boy, Good Question! rs rs
So far I have not had this need, to know the sequence of triggers.
But the documentation is very good:
Running of triggers: http://download.oracle.com/docs/cd/B193 ... m#CNCPT418
Order: http://download.oracle.com/docs/cd/B193 ... sthref1179
Update:
Not to be without a complete response:
So far I have not had this need, to know the sequence of triggers.
But the documentation is very good:
Running of triggers: http://download.oracle.com/docs/cd/B193 ... m#CNCPT418
Order: http://download.oracle.com/docs/cd/B193 ... sthref1179
Update:
Not to be without a complete response:
Gilberto
Oracle Fires Multiple Triggers in An Unspecified, Random Order, IF More Than One Trigger Of The Same Type Exists Given Statement; That is, Triggers of the Same Type for the Same Statement ARE NOT LEARANTED TO FIRE IN ANY SPECIFIC ORDER .
Last edited by gilbertoca on Thu, 24 Jul 2008 11:31 am, edited 1 time in total.
-
- Moderador
- Posts: 2016
- Joined: Wed, 12 Jan 2005 3:25 pm
- Location: Araraquara - SP
Abraço,
Trevisolli
OCA Oracle PL/SQL Developer Certified Associate
OCP Oracle Forms Developer Certified Professional
Araraquara-SP
Trevisolli
OCA Oracle PL/SQL Developer Certified Associate
OCP Oracle Forms Developer Certified Professional
Araraquara-SP
Thanks again Gilberto.
Ball show the link.
Ball show the link.
- dr_gori
- Moderador
- Posts: 5026
- Joined: Mon, 03 May 2004 3:08 pm
- Location: Portland, OR USA
- Contact:
Thomas F. G
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
From Oracle 11g it has to define the order of execution of the triggers: http://glufke.net/2009/05/14/execucao-o ... oracle11g/
: -O
: -O
- dr_gori
- Moderador
- Posts: 5026
- Joined: Mon, 03 May 2004 3:08 pm
- Location: Portland, OR USA
- Contact:
Thomas F. G
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered
If you are using the order in the execution of the triggers, you can consult through this query:
select
trigger_owner,
trigger_name,
referenced_trigger_owner,
referenced_trigger_name,
ordering_type
from
dba_trigger_ordering;
-
- Information
-
Who is online
Users browsing this forum: Bing [Bot] and 1 guest