what is the difference between trigger and storedprocedures

Answer Posted / srikanth

Trigger will fire when the condition arises but the stored
procedure will execute when the user or main programme
wants its need.

triggers can't accept parameters from users whereas stored
procedures can accept parameters from users.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to include numeric values in sql statements? : Sql dba

782


Explain ddl statements in pl/sql?

749


What is the execution plan in sql?

777


how to enter binary numbers in sql statements? : Sql dba

716


explain advantages of innodb over myisam. : Sql dba

842


What is primary and foreign key?

823


What is dba in sql? : SQL DBA

766


how to enter numeric values as hex numbers? : Sql dba

782


what are ddl statements in mysql? : Sql dba

788


Show the cursor attributes of pl/sql.

787


Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.

775


Which is faster truncate or drop?

793


What is the size of partition table?

752


describe mysql connection using mysql binary. : Sql dba

762


Is sql an operating system?

730