installing sql server 2008 r2 express. · change startup type for sql server browser to...

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: others

Post on 14-Mar-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

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. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

This might happen:

Install it.

Page 3: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

After waiting a bunch of time for decompressing…

Click ‘New installation…’

Page 4: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Accept the terms, and click NEXT.

Page 5: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

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. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Install everything. Click NEXT.

Page 7: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Click NEXT.

Page 8: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

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. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

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

Page 10: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Click NEXT.

Page 11: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

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

Page 12: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Done!

Page 13: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Load up SQL Server Management Studio.

Page 14: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

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

Page 15: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Notice there are no databases installed (attached).

Page 16: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

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. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

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

Page 18: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Click ADD.

Page 19: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

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

Page 20: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Click OK.

Page 21: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

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

Page 22: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Click OK.

Page 23: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

You now should the AdventureWorks database attached to your DBMS.

Page 24: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Right click, select ‘New Query’.

Page 25: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click

Try a sample query: SELECT * FROM SalesLT.Address

The end.

Page 26: Installing SQL Server 2008 R2 Express. · Change Startup Type for SQL Server Browser to ‘Automatic’. Click NEXT. Select ‘Mixed Mode’. Enter a password of your choosing. Click