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

Can you load data into multiple tables at once? : aql loader

1074


Why do we create stored procedures & functions in pl/sql and how are they different?

953


what is primary key? : Sql dba

1035


What mean sql?

1016


What is dbo in sql?

976


What is acid property in a database?

1036


what is bcp? When does it used? : Sql dba

995


What is cost in sql execution plan?

990


Why select is used in sql?

1023


Can we write dml inside a function in sql server?

959


How global cursor can be declare with dynamic trigger ?

2215


What are the two parts of design view?

1020


How do you take the union of two tables in sql?

989


what are the advantages and disadvantages of cascading style sheets? : Sql dba

1064


What is dense_rank in sql?

992