I created a Linked Server from my local Sql Server, as given in
http://sqlserverplanet.com/dba/local-linked-server
However when I try to execute a stored pro
Even if you have named a column incorrectly in your query, you are going to see this error. Example:
select *
from openquery(
lnksrv
,'select top 10 * from db.schema.table where colunm = 10'
)
and the column name is column
, not colunm
.
Bottom line is check the actual query to be sent to the remote server for correctness first, then wrap it in openquery
and re-test.