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)
 transactions and UDF

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-12-21 : 09:40:03
tomer writes "Hi all,
first - keep up the good work!
i wrote a simple transaction that runs a few queries.
after every query i check err<>0..
the problem is i use UDF inside the transaction and if there us an error inside the UDF the transaction doesn't rollback. is it a bug?
how can i let the transaction know that there is an error inside the UDF?

Regards

Tom"

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-12-22 : 02:41:44
See if this helps
http://www.sommarskog.se/error-handling-I.html

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -