Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi guys
Am working on my SQL server management studio 2008 r2 , OK ?
and I want to read a data from another PC which contains SQL server 2008 r2 too, How can I do that?
I want the answer in details (step by step....)
By the way My Server's operating system is Windows server 2008 r2 and the PC is Windows 7?
Posted
Updated 25-Jan-11 0:48am
v3
Comments
Slacker007 25-Jan-11 6:43am    
Don't bold your questions. You seem to be pretty demanding with your question; this won't go over well with the community.
justinonday 25-Jan-11 6:50am    
datasourec = target Pc IP address....

1 solution

So the other PC has a SQL Server instance running on it & you want to be able to connect and work with the data on that machine, from within SQL management studio?

On the machine you want to connect to, you need to setup some credentials so you can connect to the instance

Security -> Logins -> New Login.

Are you using Windows Authentication? If so, then choose this option & add your login name. If not, setup a 'SQL Server authentication' type user id \ password

Choose a default database + server role. (if this is just development stuff in house, serveradmin or sysadmin is fine. Not for production though!)

Now from your machine, under object explorer choose Connect -> Database Engine. Enter the other PC name as server name + select the authetication type & credentials you just setup.

Click 'Connect', if all OK the instance will be added to your object explorer & you can now work with the databases on the machine
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900