Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a trigger ?

Answer Posted / kiran

Trigger is a special type of stored procedure which is
implicitely executed when an insert , update or delete
happens on the data.
We dnt have to call trigger explicitely.
For applying some business rules we can fire trigger at
specific type.
Suppose i want a log when user inserts data on a particular
table i can use trigger.

2 types of trigger
1) DML Trigger - Applies on data -
- Instead of and After Trigger
2)DDL Trigger - Applies on database structure - on table or
database - these triggers came with sql server 2005.

Before sql server 2005 we were having only DML Triggers.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to process query result in pl/sql?

1128


What is snowflake sql?

1071


what is difference between delete and truncate commands? : Sql dba

1131


What is the difference between sql, mysql and sql server?

1102


What are the two types of exceptions in pl/sql?

1052


What is a database? Explain

1108


How to disable a trigger name update_salary?

1266


Can I call a procedure inside a function?

1011


What do you understand by pl/sql cursors?

1086


Explain the methods used to protect source code of pl/sql.

1018


What is t sql in sql server?

1074


What is a sql select statement?

1039


what is the syntax used for partition in tsql? : Transact sql

1014


Is mariadb nosql?

1041


Define join and name different types of joins?

1008