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 |
How to call a stored procedure inside a trigger? Give an example.
Which is better Oracle or MS SQL? Why?
how to get count of tables in particular database in Oracle?
What is the difference between RBBMS & DBMS?
How do I uninstall oracle client from windows?
What is a trigger and what are its types?
How to write an inner join with the where clause in oracle?
What do you understand by database schema and what does it hold?
what r routers?
What are the attributes of cursor?
what is the difference between rollback & commit? can a foreign key has null value?
How do you recover a datafile that has not been physically been backed up since its creation and has been deleted. Provide syntax example.