Running query in linked server through trigger

  • i have set up a linked server. i can query the linked server in query analyzer and also do update/delete. but when i try to run the same query for linked server through insert trigger, i get following error:

    [OLE/DB provider returned message. [Microsoft][ODBC Sql Server Driver]Distributed transaction error].

    btw, i am using Sql server 2000, SP4. main server is windows 2003 server and linked server is windows xp pro.

    any suggestions will be appreciated.

  • SET XACT_ABORT ON at the begging of trigger




    My Blog: http://dineshasanka.spaces.live.com/

  • thanks dinesh.

    that did the trick.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply