官术网_书友最值得收藏!

Installing SQL Server 2012 Express LocalDB

We will use Microsoft SQL Server for our practice; there are several versions out there both free and commercial. I selected the LocalDB because it's the one with less memory footprint and yet, has a complete set of features.

Getting ready

You will need to download some software prior to installation:

Download all these files and put them in a folder, for example, C:\install\.

How to do it...

The setup is very straightforward, in a command prompt window do the following:

  1. Install the SQL Server 2012 Express LocalDB engine by running:
    C:\install\SqlLocaLDB.MSI
    
  2. Accept the agreement and click your way out through the Next button; no special attention other than clicking on Continue to allow the user account control permission to install. The setup will take one minute, if not seconds, and it's very simple.

How it works...

We are using a stripped down version of Microsoft SQL Server 2012 database. This LocalDB engine features almost everything from the full-fledged product but runs as a user application, not as a service like its major siblings do. It is important to remember this detail because only the currently logged on user will be able to connect to the database instance.

LocalDB has very low memory requirements and guarantees quick data access on small machines.

There's more...

Check the successful outcome by issuing in a command prompt:

sqllocaldb info

The system will answer with the version number:

v11.0

which is also the name of the default instance.

Note

You can watch a screencast of this operation at:

主站蜘蛛池模板: 孟村| 安康市| 上杭县| 宜宾市| 遂平县| 灌阳县| 兰州市| 阳春市| 新干县| 兖州市| 鄂尔多斯市| 北流市| 鹤岗市| 古丈县| 九龙城区| 宁都县| 汶川县| 和田市| 满洲里市| 永胜县| 固原市| 资源县| 蒙自县| 武胜县| 南木林县| 睢宁县| 洞头县| 保靖县| 安远县| 达拉特旗| 特克斯县| 武邑县| 乌拉特中旗| 颍上县| 合肥市| 肥乡县| 集贤县| 噶尔县| 凤庆县| 义乌市| 黄龙县|