Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Linked Server


Linked Server

Author
Message
sooraj.tk
sooraj.tk
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 3
I am trying to create a linked server in my local database "SQL_Server2" To "SQL_Server1".

Only Option to connect to "SQL_Server1" is my Network Domain User : "RCP\TK". User TK have only Read access to "SQL_Server1"

Now I want to create a Linked server to access databases on "SQL_Server2". After creating linked server, I need to access linked server with user "sa"

Please help.
Jayanth_Kurup
Jayanth_Kurup
SSCrazy
SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)SSCrazy (2.1K reputation)

Group: General Forum Members
Points: 2093 Visits: 1351
read point 8
http://msdn.microsoft.com/en-us/library/aa560998.aspx

Jayanth Kurup
ffarouqi
ffarouqi
SSC Veteran
SSC Veteran (297 reputation)SSC Veteran (297 reputation)SSC Veteran (297 reputation)SSC Veteran (297 reputation)SSC Veteran (297 reputation)SSC Veteran (297 reputation)SSC Veteran (297 reputation)SSC Veteran (297 reputation)

Group: General Forum Members
Points: 297 Visits: 1239
I think you seem to be a bit confused here. If you want to create a linked server from suppose server a to server b, as you mentioned the only way you can access server b is through your login, and you do have read access for the db's on server b. If that's the case then you can use an option "Be made under the login's current security context" which you can find under the security tab for linked server. Your user login credentials should be same on both server a and server b.

Now, if you want to access server b from server a specifically using "sa", then you should understand that the password on server a and server b should both be same. You can use the option "Be made using this security context" this is also the last option under security tab...provide remote login details = "sa", and password for the same. Once created test the connection for success.

Regards,
Faisal
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search