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 2005 Forums
 Transact-SQL (2005)
 Linking tables with Views

Author  Topic 

homeguard
Starting Member

32 Posts

Posted - 2008-05-12 : 15:51:56
I want to link in a table from another sql server in a view, how is this done?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-05-12 : 15:57:54
You can do this with linked servers. Once you've added the linked server, you can reference the remote object with its four-part name: LinkedServerName.DatabaseName.ObjectOwner.ObjectName.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Database maintenance routines:
http://weblogs.sqlteam.com/tarad/archive/2004/07/02/1705.aspx
Go to Top of Page
   

- Advertisement -