You are on page 1of 28

LIBRARY

DATABASE
GROUP
MEMBERS
 NATASHA SHAFIQ

 RUMMAN ARSHAD DAR

 AHMAD KALEEM
INTRODUCTION TO
DATABASE
TOPICS UNDER
DISCUSSION
 EXISTING SYSTEM

 PROPOSED SYSTEM

 DATABASE DESIGN

 DATA DICTIONARY.
INTRODUCTION
TO
EXISTING SYSTEM
DISADVANTAGES

 SLOW SYSTEM
 HIGH NUMBER OF ERRORS
 UNRELIABILITY
 INEFFICIENT AND
 OCCUPIES SPACE
LIBRARY
DATABASE
INTRODUCTION TO
PROPOSED SYSTEM
ADVANTAGES

 THE SPEED IS FAST

 SYSTEM IS COMPACT

 INCONSISTENCIES ARE ELIMINATED

 SEARCHING THE LIBRARY FOR BOOKS


WILL BECOME EASIER
ARRIVAL OF THE
BOOK
 ACCESSION# WILL BE ASSIGNED
 AUTHOR NAME,BOOK TITLE
 ISBN CODE
 PRICE, NO OF PAGES,YEAR
 COVER TYPE
 VOLUME
ON ISSUING A BOOK
 CODE NO OF STUDENT IS ENTERED

 ISSUE DATE OF THE BOOK

 DUE DATE OF THE BOOK


STUDENT
INFORMATION
 CODE# OF THE STUDENT,
 THE NAME,
 PROGRAM,
 SEMESTER,
 SECTION,
 ADDRESS AND PHONE#
DESIGN OF OUR
DATABASE
BASE TABLES
FOUR BASE TABLES ARE:

 ACCESSION REGISTER

 STUDENT RECORD

 BOOKS ISSUE RECORD

 BOOKS RETURNED RECORD


QUERIES OF OUR
DATABASE
 BOOK SEARCH (on basis of Acc#)
 BOOK SEARCH (on basis of Author Name)
 BOOK SEARCH (on basis of Subject)
 BOOK SEARCH (on basis of Title of Book)
 BOOKS ISSUED RETURN HELP (on basis of
Acc#)
 SEARCHING FOR BOOKS (complete)
 SEARCHING FOR STUDENTS (complete)
 STUDENT SEARCH (on basis of Student Name)
REPORTS
THERE ARE TWO REPORTS IN OUR
DESIGN

 REPORT FOR BOOK SEARCH

 REPORT FOR STUDENT SEARCH


MACROS FOR THE
REPORT

TWO MACROS ARE DEFINED:

 MACROACCESSION
 MACROSTUDENT
LIBRARY
DATABASE
DATA DICTIONARY
Accession Register
Field Name/ Data Type Field Size Default Validation Validation Indexed Remarks
Properties Value Rule Text about
Fields
AccessionNo Number Long 0 >= 1 Should be Yes (No Primary
Integer (4) >= 1. Duplicates) Key

Date Date/Time 8 =Date() >=Date() Should be No Medium


>= current Date
date. (format
Author Text 50 <None> <None> <None> No <None>

Title Text 50 <None> <None> <None> No <None>

Subject Text 50 <None> <None> <None> No <None>

Publishing Text 50 <None> <None> <None> No <None>


Place

Publisher Text 50 <None> <None> <None> No <None>

ISBN Text 50 <None> <None> <None> Yes (No <None>


Duplicates)

Cover Type Text 50 <None> <None> <None> No <None>

Year Number Long <None> <None> <None> No <None>


Integer (4)

Pages Number Long <None> <None> <None> No <None>


Integer (4)

Price Currency 8 <None> <None> <None> No <None>

Volume/ Text 50 <None> <None> <None> No <None>


Edition

Source Text 50 <None> <None> <None> No <None>

Remarks Memo (Unlimited) <None> <None> <None> <None> <None>


Student Record
Field Date Field Default Validation Validation Indexed Remarks about
Name/ Type Size Value Rule Text Fields
Properties

CodeNo Number Long 0 >=1 Should be Yes (No Primary Key


Integer >= 1. Duplicates)
(4)

Name Text 50 <None> <None> <None> No <None>

Program Text 50 <None> <None> <None> No <None>

Semester Number Long 0 <None> <None> No <None>


Integer
(4)

Section Text 50 <None> <None> <None> No <None>

Address Text 50 <None> <None> <None> No <None>

Phone No Number Long 0 <None> <None> No <None>


Integer
(4)
Books Issued Record

Field Date Field Size Default Validation Validation Indexed Remarks


Name/ type Value Rule Text about
Properties Fields

Code No Number Long 0 <None> <None> Yes Foreign


Integer (Duplicates Key
(4) OK)

Accession Number Long 0 <None> <None> No Primary


No Integer Keys
(4) (Composite
Key)

Issue Date Date/Time 8 =Date() <None> <None> No

Issue Time Date/Time 8 =Time() <None> <None> No

Due Date Date/Time 8 <None> >=Date() Should be >= No <None>


current date

Remarks Memo (Unlimited) <None> <None> <None> <None> <None>


Books Returned Record

Field Name/ Date type Field Default Validation Validation Indexed Remarks
Properties Size Value Rule Text about Fields

Accession No Number Long 0 <None> <None> No Primary Key


Integer (Composite
(4) Key)

Issue Date Date/Time 8 <None> <=Date() Should be No


<= current
date.

Issue Time Date/Time 8 =Time() <None> <None> No

Return Date Date/Time 8 <None> >=Date() Should be No <None>


>= current
date.
RELATIONSHIP OF THE
BASE TABLES
ACCESSION REGISTER

BOOKS ISSUE BOOKS RETURN


RECORD RECORD
STUDENT BOOKS ISSUED
RECORD RECORD
BOOKS ISSUED BOOKS RETURNED
RECORD RECORD

ACC NO ACC NO
ISSUE DATE ISSUE DATE
ISSUE TIME ISSUE TIME
THE DEMO

You might also like