adspace
What is the difference between database trigger and stored procedure?
Answer Posted / Muneesh Kumar
A stored procedure is a prepared SQL code that you can save, execute, and reuse within your Oracle Database. It encapsulates logic to perform a specific task. On the other hand, a trigger is a special type of stored procedure that automatically executes in response to certain events (such as insert, update, or delete) on a particular table. In summary, stored procedures are user-defined functions called explicitly, while triggers are automatically executed by the database.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is dbms? : Sql dba
what is schema? : Sql dba
how to escape special characters in sql statements? : Sql dba
what are the advantages of sql ? : Sql dba
Can we use distinct and group by together?
what is sql server agent? : Sql dba
What is the current version of postgresql?
Do we need to rebuild index after truncate?
If a cursor is open, how can we find in a pl/sql block?
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
how many tables will create when we create table, what are they? : Sql dba
Is primary key always clustered index?
What is your daily office routine?
what is collation? : Sql dba
what are aggregate and scalar functions? : Sql dba