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 TRIGGERS IN SQL? AND WHAT IS THE BENIFIT?

Answer Posted / rami reddy.k

Triggers are the system generated events.
for example,
u have a table emp,in tat u can create a trigger which will
be activated if anyone performs any action such as insert,
update, delete on tat table.In tat trigger u can write code
which copies the updated info into another table.

A trigger is a stored procedure that goes into effect when
you insert, delete, or update data in a table. You can use
triggers to perform a number of automatic actions, such as
cascading changes through related tables, enforcing column
restrictions, comparing the results of data modifications,
and maintaining the referential integrity of data across a
database.

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to list all user names in a database?

1090


What are a scheduled jobs or what is a scheduled tasks?

944


What are the differences in Clustering in SQL Server 2005 and 2008 or 2008 R2?

1100


What are the different types of data sources in ssrs?

202


How to create a new login name in ms sql server?

1106


Can we do dml on views?

1015


What do you understand by a stored procedure?

1150


What is command parameter in ssrs?

166


What is the syntax for encrypting a column in SQL Server?

1172


What is difference between equi join and natural join?

1118


What is normalization process?

1235


Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?

935


List few advantages of stored procedure.

1026


Explain data warehousing in sql server?

1091


Write an SQL query to obtain the 2nd highest salary.

1123