Template - Data Design
Template - Data Design
Data design
Project Code:
ORIGINATOR:<Name> <Date>
<Position>
<Position>
<Position>
<Position>
TABLE OF CONTENTS
1 INTRODUCTION..................................................................................5
1.1 Purpose........................................................................................................ 5
1.2 Definitions, Acronyms and Abbreviations.....................................................5
1.3 References................................................................................................... 6
1.4 Overview...................................................................................................... 6
2 DATABASE.........................................................................................7
2.1 ERDs............................................................................................................ 7
2.2 XXX table..................................................................................................... 8
3 FILE DESIGN......................................................................................9
6 APPENDIX........................................................................................13
1.1 Purpose
Purpose of document.
Reader of document
Ex.
XXX data design document describes structure of database and file structure of system including internal file structure as
well as interface file structure. Developer and tester will base on this design to implement and unit test.
List all the reference document such as: other document of the system, or the technical article,...
1.4 Overview
General overview of the detail design such as what is the structure of the document
2 DATABASE
2.1 ERDs
Table Table
Order OrderDetail
Table Table
Products
Customer
No Field Name Type Length Size Null Unique P/F Key Default Descriptio
n
01 xxxCode int 4 x P Code of xxx, Auto number
02 yyyCode int 4 x F Code of yyy.
3 FILE DESIGN
<File List>
<CSV>
Format of file
<Design the format of codes ex. Customer codes, product codes that are complicated and contains meanings. These codes are
fields in database or files. >
<List of code>
No Cod Descriptio
e n
01 Customer code Code of customer in the system.
AAA: 3 required characters stand for Province of customer such as HAN: Ha Noi, DAN: Da Nang, HCM: Ho
Chi Minh City MM: The month that customer registers; can be 01 to 12
YYYY: The year that customer registers; it is in 4-character form: ex. 2004
000 is the sequential number start from 0; each customer has one number: “000”; “001”
Following symbols are used to describe format of data field in files as well as in tables.
Symbol Descriptio
n
# Digit placeholder.
. Decimal placeholder.
, Thousands separator.
: Time separator.
/ Date separator.
\ Treat the next character in the mask string as a literal. This allows you to include the '#', '&', 'A', and '?' characters in the
mask. This character is treated as a literal for masking purposes.
> Convert all the characters that follow to uppercase.
< Convert all the characters that follow to lowercase.
A Alphanumeric character placeholder (entry required). For example: a – z, A – Z, or 0 – 9.
a Alphanumeric character placeholder (entry optional).
9 Digit placeholder (entry optional). For example: 0 – 9.
0 Digit placeholder (entry required). For example: 0 – 9.
C Character or space placeholder (entry optional). Valid values for this placeholder are ANSI characters in the following ranges:
32-126 and 128- 255.
& Character placeholder (entry required). Valid values for this placeholder are ANSI characters in the following ranges: 32-126
and 128-255.
? Letter placeholder. For example: a – z or A – Z.
Literal All other symbols are displayed as literals; that is, as themselves. bound in “” like “ABC”