How to Install Microsoft SQL Server Express Local DB

Server categorical. It terribly simple to put in and established. The installation copies a minimum set of files that are necessary to start out SQL Server info Engine. Local DB supports a similar T-SQL language and has similar limitations as SQL Server categorical.

Microsoft SQL Server categorical Local DB permits developers to write down and take a look at Transact-SQL code. But, while not having to manage a full server instance of SQL Server.

There are 2 strategies of putting in Local DB; one amongst them is mistreatment the Sq local DB.msi program. The second technique is a possibility once SQL Server categorical 2012 or a more recent version is being put in.

Addition of info files of SQL Server definite Local DB is that the same as SQL Server categorical and it’s (.mdf).

Installing Microsoft SQL Server 2012 categorical Local DB with the Sq. Local DB.MSI:
There are some necessities for putting in Local DB. A user ought to have Microsoft .NET Framework four and Microsoft .NET Framework four.0.2 Runtime Update (KB2544514). Reckoning on the OS (32-bit or 64-bit Windows version), there are 2 versions of Sq. local DB.MSI: the version that may be put in on 32-bit OS (x86/Sq. local DB.MSI) and also the version which may be put in on 64-bit OS (x64/Sq. local DB.MSI).

The SqlLocaDB.MSI is transferred as a separate item from the SQL Server download page:

If to the 32-bit version of Microsoft SQL Server categorical Local DB is put in on 64-bit Windows, the subsequent warning message can appear:

The Installation method of Sq. Local DB.MSI is extremely fast and straightforward. Once a user double clicks on the SqlLocaDB.MSI installation file, the Microsoft SQL Server 2012 categorical Local DB window can appear; then ensuing button ought to be clicked so as to continue:

On the License Agreement window, browse the license terms of use fastidiously and check the “I settle for the terms within the license agreement” radio button. And again, click ensuing button:

The next step is to click the Installation key:

After some seconds, the installation method are finished:

The installation method is that the same each for the Microsoft SQL Server 2014 categorical Local DB and Microsoft SQL Server 2016 categorical Local DB. Solely the downloading method for Microsoft SQL Server 2016 categorical Local DB could be a bit completely different. the reason concerning downloading/ putting in Microsoft SQL Server 2016 categorical Local DB is roofed in additional detail later during this article.

By default, the Microsoft SQL Server 2012 categorical Local DB with all necessary DLLs is found at “[drive letter:]\Program Files\Microsoft SQL Server\110\Local DB\Binn”:

Once the program is put in, the default (automatic) Local DB instance is started or making and mistreatment his own Local DB instance by mistreatment the SqlLocal DB utility.

To see all Local DB instances, within the prompt window, sort following command: SqlLocal DB information.

The default (automatic) Local DB instance name begins with one character v. once this character, the quantity is during this format xx.x that presents a Local DB version range. For instance, v11.0 represents SQL Server 2012.

Before mistreatment the automated Local DB instance, the automated Local DB instance has to be created initial. On the opposite hand, the subsequent message can appear:

In order to form AN automatic Local DB instance, within the prompt window, the subsequent command: Sq. Local DB produce v11.0 ought to be typewritten.

The default (automatic) Local DB instance is public whereas user named instances of Local DB is non-public.

Local DB supports instance sharing, which implies that a user, the owner of AN instance, will enable alternative users to attach to his instance. The means of sharing / unsharring Local DB instance is achieved by mistreatment SqlLocal DB Utility share/unshared commands.

Different users of the pc will produce the instances with a similar name.

The SQL Server categorical Local DB instance is about to SQL_Latin1_General_CP1_CI_AS collation and can’t be modified. The info, column and expression level collections ar supported unremarkably.

The system info files for the info ar, by default, hold on below this location: C:\Users\\AppData\Local\Microsoft\Microsoft SQL Server native DB\Instances

As it is mentioned on top of, the installation method of Microsoft SQL Server 2014 categorical Local DB is that the same because the installation method of Microsoft SQL Server 2012 categorical Local DB. The name “MSSQLLocal DB” is, now, used as a default name for the automated Local DB instance. The name of the automated Local DB instance isn’t any longer associated with the SQL Server version range because it was within the SQL Server 2012 version (v11. 0=SQL Server 2012).

Now, once Microsoft SQL Server 2014 categorical Local DB has been put in or a more recent one and also the Sq. Local DB information command is run within the prompt window, the subsequent result can appear:

SQL Server 2016 categorical Local DB is offered through the installation method of SQL Server 2016 categorical and once the choice transfer Media is chosen:

If transfer Media has been chosen, there ar 2 ways that to transfer and install SQL Server 2016 categorical Local DB. the primary one is to pick the Local DB radio button. The opposite one is by mistreatment categorical Advanced:

Silent installation of Microsoft SQL Server categorical Local DB:

Microsoft SQL Server categorical Local DB supports silent installation. A user ought to transfer Sq. Local DB.msi and run the prompt window as an administrator. Then, they must paste the subsequent command:


The next step is pressing the Enter key from the keyboard:

A user ought to ensure that the trail during which Sq. Local DB.msi is found is correct, otherwise the subsequent error could appear:

Installation Microsoft SQL Server categorical Local DB as AN possibility throughout the installation of SQL Server categorical version

As it was mentioned earlier during this article, a method of putting in Local DB is that the possibility once the categorical version of SQL Server 2012 or a more recent one is put in.

Local DB ought to be designated from the Feature choice page throughout the installation of the SQL Server categorical version:

One Comment on “How to Install Microsoft SQL Server Express Local DB”

Leave a Reply

Your email address will not be published. Required fields are marked *

Enter Captcha Here :