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 Administration (2000)
 Distribute transaction over Linked Server

Author  Topic 

shallu1_gupta
Constraint Violating Yak Guru

394 Posts

Posted - 2004-12-13 : 06:14:44
Hi,
I am executing distributed transaction over a linked server but it is not giving any output. It goes into an infinite loop.
Please let me know where i am wrong?

begin distributed transaction
select * from remoteservername.dbname.dbo.tbname
commit transaction
Thanks

robvolk
Most Valuable Yak

15732 Posts

Posted - 2004-12-13 : 08:14:37
Ummmm...why do you need a transaction for a SELECT statement? You can't commit a SELECT.
Go to Top of Page
   

- Advertisement -