50
Page DATABASE AND WEB DATABASE SYSTEM 2010 DATABASE AND WEB DATABASE SYSTEM “GROUP ASSIGNMENT” STUDENT NAME: MOHAMMAD UZAIR TP NUMBER: TP021755 STUDENT NAME: MUAYAD HASSAN ABDULLAH TP NUMBER: TP020444 STUDENT NAME: MUATAZ HASSAN ABDULLAH TP NUMBER: TP020445 STUDENT NAME: ALI HASN ALI NASR TP NUMBER: TP018268 INTAKE: UC2F1007ITNC MODULE: DATABASE AND WEB DATABASE SYSTEM LECTURER NAME: JASRINDER KAUR A/P PIARA SINGH SUBMISSION DATE: 30 TH NOVEMBER 2010

DWDS Final Assignment

Embed Size (px)

Citation preview

Page 1: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

“GROUP ASSIGNMENT”

STUDENT NAME: MOHAMMAD UZAIR

TP NUMBER: TP021755

STUDENT NAME: MUAYAD HASSAN ABDULLAH

TP NUMBER: TP020444

STUDENT NAME: MUATAZ HASSAN ABDULLAH

TP NUMBER: TP020445

STUDENT NAME: ALI HASN ALI NASR

TP NUMBER: TP018268

INTAKE: UC2F1007ITNC

MODULE:

LECTURER NAME: JASRINDER KAUR A/P PIARA SINGH

SUBMISSION DATE: 30TH NOVEMBER 2010

Page 2: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

TABLE OF CONTENT

Page 3: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

INTRODUCTION

Our company name is Goliath Tech Services. We are a company which provides software solutions for all types of needs, we provide personalize solution as we will set up a whole helpdesk resources centre. This gives our customer’s a piece of mind that there is always software backup management team on their toes to fix any software problem at hand, while our client’s do what they do best, managing their business. I’m coming up with a solution for our company staffs with a system called Helpdesk Support System. This Helpdesk Support System helps the company staffs to support their technical problems such as providing solution for computer hardware and software problems, our management system logs onto the calls and traces out the user within the company, which helps safe us time taking down the user’s details before we deploy or assign software or hardware specialist to handle the particular problem. The software also allows us to send and view reports, whether software or hardware problems have been resolved or pending or overall asses the problem. Basically it’s an offline within the organizations, custom made to support them at any call. The management and technical people are well trained and skilled in their distinguished fields. Our hardware backup crews are able to manage hardware problems like hard disc corruption, CD or DVD- rom reading problems, PC restarting by itself and experience starting problems. For further understanding of the aspects of the company, please refer to the documentation below.

Page 4: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Task 1 - DESIGN

ENTITY RELATIONSHIP DIAGRAM (ERD)

Contd. On next page

Made by

Contact

Check on

Substance

Made up of

Page 5: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Consist Consist

Handle by

Handle by

Provide Provide

Page 6: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

NORMALIZATION

Unnormalized Form

Helpdesk (Call_ID, Call_Time, Call_Receiver_Name, Date, Client_ID, Job_Title,

Department, Address, Date_of_Birth, Client_Name, Office_Phone_Number, Equipment_Serial_No, Equipment_Registration_No, Equipment_Type, Equipment_Make, Equipment_Description, Hardware_Serial_No, Hardware_make, Hardware_Type, Hardware_Description, Problem_ID, Problem_Type, Problem_Description, Problem_Status, Solution_ID, Solution_for_Problem, Solution_Description, General_Problem, General_Problems_Solution, Specialist_ID, Specialist_Name, Date_of_Birth, Specialist_Area, Assigned_Task, Address, Office_Phone_Number, Helpdesk_Operator_ID, Helpdesk_Operator_Name, Date_of_Birth, Address, Phone_Number, Username, Password, Software_Licensed_No, Software_Type, Software_Description, Software_Make)

1st Normalized Form

