Friday, February 26, 2016

Connecting to LocalDb from within Visual Studio 2015

If you have worked with SQL Server LocaldDB in the past, you may have connected to LocalDB using the following type of connection string: (localdb)\v11.0

However, this changes with the release of Visual Studio 2015.  Instead, of using (localdb)\v11.0, you will instead use a connection string such as this: (localdb)\MSSQLLocalDB

You can then connect to the Visual Studio 2015 instance of LocalDB in the following manner:

No comments:

Post a Comment