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

what is the purpose of update panel control in ajax?

2 Answers   CSC,


.net allows which inheritence

6 Answers   AG Technologies, Samcomm,


What is inheritance and an how it be used, example with an example?

0 Answers   Siebel,


can we transfer data from one page to another page using viewstate if so how?if not y?

1 Answers   Patni,


Which method do you invoke on the DataAdapter control to load your generated dataset with data?

2 Answers  






What are the types of authentication in asp.net?

0 Answers  


What is machine.config and web.config ?

5 Answers   Digital GlobalSoft,


Difference between abstract factory pattern and factory method pattern in .NET with example.

3 Answers   ACS, IBM, Keane India Ltd,


Define xmlreader class.

0 Answers  


all asp.net interives questions

1 Answers  


How to send auto matic emails based on scheduled tasks to several of my clients

6 Answers  


What are the events that happen when a client requests an asp.net page from iis server?

0 Answers  


Categories