There are several ways you can do this.
1. Use linked server to connect the remote server.
2. Use distributed query in sql server like OPENROWSET For example
SELECT a.* INTO dbo.TestDepartment
FROM OPENROWSET('SQLNCLI', 'Server=Seattle1;Trusted_Connection=yes;',
'SELECT GroupName, Name, DepartmentID
FROM AdventureWorks2012.HumanResources.Department
ORDER BY GroupName, Name') AS a;
For more information have a look on:
http://msdn.microsoft.com/en-us/library/ms190312.aspx[
^]