Correct connection string to remote server

I know this is a very simple question, but I can't seem to find the answer.

I have a program running on machine A, which contains a MS SQL Server database.  I have another machine, machine B, running the same program.  I want to have machine B access the database on machine A.  What do I replace the Server=(local) with in the connection string?

Thanks for your help in advance.
rmmarshAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Bob LearnedConnect With a Mentor Commented:
The machine name or IP address.

Bob
0
 
2266180Commented:
I don't know about that Server thing, but in my connection strings I use "data source" with the machine name (as refered from the workgroup/domain)
0
 
rmmarshAuthor Commented:
Thank you... that's what I thought it was, but wasn't sure.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.