views:

95

answers:

3

Often the most frustrating thing in starting a new database project or learning a new database is figuring out the magic incantation known as the "connection string".

Where are the good resources for understanding each database's connection string format?

+9  A: 

Connection strings

shahkalpesh
Funny story, that's the first result on Google when you search for "connection strings". <_<
Daniel Lew
+1  A: 

Some tools will generate an SQL Connection String for you, eg MS Access or SQL Server DTS, once you've set up a dsn. You can then cut and paste this string into your App.

cindi
+1  A: 

Something whose existence I only learned of recently is System.Data.SqlClient.SqlConnectionStringBuilder in the .NET framework.

It saves you concatenating strings yourself, knows all the synonyms, allows you to extract values from existing strings, etc.

If you're using SQL Server and .NET, it's really handy.

Blorgbeard