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

How do I audit the sql sent to the server?

524


how do you know if your mysql server is alive? : Sql dba

596


what are the different type of normalization? : Sql dba

555


how to create a new table in mysql? : Sql dba

548


What is lexical units in pl sql?

571






Does view store data in sql?

535


what is the different between now() and current_date()? : Sql dba

526


Explain the difference between 'between' & 'and' operators in sql

529


how to create a table index in mysql? : Sql dba

597


What is cartesian join in sql?

559


How can check sql version from command line?

536


Can we perform dml in function?

595


How many unique keys can a table have?

557


How to assign sql query results to pl sql variables?

511


How do you sort in sql?

603