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
 General SQL Server Forums
 New to SQL Server Programming
 how do i select from another server

Author  Topic 

rtutus
Aged Yak Warrior

522 Posts

Posted - 2006-10-06 : 10:32:16
I need to back up a table from serverA to my machine
I guess I do: select * from databaseA.myTable into databaseB.mytabel
but how do I specify that databaA is in other server.
Thankse

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2006-10-06 : 10:34:47
use linked server


KH

Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-10-06 : 10:46:19
Read about sp_addLinkedServer in sql server help file

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -