A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/sql/connect/ado-net/sql/sqlclient-support-localdb below:

SqlClient support for LocalDB - ADO.NET Provider for SQL Server

Download ADO.NET

Beginning in SQL Server 2012, a lightweight version of SQL Server, called LocalDB, is available. This article discusses how to connect to a LocalDB database.

For more information about LocalDB, including how to install LocalDB and configure your LocalDB instance, see SQL Server Books Online.

To summarize what you can do with LocalDB:

server=(localdb)\\myInstance  

User Instance=True isn't allowed when connecting to a LocalDB database.

You can download LocalDB from Microsoft SQL Server 2012 Feature Pack. If you use sqlcmd.exe to modify data in your LocalDB instance, you need sqlcmd from SQL Server 2012, which you can also get from the SQL Server 2012 Feature Pack.

Programmatically create a named instance

Applies to: .NET Framework .NET Core .NET Standard

An application can create a named instance and specify a database as follows:

Next steps

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4