We can do in all things in store procedure which can be done by trigger. what is more advantage beyond this by using trigger at application level?
This is the main advantage of triggers over procedures is if you want to perform any action on the DML event of any table you should use triggers as you dont need to make a seperate call for your code.
Triggers are fired implicitly where as procedure are called explicitly by procedure name when required.
< please post your comments and reviews on this>
Venugopal Basam
09543457785
Procedure runs only when one call them manually whereas a trigger runs when there is any activity(insert,update,delete) on table on which the trigger is written.
Triggers are fired implicitly where as procedure are called explicitly by procedure name when required.
< please post your comments and reviews on this>
Venugopal Basam
09543457785
No comments:
Post a Comment