Unix Technical Forum

Syntax to access database on another server

This is a discussion on Syntax to access database on another server within the SQL Server forums, part of the Microsoft SQL Server category; --> I know how to access different tables on the same server by prefixing the table with the database name. ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2008, 02:49 PM
compquest
 
Posts: n/a
Default Syntax to access database on another server

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-01-2008, 02:49 PM
Jack Vamvas
 
Posts: n/a
Default Re: Syntax to access database on another server

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@gmail.com> wrote in message
news:d3c84685-ec72-439e-99fa-8fdf1c29e728@d62g2000hsf.googlegroups.com...
>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.



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-01-2008, 02:49 PM
compquest
 
Posts: n/a
Default Re: Syntax to access database on another server

Thanks for your response.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:29 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com