adspace
What is the difference between execution of triggers and stored procedures?
Answer Posted / Shobhit Rastogi
Stored Procedures are user-defined program units, which can contain SQL statements, PL/SQL blocks or other procedural code. They can be called explicitly by the application when needed. On the other hand, Triggers are automatically executed by the database server in response to specific events such as INSERT, UPDATE or DELETE on a table or view. Stored Procedures run at a user's request, while Triggers run in response to database actions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
what are the advantages of sql ? : Sql dba
how many tables will create when we create table, what are they? : Sql dba
how to escape special characters in sql statements? : Sql dba
What is the current version of postgresql?
what is bcp? When does it used? : Sql dba
what is schema? : Sql dba
Is primary key always clustered index?
how to use regular expression in pattern match conditions? : Sql dba
define sql insert statement ? : Sql dba
Is inner join faster than left join?
How do I remove duplicates in two columns?
What is the best sql course?
how to start mysql server? : Sql dba
What is your daily office routine?