I have 2 instances on my laptop. I am trying to copy some table from 'abc123' server to xyz123 server. I found this online and it's not working!!! can some one help or is there steps thru GUI online?
EXEC sp_addlinkedserver
@server=N'HOGEN-PC', -- Remote Computer Name
@srvproduct=N'', -- Not Needed
@provider=N'SQLNCLI', -- SQL Server Driver
@datasrc=N'HOGEN-PCSQLEXPRESS'; -- Server Name And Instance