Helpdesk (Call_ID, Call_Receiver_Name, Call_Time, Date, Client_ID, Client_Name,

Date_of_Birth, Job_Title, Department, Address, Office_Phone_Number, Helpdesk_Operator_ID, Helpdesk_Operator_Name, Date_of_Birth, Address, Phone_Number, Username, Password, Software_Licensed_No, Software_Type, Software_Description, Software_Make, Hardware_Serial_No, Hardware_Type, Hardware_Description, Hardware_Make, Equipment_Serial_No, Equipment_Type, Equipment_Description, Equipment_Make, Equipment_Registration_No, Problem_ID, Problem_Type, Problem_Description, Problem_Status, Solution_ID, Solution_for_Problem, Solution_Description, General_Problem, General_Problems_Solution, Specialist_ID, Specialist_Name, Date_of_Birth, Specialist, Area, Assigned_Task, Address, Office_Phone_Number)

Page 7: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

2nd Normalized Form

Call (Call_ID, Call_Receiver_Name, Call_Time, Date)

Client (Client_ID, Client_Name, Date_of_Birth, Job_Title, Department, Address,

Office_Phone_Number)

Helpdesk Operator (Helpdesk_Operator_ID, Helpdesk_Operator_Name, Date_of_Birth,

Address, Phone_Number, Username, Password)

Software (Software_Licensed_No, Software_Type, Software_Description,

Software_Make)

Hardware (Hardware_Serial_No, Hardware_Type, Hardware_Description,

Hardware_Make)

Equipment (Equipment_Serial_No, Equipment_Type, Equipment_Description,

Equipment_Make, Equipment_Registration_No)

Problem (Problem_ID, Problem_Type, Problem_Description, Problem_Status)

Solution (Solution_ID, Solution_for_Problem, Solution_Description, General_Problem,

General_Problems_Solution)

Specialist (Specialist_ID, Specialist_Name, Date_of_Birth, Specialist, Area,

Assigned_Task, Address, Office_Phone_Number)

Page 8: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

3rd Normalized Form

Call (Call_ID, Call_Receiver_Name, Call_Time, Date, Client_ID,

Helpdesk_Operator_ID, Equipment_Serial_No, Software_Licensed_No)

Client (Client_ID, Client_Name, Date_of_Birth, Job_Title, Department, Address,

Office_Phone_Number, Helpdesk_Operator_ID)

Equipment (Equipment_Serial_No, Equipment_Type, Equipment_Description,

Equipment_Make, Equipment_Registration_No, Software_Licensed_No, Hardware_Serial_No, Helpdesk_Operator_ID)

Helpdesk Operator (Helpdesk_Operator_ID, Helpdesk_Operator_Name, Date_of_Birth,

Address, Phone_Number, Username, Password, Equipment_Serial_No, Client_ID)

Hardware (Hardware_Serial_No, Hardware_Type, Hardware_Description,

Hardware_Make, Hardware_Problem_ID, Equipment_Serial_No)

Hardware Problem (Hardware_Problem_ID, Hardware_Problem_Type,

Hardware_Problem_Description, Hardware_Problem_Status, Hardware_Specialist_ID, Client_ID, Hardware_Serial_No)

Hardware Solution (Hardware_Solution_ID, Hardware_Solution_for_Problem,

Hardware_Solution_Description, General_Hardware_Problem, General_Hardware_Problems_Solution, Hardware_Specialist_ID)

Page 9: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Hardware Specialist (Hardware_Specialist_ID, Hardware_Specialist_Name,

Date_of_Birth, Specialist_Area, Assigned_Task, Address, Office_Phone_Number, Hardware_Solution_ID, Hardware_Problem_ID)

Software (Software_Licensed_No, Software_Type, Software_Description,

Software_Make, Software_Problem_ID, Equipment_Serial_No)

Software Problem (Software_Problem_ID, Software_Problem_Type,

Software_Problem_Description, Software_Problem_Status, Client_ID, Software_Specialist_ID, Software_Licensed_No)

Software Solution (Software_Solution_ID, Software_Solution_for_Problem,

Software_Solution_Description, General_Software_Problem, General_Software_Problems_Solution, Software_Specialist_ID)

Software Specialist (Software_Specialist_ID, Software_Specialist_Name, Date_of_Birth,

Specialist_Area, Assigned_Task, Address, Office_Phone_Number, Software_Solution_ID, Software_Problem_ID)

