Online Hibernate Training just in Rs. 1000

One week online training in Hibernate ORM framework. Learn Hibernate Framework and enhance your skills. Best Online Hibernate training at 90% discount. Join Now!! Offer is valid Only for limited Period!!! Online Training Big Data and Hadoop Training Java Training  

What is Trigger?



Share on Google+Share on Google+

hemant kumar
What is Trigger?
1 Answer(s)      6 years and 9 months ago
Posted in : SQL

What is Trigger?

View Answers

November 18, 2010 at 1:13 PM


A trigger is a special kind of stored procedure that automatically executes when an event occurs in the database server.The event can be any event including INSERT, UPDATE and DELETE. The difference between a trigger and a stored procedure is that a trigger is activated or called when an event happens in a database table, a stored procedure must be called explicitly.

For example you can have some business logic to do before or after inserting a new record in a database table.



Related Tutorials/Questions & Answers: