Sql server 2008 r2 installation instructions

26
Installing SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from: http://www.microsoft.com/express/database/ Run the EXE file downloaded. It’ll extract a bunch of stuff.

Transcript of Sql server 2008 r2 installation instructions

Page 1: Sql server 2008 r2 installation instructions

Installing SQL Server 2008 R2 Express.

Make sure your OS is up to date.Download from: http://www.microsoft.com/express/database/

Run the EXE file downloaded. It’ll extract a bunch of stuff.

Page 2: Sql server 2008 r2 installation instructions

This might happen:

Install it.

Page 3: Sql server 2008 r2 installation instructions

After waiting a bunch of time for decompressing…

Click ‘New installation…’

Page 4: Sql server 2008 r2 installation instructions

Accept the terms, and click NEXT.

Page 5: Sql server 2008 r2 installation instructions

This might happen:

IF you see this message, do this:- Download update KB968930

[http://www.microsoft.com/downloads/details.aspx?FamilyId=60cb5b6c-6532-45e0-ab0f-a94ae9ababf5&displaylang=en]

- Install.- Once installed, click ‘Re-run’.

Page 6: Sql server 2008 r2 installation instructions

Install everything. Click NEXT.

Page 7: Sql server 2008 r2 installation instructions

Click NEXT.

Page 8: Sql server 2008 r2 installation instructions

Account name = your logon for Windows.Password = your password for your Windows account.Change Startup Type for SQL Server Browser to ‘Automatic’.Click NEXT.

Page 9: Sql server 2008 r2 installation instructions

Select ‘Mixed Mode’.Enter a password of your choosing.Click NEXT.

Page 10: Sql server 2008 r2 installation instructions

Click NEXT.

Page 11: Sql server 2008 r2 installation instructions

Installation will start.Go eat something, then wash some dishes.

Page 12: Sql server 2008 r2 installation instructions

Done!

Page 13: Sql server 2008 r2 installation instructions

Load up SQL Server Management Studio.

Page 14: Sql server 2008 r2 installation instructions

Change Authentication to ‘SQL Server…’Login is ‘sa’.Password is the password you specified during setup.

Page 15: Sql server 2008 r2 installation instructions

Notice there are no databases installed (attached).

Page 16: Sql server 2008 r2 installation instructions

Take the database that was downloaded from the course website.Uncompress it.Right click on ‘Databases’ ‘Restore Database’.

Page 17: Sql server 2008 r2 installation instructions

In the ‘To Database’ field, put in ‘AdventureWorks’.Select ‘From Device’.Click on ‘…’ beside ‘From Device’.

Page 18: Sql server 2008 r2 installation instructions

Click ADD.

Page 19: Sql server 2008 r2 installation instructions

Navigate to where you uncompressed the database you downloaded.Select it.Click OK.

Page 20: Sql server 2008 r2 installation instructions

Click OK.

Page 21: Sql server 2008 r2 installation instructions

Check off the box in the first row.Click OK.

Page 22: Sql server 2008 r2 installation instructions

Click OK.

Page 23: Sql server 2008 r2 installation instructions

You now should the AdventureWorks database attached to your DBMS.

Page 24: Sql server 2008 r2 installation instructions

Right click, select ‘New Query’.

Page 25: Sql server 2008 r2 installation instructions

Try a sample query: SELECT * FROM SalesLT.Address

The end.

Page 26: Sql server 2008 r2 installation instructions