explain store procedure and trigger
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Differentiate the session object and application object?
How can we prevent browser from caching an aspx page?
What is SilverLight in ASP.NET ?
How can you debug an ASP page, without touching the code?
1 Answers Prodigy Technologies,
explain store procedure and trigger
What’s the difference between response .redirect and server.transfer?
Why we use content place holder in asp.net?
How would you turn off cookies on a page of a website?
i wand basic interview based questions in asp.net and vb.net
What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
what is asp and asp.net ?
2 Answers Inspira Technologies,
How you can use video conferencing in asp.net? guys plz help me ...