what is the difference between trigger and storedprocedures

Answer Posted / nandkumar

There are bascis 3 difference between them
1> trigger invokes implicitly while we need to invoke
procedure explicitly.
2> We cant pass values from user to trigger but we can pass
values into procedure.
3> Trigger cant return value procedure can return value.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a database and a relational database?

770


How to Execute a Package in PL/SQL.?

807


what is the stuff function and how does it differ from the replace function? : Sql dba

788


What is view explain with example?

688


What is the most common sql injection tool?

742






What is exit statement?

746


Is it possible to remove child records without removing master table records...the two having pk,fk relationship?

1000


What is a sql*loader control file?

792


What does select * from mean in sql?

2549


Can a trigger call a stored procedure?

750


What is the difference between view and stored procedure?

693


Can we update views in sql?

686


how many tables will create when we create table, what are they? : Sql dba

768


What is an index in sql with example?

714


What are the dml statements?

856