What is difference between Triggers and store procedure?

Answer Posted / sivasiva

Triggers:
Triggers create event that event pass the value for
insert,update delete automatically updated value for the
table.triggers are event driven sepecified procedure.store
and managed by DBMS.automatically fires the value.

Store procedure:
Fast Accesing.Reduse network traffic.sepatre businees rules
and logic from presentation layer

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the types of recovery model available in sql server?

501


What are “unrepeatable reads”?

738


What are different types of replication in sql server?

566


When would you use the stored procedures or functions?

574


How to replace the Query Result 'Null Value' with a text ?

562






What is @@rowcount in sql?

554


What is the use of commit?

540


What is the difference between an index and a unique index?

544


Can you explain what is the use of custom fields in report?

597


How to add a new dsn with the odbc driver for sql server?

547


What is raiseerror? What is raiseerror?

639


What does the not null constraint do?

575


what is a self join? Explain it with an example? : Sql server database administration

495


How to insert multiple rows with one insert statement in ms sql server?

582


How to delete an existing row with delete statements in ms sql server?

548