I have a SQL Server 2005 DB (8.0.2055) and need to connect to another DB on a SQL 2008 (9.0.4207) server to pull some data. I've tried creating a new Linked Server entry selecting SQL Server as the server type and tried querying the data by using something like
SELECT * FROM OPENQUERY(linkname, 'SELECT * FROM dbname..tablename')
but I receive the following error:
[OLE/DB provider returned message: Deferred prepare could not be completed.]
I'm guessing I need to do something special to be able to connect to the 2008 DB but am not really sure what that is. Any help would be greatly appreciated.
SELECT * FROM OPENQUERY(linkname, 'SELECT * FROM dbname..tablename')
but I receive the following error:
[OLE/DB provider returned message: Deferred prepare could not be completed.]
I'm guessing I need to do something special to be able to connect to the 2008 DB but am not really sure what that is. Any help would be greatly appreciated.