Hi,
I have 2 similar tables on different databases. I already linked the remote DB and set it's data access to 'True'.
However I can't get the following query to work
GO
USE LOCALDB
GO
DELETE from [dbo].[TableA]
WHERE [dbo].[TableA].[UniqueField] = (SELECT [UniqueField] FROM [REMOTESERVER].[REMOTEDB].[dbo].[TableA])
GO
This query doesn't give me any error but then again it doesn't delete the entry where there is a match on the UniqueField. I'm quite blocked at the moment and this is the only query I've thought of that doesn't prompt an error.
EDIT: The query says 0 rows affected.
Thanks in advance,
EtonB.