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 |
List some of the important session state modes of asp.net.
Can we set which type of comparison we want to perform by the CompareValidator control?
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
Is asp.net and .net are same or different?
Explain significance of routing? : asp.net mvc
what are the web form events available in asp.net?
How can we Maintain more than on config file in one .Net web application and how?
In what languages in ASP written?
Types of object in asp ?
What are the ways to sending the data in ASP.NET page?
What's the use of formatters in .net?
what are the components available in global.asax ?