Professional Documents
Culture Documents
com
Try It / Solve It
1. What are triggers commonly used for in a database?
DDL statements
1. A trigger runs automatically when the event is fired. A stored procedure is executed
manually or from a caller application.
2. Within a trigger you can call stored procedures but you cannot call a trigger from a stored
procedure.
3. A trigger executes implicitly whereas a stored procedure is executed via a procedure call
from another block.
4. We can call a stored procedure from front end (.asp files, .aspx files, .ascx files etc.) but
we can't call a trigger.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.