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

Please illustrate physical database architecture? : SQL Server Architecture

741


How do I shrink an ldf file?

731


Tell me what is difference between view and materialized view?

695


What is b tree index?

678


What is the parse query button used for?

791






How to retrieve error messages using odbc_errormsg()?

726


What is 5nf in normalization form?

729


What should be the fill factor for indexes created on tables? : sql server database administration

816


What is report snapshot in ssrs?

217


What is the command dbcc checkdb used for?

710


Explain the truncate command?

681


What is the largest component inside a field?

748


What is function of ROLLUP ?

801


What do you think of this implementation? Can this be implemented better?

707


Give main differences between "Truncate" and "Delete".

773