Page 10: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

ASSUMPTIONS (for ER Diagram)

According to the Goliath tech services business rules, First of all Clients will make call to Helpdesk Operator. Here many clients or employee call to helpdesk operator to make report and find for solution. Once Helpdesk Operator receives a call from a client he/she will log the call in the system and check for clients particulars whether he/she working in Cool Toad Tech Corporation. Next check their equipments and software details whether it’s all belongs to the Company or not and whether it has been registered under the Company. Once the operator logs the call and then, there will log the problem reported by the client. The problem is divided into two groups one is Software Problem and another one is Hardware Problem. After the operator logs the problem the will find for solution if the solution cannot be given by the operator. The operator will assign a specialist depending on software or hardware problem, if it’s a software problem then the operator will assign a Software Specialist to handle the problem and provide solution for client’s problem.

DATABASE STRUCTURES (Table Design)

Call

Field Name Data Type

Call_ID Int (Primary Key)

Call_Receiver_Name varchar(50)

Call_Time Char(10)

Date Char(10)

Client_ID Int (Foreign Key)

Helpdesk_Operator_ID Int (Foreign Key)

Equipment_Serial_No Nchar(19) (Foreign Key)

Software_Licensed_No Nchar(19) (Foreign Key)

Page 11: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Client

Field Name Data Type

Client_ID Int (Primary Key)

Client_Name Char(30)

Date_of_Birth Nchar(10)

Job_Title Text

Department Text

Address Text

Office_Phone_Number Nchar(11)

Helpdesk_Operator_ID Int (Foreign Key)

Equipment

Field Name Data Type

Equipment_Serial_No Nchar(19) (Primary Key)

Equipment_Type Text

Equipment_Description Text

Equipment_Make Text

Equipment_Registration Nchar(19)

Software_Licensed_No Nchar(19)

Hardware_Serial_No Nchar(19)

Helpdesk_Operator_ID int

Page 12: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Hardware

Field Name Data Type

Hardware_Serial_No Nchar(19) Primary Key

Hardware_Type Text

Hardware_Description Text

Hardware_Make Text

Hardware_Problem_ID Int (Foreign Key)

Equipment_Serial_No Nchar(19) (Foreign Key)

Hardware Problem

Field Name Data Type

Hardware_Problem_ID Int (Primary Key)

Hardware_Problem_Type Nchar(30)

Hardware_Problem_Description Text

Hardware_Problem_Status Nchar(10)

Hardware_Specialist_ID Int (Foreign Key)

Client_ID Int (Foreign Key)

Hardware_Serial_No Nchar(19) (Foreign Key)

Page 13: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Hardware Solution

Field Name Data Type

Hardware_Solution_ID Int (Primary Key)

Hardware_Solution_for_Problem Text

Hardware_Solution_Description Text

General_Hardware_Problem Text

General_Hardware_Problem_Description Text (Foreign Key)

Hardware_Specialist_ID Int (Foreign Key)

Hardware Specialist

Field Name Data Type

Hardware_Specialist_ID Int (Primary Key)

Hardware_Specialist_Name Nchar(30)

Date_of_Birth Nchar(10)

Specialist_Area Text

Assigned_Task Text

Address Text

Office_Phone_Number Nchar(11)

Hardware_Solution_ID Int

Hardware_Problem_ID Int

Page 14: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Helpdesk Operator

Field Name Data Type

Helpdesk_Operator_ID Int (Primary Key)

Helpdesk_Operator_Name Char(30)

Date_of_Birth Nchar(10)

Address Text

Phone_Number Text

Username Char(16)

Password Char(8)

Equipment_Serial_No Nchar(19) (Foreign Key)

Client_ID Int (Foreign Key)

Software

Field Name Data Type

Software_Licensed_No Nchar(19) (Primary Key)

Software_Type Nchar(30)

Software_Description Text

Software_Make Nchar(15)

Software_Problem_ID Int (Foreign Key)

Equipment_Serial_No Nchar(19) (Foreign Key)

Page 15: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Software Problem

Field Name Data Type

Software_Problem_ID Int (Primary Key)

Software_Problem_Type Nchar(30)

Software_Problem_Description Text

