Click here to Skip to main content
15,890,043 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How can I access SQL Server 2008 installed on remote windows server 2008(has static IP).
What would be datasource name(can it be only a IP or not)?

My motive behind this, is to select/Insert/update the database from windows apps to the remote sql server which has static IP.

What are the ways to get the resultset from remote SQL server.


Appreciate your feedback.

Thanking You.
Posted

You can work as usual you do with regular sql connection, and resultset will be same , only thing is to have valid connection to sql server.
 
Share this answer
 
Make sure that the SQL server allows remote connection.
IP address or Domain name(if the domain name resolves into the IP address) will be your data-source.
If you do not have trusted network connection to the server your SQL server must be configured to allow SQL authentication using username/password.

When you have all this, you can use your regular SQL studio to get connected and work with the SQL server without limitations.
 
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