installing sql server 2008 r2 express. - computing · pdf fileinstalling sql server 2008 r2...

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.

Upload: nguyentu

Post on 31-Jan-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

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: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

This might happen:

Install it.

Page 3: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

After waiting a bunch of time for decompressing…

Click ‘New installation…’

Page 4: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Accept the terms, and click NEXT.

Page 5: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

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: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Install everything. Click NEXT.

Page 7: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Click NEXT.

Page 8: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

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: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

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

Page 10: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Click NEXT.

Page 11: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

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

Page 12: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Done!

Page 13: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Load up SQL Server Management Studio.

Page 14: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

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

Page 15: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Notice there are no databases installed (attached).

Page 16: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

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

Page 17: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

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

Page 18: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Click ADD.

Page 19: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

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

Page 20: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Click OK.

Page 21: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

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

Page 22: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Click OK.

Page 23: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

You now should the AdventureWorks database attached to your DBMS.

Page 24: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Right click, select ‘New Query’.

Page 25: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded

Try a sample query: SELECT * FROM SalesLT.Address

The end.

Page 26: Installing SQL Server 2008 R2 Express. - Computing  · PDF fileInstalling SQL Server 2008 R2 Express. Make sure your OS is up to date. Download from:   Run the EXE file downloaded