i have two servers and my software is in one of those servers. both the servers have databases : db1 and db2.
i tried the following query :
Expand|Select|Wrap|Line Numbers
- select * from server2.db2.dbo.tblname
Msg 7202, Level 11, State 2, Line 1
Could not find server 'server2' in sysservers. Execute sp_addlinkedserver to add the server to sysservers.
what shall i do.i need both servers.
TIA