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 2008 Forums
 Transact-SQL (2008)
 link server -delete between two

Author  Topic 

inbs
Aged Yak Warrior

860 Posts

Posted - 2012-08-23 : 03:31:40
i delet table on machine sql 2000 (32bit) that join to table in sql 2008 (32 bit)

i use link server and i get this error

DELETE a
FROM LINKSER.[Un].dbo.se_by_cu a
JOIN (SELECT DISTINCT cust,datet FROM se_by_cu_month) b ON (a.datet = b.datet AND a.cust= b.cust)


OLE DB provider "SQLNCLI10" for linked server "LINKSER" returned message "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".
Msg 16955, Level 16, State 2, Line 1
Could not create an acceptable cursor.

Bustaz Kool
Master Smack Fu Yak Hacker

1834 Posts

Posted - 2012-08-23 : 16:36:20
Is there a primary or unique key on the LINKSER.[Un].dbo.se_by_cu table?

=================================================
We are far more concerned about the desecration of the flag than we are about the desecration of our land. -Wendell Berry
Go to Top of Page
   

- Advertisement -