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 clause in sql?

575


How do I run a pl sql procedure in sql developer?

506


Which is faster subquery or join?

652


What is the difference between pl and sql?

539


What is the purpose of a sql?

519






Lookups are a key component in sql server integration services (ssis). Explain its purpose?

529


What are basic techniques of indexing?

842


how to return query output in html format? : Sql dba

645


Can primary key be changed?

523


What is the use of sqlerrd 3?

517


define sql update statement ? : Sql dba

563


What do you mean by query optimization?

541


how to include comments in sql statements? : Sql dba

540


how can we know the count/number of elements of an array? : Sql dba

568


What is a procedure in pl sql?

541