1

Is there any official write-up what forms can Data Source field take in sql server connection string? I'm aware of following forms:

SERVER
SERVER\Instance
tcp:SERVER,port
nb:SERVER
nb:SERVER\Instance

are there more forms?

EDIT: The essence of this exercise is not to construct a connection string. I am trying to parse existing connection string, and I want to know all the forms it could take. I appreciate everybody who pointed me to www.connectionstrings.com, and this site is useful enough, but it clearly does not have all the information. For example, it will not specify that it is possible to use construct like "Data Source=tcp:SERVER,10000" to specify that TCP must be used for this datasource on port 10000.

1
  • 3
    check www.connectionstrings.com Commented Dec 30, 2009 at 18:17

2 Answers 2

3

check this website for all connection string questions: http://www.connectionstrings.com

Sign up to request clarification or add additional context in comments.

Comments

0

This website has more than you could possibly ever want to know about connection strings for SQL Server and many other databases:

Connection strings for SQL Server 2005

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.