Copy the script below and modify the path to the MDF file as according to your environment and click Execute.Connect to the SQL Server and click on New Query.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. Launch Microsoft SQL Server Management Studio and select Server Type Database Engine. Click on the AdventureWorksDW2012 Data File so that the AdventureWorksDW2012Data. Place the downloaded file (the MDF file) to your database folder. Follow these steps: Click on SQL Server 2012 OLTP and you will be directed to the Downloads page for SQL Server 2012.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.
0 Comments
Leave a Reply. |