Distributed Transactions in SQL Server 2005

Posted by AJM on Stack Overflow See other posts from Stack Overflow or by AJM
Published on 2010-04-15T10:13:49Z Indexed on 2010/04/15 10:23 UTC
Read the original article Hit count: 349

Filed under:
|

As part of a transaction I’m modifying rows in tables via a server link, so have to specify “SET XACT_ABORT ON” in my sproc otherwise it won’t execute. Now I’m noticing that SCOPE_IDENTITY() is returning NULL, which is presumably something to do with the distributed transaction scope?

Does anyone know why and how to resolve?

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about sql-server-2005