Want to copy data from 1 table to other and they are in different servers.
I have set 2 servers as linked servers. In SQL Server Management Studio, Server Objects --> Right-click Linked Servers, and then New linked server. I gave the connecting server as my servername SERVER2 and type as SQLSERVER.
Now i executed the query, Insert Into Server1.Database1.dbo..Table1 (Col1, Col2) Select Col1, Col2 From Server2.Database2..dbo.Table2
It is throwing an error message, The OLE DB provider "SQLNCLI" for linked server "SERVER2" has returned the message "Invalid authorization specification".
I have no idea where to change the authorisation. Please help me to solve me the same. It is throwing an error message, The OLE DB provider "SQLNCLI" for linked server "SERVER2" has returned the message "Invalid authorization specification".
I have no idea where to change the authorisation. Please help me to solve me the same.