what is the difference between trigger and storedprocedures

Answer Posted / satish kumar

stored procedure are collections of T-sql statements and
they are pre complied staements,it not requiers any
complitation.

trigger are not pre complied statements , and they are
going to activate only when certain action takes place like
insert , update, delete,

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain select statements in sql?

757


what is a cursor? : Sql dba

745


how to use regular expression in pattern match conditions? : Sql dba

730


What is orm in sql?

721


what is acid property in database? : Sql dba

745






How many row comparison operators are used while working with a subquery?

753


What is sql key?

687


What is cost in sql execution plan?

683


Does sql*plus also have a pl/sql engine?

759


What is an example of translating a date into julian format?

773


What is the use of sqlerrd 3?

680


What do you mean by stored procedures?

732


Define implicit and explicit cursors.

807


Mention what does plv msg allows you to do?

853


What is difference between stored function and application function?

760