Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Triggers calling Stored Procedures

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-04-08 : 09:52:12
Lou writes "Is there any performance advantage to writing my custom business logic code in a stored procedure and then passing variables from a table trigger to the stored proc, instead of just writing it all in a trigger.

Thanks,
Lou"

Nazim
A custom title

1408 Posts

Posted - 2002-04-08 : 10:04:34
It can help you to reuse your code and may even assist you in easier debugging. on performance issues, i think it will add a slight overhead of calling the sp and returning back.

HTH

--------------------------------------------------------------
Go to Top of Page
   

- Advertisement -