dbTalk Databases Forums  

Syntax to access database on another server

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Syntax to access database on another server in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
compquest
 
Posts: n/a

Default Syntax to access database on another server - 02-26-2008 , 11:20 AM






I know how to access different tables on the same server by prefixing
the table with the database name. Is there anyway to prefix the
server name to link two tables across servers? Thanks.

Reply With Quote
  #2  
Old   
Jack Vamvas
 
Posts: n/a

Default Re: Syntax to access database on another server - 02-26-2008 , 02:44 PM






If you are considering combining 2 tables , use Linked Servers . Basically ,
you would register another server , as a Linked Server
then simply reference the tables accordingly

--

Jack Vamvas
___________________________________
Search IT jobs from multiple sources- http://www.ITjobfeed.com




"compquest" <vtestaccount (AT) gmail (DOT) com> wrote

Quote:
I know how to access different tables on the same server by prefixing
the table with the database name. Is there anyway to prefix the
server name to link two tables across servers? Thanks.



Reply With Quote
  #3  
Old   
compquest
 
Posts: n/a

Default Re: Syntax to access database on another server - 02-29-2008 , 02:36 PM



Thanks for your response.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.