Why can't I access the table when I have linked it to the server? What is wrong here? Thanks!
SELECT * FROM [172.xx.xxx.xx\ABC].[ABC_XYZ].DBO.TABLETOACCESS
OLE DB provider "SQLNCLI10" for linked server "172.xx.xxx.xx\ABC" returned message "Login timeout expired".
OLE DB provider "SQLNCLI10" for linked server "1172.xx.xxx.xx\ABC" returned message "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.".
Msg 53, Level 16, State 1, Line 0
Named Pipes Provider: Could not open a connection to SQL Server .
You need to pass credential to linked server. Quickest way is to use Wizzard. SSMS -> Linked Servers -> Right Click -> Security Tab.
After you do this you can
script button near title bar to get script.