explain store procedure and trigger

Answers were Sorted based on User's Feedback



explain store procedure and trigger..

Answer / deepak baldia

A stored procedure is a set of SQL commands that has been
compiled and stored on the database server.

A trigger is a special kind of stored procedure that is
invoked whenever an attempt is made to modify the data in
the table it protects. Modifications to the table are made
using INSERT,UPDATE,OR DELETE statements.

Is This Answer Correct ?    7 Yes 0 No

explain store procedure and trigger..

Answer / michael jerold

sp means to execute set of quries in single sp.and we can
call manually.


Trigger means dml operation happens the event will fire
automatically. we can not call manually.

Is This Answer Correct ?    2 Yes 0 No

explain store procedure and trigger..

Answer / vim@l katiyar

stored procedure is collection of sql query/command.it is database object.it stored in databse and uses for validation data and data access from data source. but it has some disadvantage like this .if more than one SP uses same server .
server performance down and once create and use many times.

trigger is sql procedure that initiates action when database modification query perform.it is automatically create .it is not executed like stored procedure .it is also execute stored procedure . when data modification sql command executed then action performed by trigger

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Differentiate the session object and application object?

0 Answers  


How can we prevent browser from caching an aspx page?

0 Answers  


What is SilverLight in ASP.NET ?

2 Answers   SmartData,


How can you debug an ASP page, without touching the code?

1 Answers   Prodigy Technologies,


explain store procedure and trigger

3 Answers  






What’s the difference between response .redirect and server.transfer?

0 Answers  


Why we use content place holder in asp.net?

0 Answers  


How would you turn off cookies on a page of a website?

0 Answers  


i wand basic interview based questions in asp.net and vb.net

0 Answers   Legio Infotech,


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

0 Answers  


what is asp and asp.net ?

2 Answers   Inspira Technologies,


How you can use video conferencing in asp.net? guys plz help me ...

2 Answers  


Categories