Software_Problem_Status Nchar(10)

Client_ID Int (Foreign Key)

Software_Specialist_ID Int (Foreign Key)

Software_Licensed_No Nchar(19) (Foreign Key)

Software Solution

Field Name Data Type

Software_Solution_ID Int (Primary Key)

Software_Solution_For_Problem Text

Software_Solution_Description Text

General_Software_Problem Text

General_Software_Problem_Solution Text

Software_Specialist_ID Int (Foreign Key)

Page 16: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Software Specialist

Field Name Data Type

Software_Specialist_ID Int (Primary Key)

Software_Specialist_Name Char(30)

Date_of_Birth Nchar(10)

Specialist_Area Text

Assigned_Task Text

Address Text

Office_Phone_Number Nchar(11)

Software_Solution_ID Int (Foreign Key)

Software_Problem_ID Int (Foreign Key)

Page 17: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Task 2 – IMPLEMENTATION

DDL – Statements (Which used to create the helpdesk database)

To Create Database:

CREATE TABLE Helpdesk;

To Create Table (Call):

CREATE TABLE [dbo].[Call]([Call_ID] [int] NOT NULL,[Call_Receiver_Name] [varchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Call_Time] [char](10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Date] [char](10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Client_ID] [int] IDENTITY(1,1) NOT NULL,[Helpdesk_Operator_ID] [int] NOT NULL,[Equipement_Serial_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Software_Licensed_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL, CONSTRAINT [PK_Call_1] PRIMARY KEY CLUSTERED (

[Call_ID] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY]

To Alter Table (Call):

USE [Helpdesk]GOALTER TABLE [dbo].[Call] WITH CHECK ADD CONSTRAINT [made by] FOREIGN KEY([Client_ID])REFERENCES [dbo].[Client] ([Client_ID])

Page 18: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

To Create Table (Client):

CREATE TABLE [dbo].[Client]([Client_ID] [int] IDENTITY(1,1) NOT NULL,[Client_Name] [char](30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Date_of_Birth] [nchar](10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT

NULL,[Job_Title] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Department] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Address] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Office_Phone_Number] [nchar](11) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Helpdesk_Operator_ID] [int] NOT NULL,

CONSTRAINT [PK_Client_1] PRIMARY KEY CLUSTERED (

[Client_ID] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

To Create Table (Equipment):

CREATE TABLE [dbo].[Equipment]([Equipment_Serial_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Equipment_Type] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Equipment_Description] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT

NULL,[Equipment_Make] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Equipement_Registration_No] [nchar](9) COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[Software_Licensed_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Hardware_Serial_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Helpdesk_Operator_ID] [int] NOT NULL,

