IT Community - Software Programming, Web Development and Technical Support

What is a Linked Server in sql server 2005?

This is a discussion on What is a Linked Server in sql server 2005? within the Database Support forums, part of the Web Development category; What is a Linked Server in sql server 2005?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Database Support

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 07-25-2007, 03:38 AM
Archer Archer is offline
D-Web Programmer
 
Join Date: Jun 2007
Posts: 52
Archer is on a distinguished road
Question What is a Linked Server in sql server 2005?

What is a Linked Server in sql server 2005?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-25-2007, 03:39 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 881
kingmaker is on a distinguished road
Send a message via MSN to kingmaker
Default Re: What is a Linked Server in sql server 2005?

Linked Servers is a concept in SQL Server by which we can add other SQL Server to a Group and query both the SQL Server dbs using T-SQL Statements. With a linked server, you can create very clean, easy
to follow, SQL statements that allow remote data to be retrieved, joined and combined with local data.

Storped Procedure sp_addlinkedserver, sp_addlinkedsrvlogin will be used add new Linked Server.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 08-14-2007, 04:24 AM
it.wily it.wily is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 89
it.wily is on a distinguished road
Thumbs up Re: What is a Linked Server in sql server 2005?

hi..... archer......

kingmaker is right. i will give you the syntax also.

I have used the following syntax for loopback linked server.

EXEC sp_addlinkedserver @server = N'name_for_linked_server',
@srvproduct = N' ',
@provider = N'SQLNCLI',
@datasrc = N'name_of_my_sqlserver_instance',
@catalog = N'name_of_database'

Hope this will help you.
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 Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server 2000 migration to SQL Server 2005 Collation Change - Method? arjkhanna Database Support 5 10-02-2009 10:58 PM
Steps to migrate TFS 2008 from SQL server 2005 to SQL server 2008 arjkhanna Server Management 5 04-24-2009 02:17 AM
SQL Server 2005 kingmaker Database Support 100 03-22-2008 02:08 AM
Server Assessment for Sql server 2005? arjkhanna Server Management 3 10-30-2007 11:09 AM
What’s a “SAND BOX” in SQL Server 2005? oxygen Database Support 1 07-26-2007 04:20 AM


All times are GMT -7. The time now is 10:01 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0