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 process query result in pl/sql?

566


Mention what is the use of function "module procedure" in pl/sql?

577


What are the most important ddl statements in sql?

581


which operator is used in query for pattern matching? : Sql dba

549


How do I delete a trigger?

547






Is delete faster than truncate?

555


What are sql triggers used for?

515


what is “go” in t-sql? : Transact sql

606


Define SQL and state the differences between SQL and other conventional programming Languages?

692


Does sql support programming?

557


What is mutating sql table?

613


What is rename in sql?

556


how many ways to get the current time? : Sql dba

530


What is a subquery in sql?

513


Explain commit, rollback and savepoint.

609