what is the difference between trigger and storedprocedures

Answer Posted / sohail

Trigger and procedures are same but the substantial
difference is when they run.procedure is invoked explicitly
by the user and trigger is executed implicitly. another
diffrence is procedure cannot have the same name as table
name,funtion name or package name but trigger can have same
name as table name or procedure name.

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of <> sql?

738


What is lexical units in pl sql?

754


What is the purpose of cursors in pl/sql?

798


What is data types in sql?

704


what is auto increment? : Sql dba

742






What is a sql profiler?

770


Can we create a trigger on view?

666


Define concurrency control. : Transact sql

788


What is serial sql?

699


Can delete statement be rollbacked?

728


what is data integrity? : Sql dba

775


Explain normalization and what are the advantages of it?

692


Is null operator in sql?

792


what is a table called, if it has neither cluster nor non-cluster index? What is it used for? : Sql dba

711


What types of commands can be executed in sql*plus?

762