CONSTRAINT [PK_Equipment] PRIMARY KEY CLUSTERED (

[Equipment_Serial_No] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

To Alter Table (Equipment):

ALTER TABLE [dbo].[Equipment] WITH CHECK ADD CONSTRAINT [check on] FOREIGN KEY([Helpdesk_Operator_ID])REFERENCES [dbo].[Helpdesk Operator] ([Helpdesk_Operator_ID])

Page 19: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

To Create Table (Hardware):

CREATE TABLE [dbo].[Hardware]([Hardware_Serial_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Hardware_Type] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Hardware_Description] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT

NULL,[Hardware_Make] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Hardware_Problem_ID] [int] NOT NULL,[Equipment_Serial_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL, CONSTRAINT [PK_Hardware] PRIMARY KEY CLUSTERED (

[Hardware_Serial_No] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

To Alter Table (Hardware):

ALTER TABLE [dbo].[Hardware] WITH CHECK ADD CONSTRAINT [made up of] FOREIGN KEY([Equipment_Serial_No])REFERENCES [dbo].[Equipment] ([Equipment_Serial_No])

To Create Table (Hardware Problem):

CREATE TABLE [dbo].[Hardware Problem]([Hardware_Problem_ID] [int] IDENTITY(1,1) NOT NULL,[Hardware_Problem_Type] [nchar](30) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Hardware_Problem_Description] [text] COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[Hardware_Problem_Status] [nchar](10) COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[Hardware_Specialist_ID] [int] NOT NULL,[Client_ID] [int] NOT NULL,[Hardware_Serial_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL, CONSTRAINT [PK_Hardware Problem] PRIMARY KEY CLUSTERED (

[Hardware_Problem_ID] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

Page 20: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

To Alter Table (Hardware Problem):

ALTER TABLE [dbo].[Hardware Problem] WITH CHECK ADD CONSTRAINT [consist of] FOREIGN KEY([Hardware_Serial_No])REFERENCES [dbo].[Hardware] ([Hardware_Serial_No])GOALTER TABLE [dbo].[Hardware Problem] WITH CHECK ADD CONSTRAINT [handles by] FOREIGN KEY([Hardware_Specialist_ID])REFERENCES [dbo].[Hardware Specialist] ([Hardware_Specialist_ID])

To Create Table (Hardware Solution):

CREATE TABLE [dbo].[Hardware Solution]([Hardware_Solution_ID] [int] NOT NULL,[Hardware_Solution_for_Problem] [text] COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[Hardware_Solution_Description] [text] COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[General_Hardware_Problem] [text] COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[General_Hardware_Problems_Solution] [text] COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[Hardware_Specialist_ID] [int] NOT NULL,

CONSTRAINT [PK_Hardware Solution] PRIMARY KEY CLUSTERED (

[Hardware_Solution_ID] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

To Alter Table (Hardware Solution):

ALTER TABLE [dbo].[Hardware Solution] WITH CHECK ADD CONSTRAINT [provides] FOREIGN KEY([Hardware_Specialist_ID])REFERENCES [dbo].[Hardware Specialist] ([Hardware_Specialist_ID])

To Create Table (Hardware Specialist):

CREATE TABLE [dbo].[Hardware Specialist]([Hardware_Specialist_ID] [int] IDENTITY(1,1) NOT NULL,[Hardware_Specialist_Name] [nchar](30) COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[Date_of_Birth] [nchar](10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT

NULL,[Specialist_Area] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Assigned_Task] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Address] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Office_Phone_Number] [nchar](11) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Hardware_Solution_ID] [int] NOT NULL,

Page 21: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

[Hardware_Problem_ID] [int] NOT NULL, CONSTRAINT [PK_Hardware Specialist] PRIMARY KEY CLUSTERED (

[Hardware_Specialist_ID] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

To Create Table (Helpdesk Operator):

CREATE TABLE [dbo].[Helpdesk Operator]([Helpdesk_Operator_ID] [int] IDENTITY(1,1) NOT NULL,[Helpdesk_Operator_Name] [char](30) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Date_of_Birth] [nchar](10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT

NULL,[Address] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Phone_Number] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Username] [char](16) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Password] [char](8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Equipment_Serial_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Client_ID] [int] NOT NULL,

CONSTRAINT [PK_Helpdesk Operator_1] PRIMARY KEY CLUSTERED (

[Helpdesk_Operator_ID] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

To Alter Table (Helpdesk Operator):

ALTER TABLE [dbo].[Helpdesk Operator] WITH CHECK ADD CONSTRAINT [contact] FOREIGN KEY([Client_ID])REFERENCES [dbo].[Client] ([Client_ID])

To Create Table (Software):

CREATE TABLE [dbo].[Software]([Software_Licensed_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Software_Type] [nchar](30) COLLATE SQL_Latin1_General_CP1_CI_AS NOT

NULL,[Software_Description] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT

NULL,[Software_Make] [nchar](15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT

NULL,[Software_Problem_ID] [int] NOT NULL,[Equipment_Serial_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,

Page 22: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

CONSTRAINT [PK_Software] PRIMARY KEY CLUSTERED (

[Software_Licensed_No] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

To Alter Table (Software):

ALTER TABLE [dbo].[Software] WITH CHECK ADD CONSTRAINT [substance] FOREIGN KEY([Equipment_Serial_No])REFERENCES [dbo].[Equipment] ([Equipment_Serial_No])

To Create Table (Software Problem):

CREATE TABLE [dbo].[Software Problem]([Software_Problem_ID] [int] IDENTITY(1,1) NOT NULL,[Software_Problem_Type] [nchar](30) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Software_Problem_Description] [text] COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[Software_Problem_Status] [nchar](10) COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[Client_ID] [int] NOT NULL,[Software_Specialist_ID] [int] NOT NULL,[Software_Licensed_No] [nchar](19) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL, CONSTRAINT [PK_Software Problem] PRIMARY KEY CLUSTERED (

[Software_Problem_ID] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

To Alter Table (Software Problem):

ALTER TABLE [dbo].[Software Problem] WITH CHECK ADD CONSTRAINT [consist] FOREIGN KEY([Software_Licensed_No])REFERENCES [dbo].[Software] ([Software_Licensed_No])GOALTER TABLE [dbo].[Software Problem] WITH CHECK ADD CONSTRAINT [handle by] FOREIGN KEY([Software_Specialist_ID])REFERENCES [dbo].[Software Specialist] ([Software_Specialist_ID])

Page 23: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

To Create Table (Software Solution):

CREATE TABLE [dbo].[Software Solution]([Software_Solution_ID] [int] IDENTITY(1,1) NOT NULL,[Software_Solution_for_Problem] [text] COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[Software_Solution_Description] [text] COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[General_Software_Problem] [text] COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[General_Software_Problems_Solutions] [text] COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[Software_Specialist_ID] [int] NOT NULL,

CONSTRAINT [PK_Software Solution] PRIMARY KEY CLUSTERED (

[Software_Solution_ID] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

To Alter Table (Software Solution):

ALTER TABLE [dbo].[Software Solution] WITH CHECK ADD CONSTRAINT [provide] FOREIGN KEY([Software_Specialist_ID])REFERENCES [dbo].[Software Specialist] ([Software_Specialist_ID])

To Create Table (Software Specialist):

CREATE TABLE [dbo].[Software Specialist]([Software_Specialist_ID] [int] IDENTITY(1,1) NOT NULL,[Software_Specialist_Name] [char](30) COLLATE

SQL_Latin1_General_CP1_CI_AS NOT NULL,[Date_of_Birth] [nchar](10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT

NULL,[Specialist_Area] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Assigned_Task] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Address] [text] COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,[Office_Phone_Number] [nchar](11) COLLATE SQL_Latin1_General_CP1_CI_AS

NOT NULL,[Software_Solution_ID] [int] NOT NULL,[Software_Problem_ID] [int] NOT NULL,

CONSTRAINT [PK_Software Specialist] PRIMARY KEY CLUSTERED (

[Software_Specialist_ID] ASC)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

Page 24: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

PROTOTYPE APPLICATION (Screenshots and Explanations):

Forms

Main Page (Default Page)

This page is considered as a main page/start up page when a user of this start using this Helpdesk Support System, this page will appear first. In this page there is company Banner and system name and comes with copyright. Next, there is a hyperlink which state that “Click Here to Log In” where the user need to click to Log in to the system. Once the user clicks at this hyperlink it will direct the user to log in form.

Page 25: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Log In Page

Log In Page is to allow the authorized user with right authentication to access to the system further and the system functions. In this page a user needs to key in correct username and password to access. Where system administrator will give a right and unique authentication to a helpdesk operator or user to access to the system. If the user key in a wrong password or username the system will display an error message stating that the password or username is wrong, if the user doesn’t fill any password or username, also there will an error message stating that “Field Required” and if the password and username don’t meet the character length requirement also, there will an error will display stating that “The password or the username need to be more that 6 characters”. This is to alert the users. Once the authentication is correct than the user need to click at the “Ok” button to access to the Home Main Menu of the system and use all the various functions in this system. If the user doesn’t want to access to the system, he/ she had to click at “cancel” button which will direct the page to main page.

Page 26: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Home Main Menu Page

Home Main Menu Page is the page where the custom toolbar, in this there are hyperlink to all the pages and the functions in the system. There are some hyperlink control Home, Call log, Problem Logging Form for software problem, hardware problem, hardware and software specialists, software problem report, hardware problem report and log out. If a user click at this particular options he’ she wants it will direct the user to particular p[age where they have click to access. And once the user wants change or they have to log out first and Log In as different user. And at a button of this page there is copyright reserve information.

Page 27: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Calls Logging Form

Page 28: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Calls logging form where the Helpdesk Operator Log each and every call came into the helpdesk department. When a client calls the helpdesk operator has to enter his name, Call Attend by, Call time, Call Received Date, Serial number of Equipment and operating system and software being used. The call time and call received date automatically will be generated in the form text field and the helpdesk operator can check the client’s personal date by clicking at “Check Client Data” hyperlink and retrieve all the relevant information by referring to the client name. Next with serial no. of equipment given helpdesk operator can check the equipment relevant information by clicking at “Check Equipment” and retrieve all the relevant information by referring to the serial number of equipment. And then the operating system and software being used by the client can be check by clicking at the “Check Software” hyperlink and retrieve all relevant information about the equipments operating systems and software being used. Once the helpdesk operator check each and every particulars about the clients and all the information given by the client is true then the helpdesk operator can save the data. If the helpdesk operator presses cancel button it will direct the user page to ‘Home Main Menu Page’. Finally, from the problem reported by the client the helpdesk operator has to choose whether it’s a software problem or hardware problem and log the problem by clicking at software or hardware problem button.

Page 29: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Client’s Personal Data Page

This client’s personal data page is to display all the clients or employee working in Cool Toad Tech Corp personal information displaying page. Once the Client calls and gives their name, Helpdesk Operator has to click at “Check Client Data” hyperlink and check the client’s information in this

Page 30: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Equipment’s Data Page

Equipment’s Data page, where it will display all the equipments/ computers have registered and used by Cool Toad Tech Corp employees. Once the client give this equipment, the helpdesk operator has to check whether this equipment is registered under the company name or not by clicking at “Check Equipment” hyperlink, then automatically this equipment data page will appear and the helpdesk operator can check all the information about the equipments by referring to the equipment serial no.

Page 31: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Operating System and Software’s Data

Operating system and software’s Data Page, is to check about the software’s used by the client’s is clients is licensed software. Once the client give the software’s name being used helpdesk operator can check about the software’s particulars by clicking at “Check Software” hyperlink.

Page 32: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Software Problem Logging Form

Page 33: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Software problem logging form is to key in software problem reported by the client called. First the helpdesk operator has to choose what type of software problem it is, next is to describe the problem in problem description text box. Second from the helpdesk operator has to find for solution by clicking solution for problem list box. And once the helpdesk operator chooses the solution for problem automatically the solution description will be displayed in the solution for problem in the solution description text box. If the solution cannot be finding then the operator has to move to General Solution column at the bottom of the page and search for general problem. If the problem found in the database automatically it will be displayed the general problem in the general problem text field and solution for the problem. If the operator found a new problem also can be added to the General Solution column. And if the helpdesk operator found a new problem also can be added to the General Solution Column, And if the helpdesk operator wants to edit and update the general problems and solutions for General problems also. Once the helpdesk operator solve the problem he/ she has to click at problem status list box and choose whether it resolved or pending and save the data. Then click at “Cancel” button the page will direct user to “Calls Logging Form”

If the problem is still in pending and not solved then the helpdesk operator has to scroll the page to the bottom and click at “assign software specialist” to attend to this problem and solve it.

Page 34: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Hardware Problem Logging Form

Page 35: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Hardware problem logging form is to key in Hardware problem reported by the client called.

First the helpdesk operator has to choose what type of Hardware problem it is, next is to describe

the problem in problem description text box. Second from the helpdesk operator has to find for

solution by clicking solution for problem list box. And once the helpdesk operator chooses the

solution for problem automatically the solution description will be displayed in the solution for

problem in the solution description text box. If the solution cannot be finding then the operator

has to move to General Solution column at the bottom of the page and search for general

problem. If the problem found in the database automatically it will be displayed the general

problem in the general problem text field and solution for the problem. If the operator found a

new problem also can be added to the General Solution column, And if the helpdesk operator

found a new problem also can be added to the General Solution Column. If the helpdesk operator

wants to edit and update the general problems and solutions for General problems also. Once the

helpdesk operator solve the problem he/ she has to click at problem status list box and choose

whether it resolved or pending and save the data. Then click at “Cancel” button the page will

direct user to “Calls Logging Form”

If the problem is still in pending and not solved then the helpdesk operator has to scroll

the page to the bottom and click at “assign Hardware specialist” to attend to this problem and

solve it.

Page 36: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Assigning Software Specialist for Software Problem

Once the helpdesk operator click at “Assign Software Specialist” button automatically the page

directs to assign Software Specialist for Software Problem page. In this page the helpdesk

operator by looking at the current problem he/ she have to assign a Software specialist area. To

“assign task” the helpdesk operator has to click at the particular Software specialist row’s “Edit”

button and update or add a new task for the Software specialist. In this all the Software specialist

name and particulars available in the company will be displayed. All the operator need to do is to

assign a task for them and automatically it will update in their account and they will handle the

problem and resolve it. Finally once everything is done, the operator can click at “Ok” button

and it will direct the user to “Home Main Menu Page”. If the user wants to go back to the

Software problem logging form has to click at “Back” button.

Reports

Page 37: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Software Problem Report

This is Software Problem Report page, where it will display all the information about Software

problem and whether it has been Resolved or pending. The main idea of creating this report is to

display relevant information about Software problems Reported by all the clients or Employee in

the company so far. Some of the major software problem cannot be revealed by helpdesk

operator so; the helpdesk operator has assigned a specialist to handle the problem. For reference

the helpdesk operator has to know that whether the particular problem reported by a client is

resolved or pending. If it’s pending then the operator has take further to action to resolve the

problem.

Hardware Problem Report

Page 38: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

This is Hardware Problem Report page, where it will display all the information about hardware

problem and whether it has been Resolved or pending. The main idea of creating this report is to

display relevant information about Hardware problems Reported by all the clients or Employee

in the company so far. Some of the major software problem cannot be revealed by helpdesk

operator so; the helpdesk operator has assigned a specialist to handle the problem. For reference

the helpdesk operator has to know that whether the particular problem reported by a client is

resolved or pending. If it’s pending then the operator has take further to action to resolve the

problem.

CONCLUSION

This project has given us an insight into how a company’s computer system is managed and what

are the problems that they face in today’s existing systems. So using our knowledge we came up

with a solution which we believe it can spare an organization worries, as they know they don’t

Page 39: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

want to worry about computer backup and management as they are in right hands. These system

is an excellent method of managing a company’s brainchild which is they IT support system.

REFERENCE

Matthew MacDonald, 2006, Beginning ASP.NET 2.0 in C# 2005 from Novice to

Professional, Apress

Page 40: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010

Bill Hamilton, 2006, Programming SQL Server 2005, O'Reilly

Rajesh George, Lance Delano, 2006, SQL Server™ 2005 Express Edition Starter Kit,

Wiley Publishing, Inc

Chris Hart, John Kauffman, David Sussman, and Chris Ullman, 2006, Beginning

ASP.NET 2.0 with C#, Wiley Publishing, Inc

Cristian Darie and Zak Ruvalcaba, 2006, Build Your Own ASP.NET 2.0 Web Site Using

C# & VB, SitePoint Pty. Ltd

Tod Golding, 2005, Professional .NET 2.0 Generics, Wiley Publishing Inc

Wallace B. McClure, Gregory A. Beamer, John J. Croft IV, J. Ambrose Little, Bill Ryan,

Phil Winstanley, David Yack, Jeremy Zongker, 2006, Professional ADO.NET 2

Programming with SQL Server 2005, Oracle®, and MySQL, Wiley Publishing, Inc

Bill Evjen, Scott Hanselman, Farhan Muhammad, Srinivasa Sivakumar, Devin Rader,

2006, Professional ASP.NET 2.0, Wiley Publishing, Inc

Thomas Rizzo, Adam Machanic, Julian Skinner, Louis Davidson, Robin Dewson, Jan

Narkiewicz, Joseph Sack, Rob Walters, 2006, Pro SQL Server 2005, Apress

Elmasri, Navathe, 2000, Fundamentals of Database Systems, Addison- Wesley

Page 41: DWDS Final Assignment

Page

DATABASE AND WEB DATABASE SYSTEM 2010