what is the difference between trigger and storedprocedures

Answer Posted / nancy

BASIC DIFFERENCE IS trigger is automatically executed without an action required by a user where as stored procedure needs to be explicitly invoked...

a database TRIGGER ia a STORED PROCEDURE that is fired when an insert,update or deletestatements is issued against the associate table.a trigger is fired whwn database related event occurs....

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What problem one might face while writing log information to a data-base table in pl/sql?

553


What is rename in sql?

548


what is an execution plan? When would you use it? How would you view the execution plan? : Sql dba

543


Can you have more than one trigger on a table?

530


Is it possible to read/write files to-and-from PL/SQL?

650






What is the command used to fetch the first 5 characters of a string?

704


What are all the different normalizations?

587


What are the types pl/sql code blocks?

609


What are dml commands?

524


What is sql profiling in oracle?

543


What is the difference between having and a where in sql?

570


What is data type in database?

543


What is a sql driver?

524


What is a scalar value in sql?

580


what is a cursor? : Sql dba

552