August 19, 2008 at 10:02 pm
Hi,
Could any one tell me that how to configure and how to work on Linked Server in Sql server 2005?
Regards,
Sunil
August 19, 2008 at 10:34 pm
the best place would to read BOL. you can find about linked servers at
August 20, 2008 at 12:51 am
what exactly you want to do ??
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
August 20, 2008 at 4:58 pm
sp_addlinkedserver is the syntax you want to use
it allows you to query remote servers w/o having to actually connect to it.
[from serverA]
exec serverb...sp_who2 active
-----------------------------
www.cbtr.net
.: SQL Backup Admin Tool[/url] :.
August 20, 2008 at 5:52 pm
does every company have linked servers ??
What If the link between SQL Server and remote server is not reliable ??
August 20, 2008 at 9:58 pm
see linked server is not a physical machine ...when we want to execute a query from server A to server B...then Server B act as Linked server
Linked is established with the help of
SP_ADDLINKEDSERVER 'servername'
And reliablilty is depended on login we use to established connection...
this is the brief from my side
for details refer book online....or scratch GOOGLE...:)
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
August 20, 2008 at 10:14 pm
You can use New Linked Server wizard to create a linked server in sql server 2005. I had created one named JGPRD which is linked to a Oracle database. To query on linked server, you basically need to specify the linked server name, schema and object (table, view ...). For instance:
select*
FROMJGPRD..ENERGYDB.LL_DMSEBG120
Here JGPRD is linked server name and ENERGYDB is the schema.
Bear in mind, if linked server is Oracle db, you may need to use capps for all objects name, otherwise you may get error message
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply