
Open SQL Server Management Studio as Administrator.For more information, see View or Change the Default Locations for Data and Log Files (SQL Server Management Studio). Note: The default location for storing data and log files of SQL Server 2012 Express (圆4) is C:\Program Files\Microsoft SQL Server\MSSQL11.SQLEXPRESS\MSSQL\DATA. In this example, I keep it in C:\databases. Place the downloaded file (the MDF file) to your database folder.

Download “Adventure Works” sample database from CodePlex at Adventure Works for SQL Server 2012 by select AdventureWorks2012 Data File.

Step-by-step to install sample database Adventure Works On this post, you will see step-by-step guide how to attach/install sample database Adventure Works on SQL Server 2012 Express using SQL Management Studio.
