The document discusses the development of a database management system called Nimul Database Management. It covers various phases of the system development life cycle (SDLC) including planning, analysis, design, implementation, and support. It describes system requirements, the database model, user interfaces, and reports. The goal is to create a system for managing customer, product, and sales data using SQL Server 2008.
3. Methodology of Research
Study Area
Data Collection
Action
Tool
Database Model
Hardware Requirement
Work Plan
Conclusion
References
Appendix
Contents (Cont.)
10. Process Modeling
System Analysis (Cont.)
Sale
MS
Staffs Manager
Stock
MS
Suppliers
Customer
MS
Customers
Customers
Stock Item
Info Product Info Sale Report
Rule
Order
Import
Customer Report
Info Pay
Invoice Card, Null
RecordInfo
Report
13. Design Data Dictionary
System Design (Cont.)
Field Name Data Type Constraint key Describe
CustomerID Int Primary key Auto Number
CustomerName Nvarchar(30)
CustomerType Nvarchar(30)
Sex Nvarchar(10)
DateRegistered Date
CustomerPay Money
Phone Nvarchar(30)
Img Image
Field Name Data Type Constraint key Describe
ProductID Int Foreign key
CustomerID Int Foreign key
StaffID Int Foreign key
DateSale Date
Quantity Int
UnitPrice Money
SalePrice Money
Discount Money
CurrentStock Int Update When sale
Total Money
Table Customers
Table Product Details
17. Create Database
SQL Server 2008 Enterprise
USE master
GO
CREATE DATABASE NimulDB Collate
sql_latin_general_cp850_bin
GO
USE NimulDB
GO
System Implementation
18. View
Create View ShowAllStaffs
AS
SELECT
dbo.tblStaffs.StaffID, dbo.tblStaffs.StaffName, dbo.tblStaffs.Se
x, dbo.tblStaffs.Salary, dbo.tblStaffs.Phone, dbo.tblStaffs.Staff
Adress,
dbo.tblPositions.PositionDescription AS Position
FROM dbo.tblPositions INNER JOIN
dbo.tblStaffs ON dbo.tblPositions.PositionID =
dbo.tblStaffs.PositionID
System Implementation (Cont.)