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 |
What is the maximum length of textbox
In early binding will the method invoked on com component will verify it?s existance in the system or not ?
What are the different method of navigation in asp.net?
WHAT IS polymorphism
How is it possible for .NET to support many languages?
How do you declare static variable? What is its lifetime?
what is state management,what is the purpose of it,how it will be implemented in real time?
What is preprocessor in .net and type, where it use?
How does viewstate work?
What is aspect-oriented programming?
can we pass values from one page to another page without redirecting to that page?
6 Answers Google, Patni, Syntel, Wipro,
what is uncle aunty file
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)