database design and development Flashcards
database
organised collection of records holding data so it can be stored and accessed
record
data held on one person or thing
feild
one item of data on record
general data protection regulations
give people more control of how organisations use their data
introduce penalties for organisations who fail to comply with rules
primary key
used to uniquely identify each record in table
foreign key
contains values that correspond to values in primary key of another table
referential integrity
relationship between tables must be consistent
4 types of data validation
restricted choice
presence check
field length
range check
restricted choice
limits what user can enter by restricting their choice to a list of acceptable values
presence check
used to stop important data being missed out and won’t allow blank fields
field length
forces entered data to be a specific no of characters
range check
forces entered data to lie in a certain range of values
data dictionary
used to illustrate the design of the tables in the database
- identifies primary and foreign key
- specifies names, data types of fields and validation