how many triggers we can create on a table
Answers were Sorted based on User's Feedback
Answer / karthikeyan.v
You can create a maximum of 12 triggers on a table
3*2*2=12
insert/delete/update3
before/after2
row/statement-2
| Is This Answer Correct ? | 95 Yes | 13 No |
Answer / karthik
Hi Aurobinda and Karthikeyan,
see all says the same answer which is NOT right.u can hv
many number of triggers ina table but the COMBINATIONS U
CAN MAKE can be 12 only(karthikeyan ur partly rit)
ex: i can hv before insert on each row trigger 5 times ina
table it means this itself its a 5 trigger but the
combination can be 12 only.
| Is This Answer Correct ? | 57 Yes | 3 No |
Answer / ash
Limited by resources.
12 types as above. each type is limited by resources.
| Is This Answer Correct ? | 16 Yes | 11 No |
Answer / sumedh tayade
Maximum 12 Trigger can be applied on a single table.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / samir
You can have 1 each INSTEAD OF trigger for INSERT, UPDATE,
and DELETE.
You can have as many AFTER triggers as you want up to the
limit of the total maximum number of SQL Server objects.
Within AFTER triggers, you can have only 1 FIRST and 1 LAST
trigger for INSERT, UPDATE, and DELETE.
This information is available in Books Online
under "Triggers".
| Is This Answer Correct ? | 5 Yes | 6 No |
Answer / mohit74
acc. to me only 12 trigger combination is there but we can
have more then 12 triggers on table
and the ppl talking abt instead of trigger----guys instead
of trigger is for view not for table so dont get confused.
| Is This Answer Correct ? | 7 Yes | 8 No |
Youre getting high busy buffer waits - how can you find whats causing it?
Explain the dml?
how can get like this result table A col1 col2 --- ----- a A b B C C .. .. .. ... .. ... wants result like for a single column col1 ------ a,b,c,........n of data and another is col1 ------- A B C D ........ a b b d ........
Please HELP me its urgent? If i want to EXPORT data from SQL server to ORACLE 11g then how can I replicate data from SQL to ORACLE?
How to invoke the original export import utilities?
I am using an Oracle 8i Database my data contains Clob data. I am using toad version 7.6 i am able to get the data in toad but unable to extract the data in excel.when trying to extract the data into the excel the toad error says out of memory. Can any body please help me to extract the data through the same toad version. Thanks in advance
What are Clusters ?
How to omit columns with default values in insert statement in oracle?
Why we choose emp number as primarykey?
create or replace procedure show_tab_rec ( P_tab VARCHAR2 ) IS cmd varchar2(50); begin cmd := 'select * from '|| P_tab; for int in ( execute immediate cmd ) loop dbms_output.put_line ( int.ename||' '||int.deptno); end loop; end; when i m compling this procedure i m getting this error PLS-00103: Encountered the symbol "IMMEDIATE" when expecting one of the following: . ( ) , * @ % & | = - + < / > at in is mod remainder not range rem => .. <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_ LIKE4_ LIKEC_ between || multiset member SUBMULTISET_ PLZ solve this error give this question answer asap Thanks advance.......
How to update values on multiple rows in oracle?
What is the difference between Sleep and Wait? (Java)