What is the difference between database trigger and stored procedure?
Answer / 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 |
How global cursor can be declare with dynamic trigger ?
what is sql.
What is linq to sql?
How do I remove sql plus from windows 10?
how many triggers are allowed in mysql table? : Sql dba
How the execution will be done in exceptions?
What is the difference between SQL Constraint and PL/SQL constraint.Pls give all the constraint name.
What are properties of the transaction?
What is scope of pl sql developer in future?
Does varchar need length?
What is the difference between delete and truncate commands?
What do you mean by stored procedures? How do we use it?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)