.NET Framework Data Provider for SQL Server connection strings

Connects to

SQL Server 2016

Problems connecting?
Get answer in the SQL Server 2016 Q & A forum

SQL Server 2014

SQL Server 2012

SQL Server 2008

SQL Server 2005

SQL Server 2000

SQL Server 7.0

SQL Azure

  • Standard

    Server=tcp:[serverName].database.windows.net;Database=myDataBase;
    User ID
    =[LoginForDb]@[serverName];Password=myPassword;Trusted_Connection=False;
    Encrypt
    =True;

    Use 'username@servername' for the User ID parameter.

  • With MARS enabled

    MARS was enabled in SQL Azure Service Update 2

    Server=tcp:[serverName].database.windows.net;Database=myDataBase;
    User ID
    =[LoginForDb]@[serverName];Password=myPassword;Trusted_Connection=False;
    Encrypt
    =True;MultipleActiveResultSets=True;
.NET Framework Class LibrarySystem.Data.SqlClient.SqlConnectionInfo and class library downloads

Articlesread all »

Providers

Connect

Articlesread all »

Didn't find your connection string?

Start over from the connection string reference index - or try a search!

In the Q&A forums you can ask your own question and let somebody help you.

The knowledge articles contains solutions and guides.