ADMAS UNIVERSITY Department of I.C.

T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

ADVANCED DATABASE SYSTEMS

1|Page ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

CONTENTS
1. Introductions .................................................................................................................... 1
2. SQL Server 2008 installation ............................................................................................. 2
3. POST SQL Server 2008 installation .................................................................................... 3

2|Page ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

INTRODUCATIONS

►This document shows how to modify the standard settings in SQL Server 2008 Express or SQL
Server 2008 R2 Express installation.
►An automated installation script which installs and configures the SQL Server 2005 Express can
be found at the installation DVD.
►The SQL Server should be installed before installing any interface software.
►If any other version of the SQL Server is installed on the same computer, un-installation of this
SQL Server is recommended. The database files are not removed when the SQL Server is
uninstalled.

►The SQL Server comes in different versions:

1. SQL Server 2008 R2 Enterprise
2. SQL Server 2008 Express
3. SQL Server 2005 Enterprise
4. SQL Server 2005 Express
5. SQL Server 2000 Enterprise
6.SQL Server 2000 Express

► SQL Server 2008 was released August 2008. SQL Server 2008 R2 was released
April 2010.

3|Page ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

Installation
►Below are screenshot from the installation process on Windows 7:

1- Run the installer:

2- Wait while the files are extracted and select Installation:

4|Page ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

3- Select „New SQL Server stand-alone installation‟:

4- If so, reboot, and repeat the steps above:

5|Page ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

5- Hit next on the „Product Key‟ screen (No product key is needed for this free
version):

6- Accept the license:

6|Page ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

7- Hit Install:

8- Hit next:

7|Page ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

9- Select all features:

10- Change from Named Instance to the Default Instance, which automatically should be
named MSSQLSERVER:

8|Page ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

11- If you cannot select the default instance, you have already installed a default instance of a
SQL Server.

12- Select the „NT AUTHORITY\SYSTEM SERVICE‟ for SQL Server Database Engine:

9|Page ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

13- Be sure that Windows Authentication Mode is selected, and hit the „Add Current User‟ button, so your
user name appears in the „Specify SQL Server administrators‟ box:

14- Hit next on the “Error and Usage Reporting”:

10 | P a g e ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

15- And next again:

16- And finally install:

11 | P a g e ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

17- FINISH

12 | P a g e ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

Post installation steps

1. Select the Microsoft SQL Server 2008, SQL Server Configuration Manager from the Start menu:

2. Choose the server name & then select these options <Browse for more> then choose
connect.

3. Then select the integration services & choose your COMPUTER NAME

13 | P a g e ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

4. Then make the server type as Database Engine then click connect

14 | P a g e ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

5. Then choose the database for more operations.

15 | P a g e ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

OPERATING & USING THE SQL SERVER

1. CONNECT TO SERVER FIRST.

2. GO TO THE DATABASE OPTION

16 | P a g e ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

3. Steps to create a DATABASE BY USING GUI:
A. Click on the database option.

B. Right click on the database option.

C. Write down the database name.

D. Click okay then database will be created

17 | P a g e ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

4. Steps to create a TABLE BY USING GUI:

A. Right click on the TABLE option.

B. Select NEW TABLE option.

C. Write down the table fields & their data types.

D. Make your ID AUTO NO if you need.

E. Make a primary key for your table if you need.

F. Click OKAY then database will be created

18 | P a g e ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

19 | P a g e ADMAS UNIVERSITY ABDIAZIZ QABILE
ADMAS UNIVERSITY Department of I.C.T
LEACUTERES: ABDIAZIZ QABILE HARGIESA-SOMALILAND

5. Steps to create a TABLE BY USING CLI or QUERY:

A. Right click on the DATABASE option.

B. Select NEW QUERY option.

C. Write down the QUERY COMMANDS.

D. Click execute query.

E. Then the command will be executed.

20 | P a g e ADMAS UNIVERSITY ABDIAZIZ QABILE