Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 1 out of 3 pages
Other

Data dictionary

Document preview thumbnail
Preview 1 out of 3 pages

Data dictionary for the database with data normalised and sorted

Content preview

Course: BTEC National Diploma
Unit : 18 – Database Design
Topic: Data Dictionary / Schema

You are to decide what data Types and Formats the following data items should be, and what validation checks should carried out:
Data Validation rules/input
Entity name Key Attribute/Field Data Type Format/ Rqd masks/lookups/drop down Description
Length/Size lists
Tbl_customer PK Auto Yes Customer unique ID number
Customer ID number
Title Look up Drop down Yes DDL, Mr, Mrs, Miss Customer title e.g Mr
wizard
First Name Short text 25 Yes Is Null OR Not Like "*[!a- Customer first name
z]*"
Surname Short text 25 Yes Is Null OR Not Like "*[!a- Customer last name
z]*"
Address line 1 Short text 45 Yes Is Null OR Not Like "*[!((a- Customer address line 1
z) or (0-9))]*"
Address line 2 Short text 45 No Is Null OR Not Like "*[!((a- Customer address line 2
z) or (0-9))]*"
Town Short text 35 Yes Is Null OR Not Like "*[!a- Customer town
z]*"
County Short text 40 Yes Is Null OR Not Like "*[!a- Customer county
z]*"
Postcode Short text 35 Yes >LL09\ 0LL;;* Customer postcode

Tel No Short text 11 Yes Is Null OR Not Like "*[!0- Customer contact number
9]*"
Short text 30 Yes Is Null OR ((Like "*?@?*.? Customer Email
*") AND
Email (Not Like "*[ ,;]*"))

Member y/n Look up Drop down Yes DDL, Y/N Is customer member or not
Wizard
Surcharge Currency Decimal Yes £ 2DPL Surcharge for customers from
outside
Payment method Look up Drop down Yes DDL, Cash, Direct debit, Credit Customer payment method
wizard card

Document information

Study Level
Subject
Uploaded on
June 12, 2018
Number of pages
3
Written in
2016/2017
Type
Other
Person
Unknown
$8.91

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
vicky123
2.5
(4)
Sold
7
Followers
7
Items
15
Last sold
6 year ago

Reviews from verified buyers




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions