You are here: Re: SQL Server Link Server « MsSQL Server « IT news, forums, messages
Re: SQL Server Link Server

Posted by Erland Sommarskog on 02/19/07 23:25

Vincent (animedreamer@verizon.net) writes:
> Is it possible to create a link server in SQL Server without using the
> default system.mdw file? Any help is appreciated. Thanks.

Eh, yes. I don't even know what the system.mdw file might be.

Adding a linked server can be as easy as:

sp_addlinkedserver THATSERVEROVERTHERE

and then you might be able to say things like:

SELECT ... FROM THATSERVEROVERTHERE.db.dbo.tbl

It is not always that simple; this requires Windows authentication to
work all the way.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация