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

Is sql a dbms?

1060


What is rowid in sql?

1054


What are triggers and its uses?

1095


what is the difference between truncate and delete statement? : Transact sql

1117


what are the differences among rownum, rank and dense_rank? : Sql dba

1086


What is equi join in sql?

1118


What is sap sql?

1029


Does pl/sql support create command?

1168


What kind of join is join?

1009


what is a composite key ? : Sql dba

1101


When do we use triggers?

1146


How do I view a table in sql?

1040


What are the conditions an underlying table must satisfy before a cursor can be used by a positioned update or delete statement? : Transact sql

1057


What is the location of pre_defined_functions.

1208


What is Difference Between Unique and Primary Key Constraints?

1153