Академический Документы
Профессиональный Документы
Культура Документы
com
www.studentprojectcode.com
www.dreamworldproject.info www.studentprojectsstore.com
DATABASE DESIGN
1. Introduction:
The database is a collection of information and is systematically stored in tables in the
form of rows and columns. The table in the database has unique name that identifies its
contents. The database in turn is further described in detail giving all the fields used with the
data types, constraints available, primary key and foreign key.
Database design is used to manage large of information. In this database we describe
the entire 4 table available in the software, which are used to store all the records.
Integer
: one optional sign character (+ or -) followed by at least one digit (0-9). Leading
and trailing blanks are ignored. No other character is allowed.
2.
Varchar
: It is used to store alpha numeric characters. In this data type we can set the
maximum number of characters up to 8000 ranges by defaults SQL server will set the
size to 50 characters range.
3.
Data/time
: Data/time data type is used for representing date or time.
Data Type
Varchar
Varchar
Varchar
Varchar
Varchar
int
Size
50
50
50
50
50
Relation
Primary key
Not null
Not null
Not null
Not null
Not null
Www.freestudentprojects.com
www.studentprojectcode.com
www.dreamworldproject.info www.studentprojectsstore.com
Volumn
Date_pur
Price
Status
Varchar
Varchar
Decimal
Varchar(50)
50
50
(18,2)
50
Not null
Not null
Not null
Not null
Data Type
Size
Name
Varchar
50
Regno
Varchar
50
Date_of_issue
Datetime
R
e
l
a
t
i
o
n
N
o
t
n
u
ll
P
r
i
m
a
r
y
k
e
y
N
o
t
n
u
ll
Www.freestudentprojects.com
www.studentprojectcode.com
www.dreamworldproject.info www.studentprojectsstore.com
Addresss
Varchar
Date_of_return
Datetime
Course
Varchar
50
Accno
Varchar
50
Gender
V
a
r
c
h
a
r
50
50
N
o
t
n
u
ll
N
o
t
n
u
ll
N
o
t
n
u
ll
F
o
r
e
i
g
n
k
e
y
Not null
Www.freestudentprojects.com
www.studentprojectcode.com
www.dreamworldproject.info www.studentprojectsstore.com
Field Name
Regno
Date_of_issue_books
Date_of_return_book
s
Accno
Name
Course
Author
Volumn
Edition
Data Type
Size
Relation
Varchar
Datetime
Datetime
50
Foreign key
Not null
Not null
Varchar
Varchar
Varchar
Varchar
Varchar
Varchar
50
50
50
50
50
50
Not Null
Not null
Not null
Not null
Not null
Not null
Data Type
Varchar
Varchar
Datetime
Datetime
Varchar
Varchar
Varchar
Varchar
Varchar
Size
50
50
Relation
Foreign key
Not Null
Not null
Not null
Not null
Not null
Not null
Not null
Not null
50
50
50
50
50
Www.freestudentprojects.com
www.studentprojectcode.com
www.dreamworldproject.info www.studentprojectsstore.com
symbols
Meaning
Entity
Relationship
Attributes
Key attributes
Www.freestudentprojects.com
www.studentprojectcode.com
www.dreamworldproject.info www.studentprojectsstore.com
R
N
E2
Library
Status
Title
Accno
Publisher
N:1Author
Book
Edition
Return date
Regno
Book issue
1
E1
Www.freestudentprojects.com
www.studentprojectcode.com
www.dreamworldproject.info www.studentprojectsstore.com
Book return
Date_of_issue
Address
Date _of return
Regno
Student
Volumn
Price
Date_pur
N: 1No_of_copies
Selected _by
Female
State
Gender
PinNo
Male
1Phone No
Name
Course
Accno
Issues
Returns
1
Www.freestudentprojects.com
www.studentprojectcode.com
www.dreamworldproject.info www.studentprojectsstore.com
Accno
Issue date
Regno
Accno
Return date
1
1
A1