installing sql server 2008 r2 express. - simon … · web viewload up sql server management studio....

25
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 17-Jun-2020

21 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

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. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

This might happen:

Install it.

Page 3: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

After waiting a bunch of time for decompressing…

Click ‘New installation…’

Page 4: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Accept the terms, and click NEXT.

Page 5: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

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. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Install everything. Click NEXT.

Page 7: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Click NEXT.

Page 8: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

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. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

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

Page 10: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Click NEXT.

Page 11: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

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

Page 12: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Done!

Page 13: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Load up SQL Server Management Studio.

Page 14: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

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

Page 15: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Notice there are no databases installed (attached).

Page 16: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

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. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

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

Page 18: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Click ADD.

Page 19: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

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

Page 20: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Click OK.

Page 21: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

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

Page 22: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Click OK.

Page 23: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

You now should the AdventureWorks database attached to your DBMS.

Page 24: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Right click, select ‘New Query’.

Page 25: Installing SQL Server 2008 R2 Express. - Simon … · Web viewLoad up SQL Server Management Studio. Change Authentication to ‘SQL Server…’ Login is ‘sa’. Password is the

Try a sample query: SELECT * FROM SalesLT.Address

The end.