explain store procedure and trigger

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are ASHX files?

786


What are the HTML server controls in ASP.NET?

794


What is the good practice to implement validations in aspx page?

832


Explain the different parts that constitute ASP.NET application?

750


What is the difference between page directive include and action tag include?

699


Which object encapsulates state or data of a user?

814


what is command line compiler.what are the steps and how it is related to debugging.

1605


When we use cookie less session? Explain its working?

750


What is the life cycle of web page?

716


How is it possible for .NET to support many languages?

480


What is the use of HttpHandlers? When to use this?

814


What is data binding in asp net?

789


Why do we need asp.net?

766


Disable browser cache for entire ASP.NET website?

862


Less than one page, how many windows will you be able to maintain?

756