Installing SQL Server 2008

9/4/2010 12:10:46 PM

Now that we have covered the basic background for SQL Server instances, you will install your first SQL Server Database Engine instance along with Analysis Services, Reporting Services, Integration Services, and all of the tools that ship with SQL Server.

SQL Server 2008 Installation


Reboot your machine prior to starting the SQL Server installation process to make sure that you do not have any pending reboot requests which will block the SQL Server installation process.

Launch the SQL Server installation routine.

If you have not already installed .NET Framework 3.5, the setup routine will first launch the .NET Framework 3.5 installation routine, as shown here.

Once .NET Framework 3.5 has been installed, the main SQL Server installation will launch to the License Terms screen. Check I have read and ACCEPT the terms of the License Agreement and click Next.

When the Installation Prerequisites screen appears, click Install.

Once prerequisites have been installed, you will see the main installation screen, as shown here.

Click the New SQL Server stand-alone installation link to launch the SQL Server installation.

Installation will execute a system configuration check. Once the check completes successfully, your screen should look similar to the following:


If any of the system configuration checks fails, you will need to take the action appropriate to the failure in order to continue with the installation process.

Once you have reviewed the Setup Support Rules, click OK.

Select all of the SQL Server features as show below and then click Next.

Select the Default Instance radio button and click Next.

Verify the disk space requirements and click Next.

Enter the service accounts that you created earlier in this chapter for the appropriate services. When complete, your screen should look similar to the following:

Click the Collation tab to review the collation sequence set for the Database Engine and Analysis Services. Make any adjustments you feel are necessary according to the language support that you will require and click Next.

Specify Mixed Mode and set a password. Click the Add Current User button to add the Windows account you are running the installation under as an administrator within SQL Server. Click the Add button to add any other Windows accounts that you want as administrators within SQL Server. When complete, your screen should look similar to the following:


The password that you specify will be assigned to the built-in SQL Server login named “sa.”


It is recommended that you run SQL Server instances in Windows Authentication Mode instead of Mixed Mode. The reason that we are specifying Mixed Mode during installation is to demonstrate SQL Server logins within Chapter 19, “Policy-Based Management.”

Click the Data Directories tab to review the settings.


You will learn about data and log directories in Chapter 4, “Creating Databases.”

Click the FILESTREAM tab, select the Enable FILESTREAM for Transact-SQL access as well as Enable FILESTREAM for file I/O streaming access. Leave the Windows share name set to the default of MSSQLSERVER and click Next.


You will learn about the FILESTREAM data type in Chapter 5, “Designing Tables.”

Click Add Current User to add the account you are running installation under as an administrator within Analysis Services. Add any other Windows accounts that you want to have administrator access within Analysis Services. Review the information on the Data Directories tab and click Next.

Select the Install the Native mode default configuration radio button on the Reporting Services Configuration page and click Next.

Select the options of your choice on the Error And Usage Reporting page and click Next.

Review the information on the Ready To Install page and click Install.

SQL Server will launch the installation routines for the various options that you have specified and display progress reports. During the installation phase, your screen will look similar to the graphic below:

Install Sample Databases

SQL Server 2008 does not ship with any sample databases. You will need to download the AdventureWorks2008 and AdventureWorksDW2008 databases from the CodePlex Web site.

Open Internet Explorer and go to Click the Releases tab.


The Web site locations are accurate as of the writing of this book. However, the locations may change in the future. If you cannot find the URL above, use the Search box within the CodePlex Web site to find the new location.

Scroll to the bottom of the page and download the AdventureWorks2008*.msi and AdventureWorksDW2008*.msi files to your local machine.


The CodePlex Web site contains installation routines for 32-bit, x64, and IA64 platforms. Download the .msi file that is appropriate for your operating system.

Run the installation routines for both downloads and use the default extract location.

Click Start | All Programs | Microsoft SQL Server 2008 | SQL Server Management Studio.

If not already entered, specify the machine name you installed your SQL Server instance to in the previous exercise and click Connect. Your screen should look like the following:

Click the New Query button, enter the following code, and click the Execute button.

EXEC sp_configure 'filestream_access_level',2;

RESTORE DATABASE AdventureWorks FROM DISK='C:\Program Files\Microsoft SQL Server\100\Tools\Samples\AdventureWorks2008.bak' WITH RECOVERY;

RESTORE DATABASE AdventureWorksDW FROM DISK='C:\Program Files\Microsoft SQL Server\100\Tools\Samples\AdventureWorksDW2008.bak' WITH RECOVERY;

When you expand the Database node, your screen should look like the following:

Top 10
SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
The latest Audi TT : New angles for TT
Era of million-dollar luxury cars
Game Review : Hearthstone - Blackrock Mountain
Game Review : Battlefield Hardline
Google Chromecast
Keyboards for Apple iPad Air 2 (part 3) - Logitech Ultrathin Keyboard Cover for iPad Air 2
Keyboards for Apple iPad Air 2 (part 2) - Zagg Slim Book for iPad Air 2
Keyboards for Apple iPad Air 2 (part 1) - Belkin Qode Ultimate Pro Keyboard Case for iPad Air 2
Michael Kors Designs Stylish Tech Products for Women
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
Popular Tags
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Exchange Server Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe Photoshop CorelDRAW X5 CorelDraw 10 windows Phone 7 windows Phone 8 Iphone