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...


wat is mean by trigger?.......normally wat use......when
trigger used in sql...........
plz cleary say with example.......

Answers were Sorted based on User's Feedback



wat is mean by trigger?.......normally wat use......when trigger used in sql........... plz cleary..

Answer / vimal p.s

A trigger is a SQL procedure that initiates an action when
an event (INSERT, DELETE or UPDATE) occurs. Triggers are
stored in and managed by the DBMS.Triggers are used to
maintain the referential integrity of data by changing the
data in a systematic fashion. A trigger cannot be called or
executed; the DBMS automatically fires the trigger as a
result of a data modification to the associated table.
Triggers can be viewed as similar to stored procedures in
that both consist of procedural logic that is stored at the
database level. Stored procedures, however, are not event-
drive and are not attached to a specific table as triggers
are. Stored procedures are explicitly executed by invoking
a CALL to the procedure while triggers are implicitly
executed. In addition, triggers can also execute stored
procedures.

Is This Answer Correct ?    15 Yes 1 No

wat is mean by trigger?.......normally wat use......when trigger used in sql........... plz cleary..

Answer / radhakrishnan vaithilingam

Def Trigger : bascially trigger means "activate or generate
or fire".if we touch any column automaticcaly some event
accure in database.
use :
1) if update or insert or delete more than one table we can
use this concept.
2) trigger reduce coding error and reduce wrong action
3) we can trace the system login or logoff inforamtion.
this is system trigger.

example :
1) bank account
if we retrive the money from ATM. the money automatically
reduced from your account immediate.
2) fire alarm

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More SQL Server Interview Questions

Explain what are various ways to enhance the ssrs report?

0 Answers  


How to get max 100 values from sql server

7 Answers  


Is it possible to create tables in stored procedures using a variable for the table name?

2 Answers  


wat new abt truncate in sql server

2 Answers   HCL, HP,


In which files does sql server actually store data?

0 Answers  


Issues related in upgrading SQL Server 2000 to 2005 / 2008

0 Answers  


how can do you the system monitoring?

1 Answers  


Write a SQL query to delete a table?

0 Answers   Amdocs,


How to create dbo table in sql server?

0 Answers  


How to find out name of all employees who has salary less than 200 Rs.?

8 Answers  


How can you set the threshold at which sql server will generate keysets asynchronously?

0 Answers  


what is the Surrogate key?and wt is the diff between Primary key and Surrogate Key?

2 Answers  


Categories