How to install localdb separately?

user1687824 picture user1687824 · Apr 27, 2014 · Viewed 89.9k times · Source

If I have to work with localdb, do we need to install it separately?

I have SQL Server 2008 R2 Management Studio installed, SQL Server 2012 installed, .net 4.0.2 update installed. But I don't see localdb in the PC yet.

Answer

Andrey Morozov picture Andrey Morozov · Apr 27, 2014

From MSDN

The primary method of installing LocalDB is by using the SqlLocalDB.msi program. LocalDB is an option when installing any SKU of SQL Server 2012 Express. Select LocalDB on the Feature Selection page during installation of SQL Server Express. There can be only one installation of the LocalDB binary files for each major SQL Server Database Engine version. Multiple Database Engine processes can be started and will all use the same binaries. An instance of the SQL Server Database Engine started as the LocalDB has the same limitations as SQL Server Express

enter image description here

Or you can download standalone SqlLocalDB.msi from the list of available downloads on the SQL Express downloading page

enter image description here

To locate localdb instance on your PC simply try to connect to (localdb)\Projects

enter image description here