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

List some of the important session state modes of asp.net.

0 Answers  


Can we set which type of comparison we want to perform by the CompareValidator control?

0 Answers   MindCracker,


Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

0 Answers   Siebel Systems,


Is asp.net and .net are same or different?

0 Answers  


Explain significance of routing? : asp.net mvc

0 Answers  






what are the web form events available in asp.net?

0 Answers  


How can we Maintain more than on config file in one .Net web application and how?

1 Answers   USi,


In what languages in ASP written?

4 Answers   Microsoft,


Types of object in asp ?

1 Answers   Accenture,


What are the ways to sending the data in ASP.NET page?

0 Answers  


What's the use of formatters in .net?

0 Answers  


what are the components available in global.asax ?

1 Answers  


Categories