• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
Adam Bullock
 –
8035Page|
1
 19319
Assessment D
In this unit I am going to create a database to store a given set of data and extractuseful information. The dataset I have been given is called tickets and is in a CVS fileformat.As you can see this data is difficult to interpret. As a result of this imported it intoMicrosoft Excel so it was easier to read and analyze.The next step was to look at the row headings and decide how I can split them upinto different tables. A table stores information on an object.These are the row headings from the dataset
 
Adam Bullock
 –
8035Page|
2
 19319
 
Order Number Temp
 
Title
 
First Name
 
Last Name
 
Address Line 1
 
Town
 
County
 
Post code
 
Card Type
 
Card Number
 
Expiry Date
 
Start DateI have created a data dictionary to help me sort out which attributes/field names gowith which table/entity. I have also defined the type of data, field length andvalidation(s).
Entity Name Attribute Data Type FieldLengthValidation DescriptionPerformance
Order NumbertempNumber 5 - Primary keyRequired? NoPerformanceNameText field 23 Lookupwizard"BloodBrothers";"Chicago";"ChittyChitty BangBang";"Evita";"Guys andDolls";"Jack and theBeanstalk";"LesMiserables";"MammaMia";"Phantom of theOpera";"Sound of Music";"South Pacific";"Wewill Rock You"Required? YesPerformanceDateDate/Time 16 Required? YesPerformanceTypeText 1 Lookupwizard"E";"M"Required? YesNumber of TicketsText 10 Validationrule<7Required? YesEnd Date Date/Time 16 Required? NoCost of Seats Text 6 Required? No
 
Adam Bullock
 –
8035Page|
3
 19319
Customer
Order NumbertempNumber 5 - Foreign keyRequired? NoTitle Text Field 4 Lookupwizard"Mrs";"Miss";"Mr";"Ms"Required? YesFirst Name Text Field 25 Required? YesLast Name Text Field 25 Required? YesAddress Line 1 Text Field 25 Required? YesTown Text Field 16 Required? NoCounty Text Field 16 Required? YesPost Code Text Field 7 Input mask LL09#0LLValidationTextIncorrect Post CodeRequired? YesCard Type Text Field 16 Required? YesCard Number Text Field 12 Required? YesExpiry Date Date/Time 16 Required? YesStart Date Date/Time 16 Required? NoI have created this data dictionary so that if i was going to get someone else tocreate my database for me they would be able to do the entity tables with only thisone sheet.Below I have explained what some of the above terminology is.
o
 
Data types
- are there to help the database programme understand whattypes of it is dealing with.
o
 
Field length
 
 –
is there to limit the number of characters that the user canenter into the data field.
o
 
Validation
 
 –
is there to prevent the wrong data from being entered.
 
Validation type; Required
 
 –
this means that the field that the user inmust be filled out with the correct information.
 
 
Validation type; Lookup wizard
 
 –
is so that the user can choose froma preset range of data, so by choosing one of the given options theyare not entering incorrect data. E.g. th
e ‘title’ of a person; mr, mrs,
etc.
 
 
Validation type; Validation text
 
 –
is what is displayed if the userenters the wrong information.
 
 
Validation type; Input mask
 
 –
to prevent the wrong data from beingentered. E.g a post code.
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...