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 / subbarayudu

A Trigger is a block of code,fired whenever data in the underlying table is affected by any of the Data Manipulation Language (DML) statements -INSERT,UPDATE,OR DELETE.

whenever trigger fires,two special tables are created-
1.insert table 2.Delete table.

1.inserted table contains copy of all records that are insetred in the trigger table.
2.deleted table contains all records that have been deleted from trigger table.this table is used to refer old values.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lookup override?

1019


How except clause is differs from not in clause?

945


How to connect of datebase with sql express.?

1092


How to connect to a sql server using odbc_connect()?

1137


Why Master database is required?

1122


What type of Index will get created after executing the above statement?

1088


How do you check sql server is up and running?

981


What happens if an integer is too big for int date type?

963


How to locate and take substrings with charindex() and substring() functions?

1005


Is it possible in sql table to have more than one foreign key?

1020


What is the use of stored procedure?

928


How to make a remote connection in a database?

962


can you implement data mining in SSRS?

146


What is the Disadvantage of indexed sequential file.

1072


What is the use of builtinadministrators group in sql server? : sql server security

1032