Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Select Into between tables on different servers?

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-05-12 : 07:28:45
Scott writes "Win NT - 5.0 SP3

Is it possible to Select specific columns from one table and Insert them into a table that resides in a different Database on a different server? Can you suggest a way that I accomplish this task?"

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2005-05-12 : 17:19:30
INSERT INTO Server1.DB1.dbo.Table1 (Column1, Column4)
SELECT Column1, Column4
FROM Table1

Tara
Go to Top of Page
   

- Advertisement -