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)
 Lock problem with linked servers

Author  Topic 

ccorbalan
Starting Member

3 Posts

Posted - 2008-04-10 : 08:51:05
Hello,

I have 2 servers linked with SQL2000(SP4). I have developed an application that executes a stored procedure from server1. This stored procedure executes other procedures from server2. The store procedure from server2 executes updates / deletes / inserts to tables from a database server2.

The problem is that sometimes, the process (spid) running on server2 still working and never finished. It seems like another process is blocking the tables it use but it is not true because I can do the same from SQL Analyzer. If I query the processes running on the server (sp_who, sp_lock, sysprocesses) it is OK and no ohter processes are running.

Other times the execution works fine.

Anybody can help me?

Thank you

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-04-10 : 08:55:16
Cross post
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=100696



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -