Databases — Data Integrity Flashcards

(4 cards)

1
Q

List

Types of database anomalies

A
  • Update
  • Insert
  • Delete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define

Update anomaly

A

When data that’s stored in multiple locations isn’t updated in every location.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define

Insert anomaly

A

When data cannot be added since it’s incomplete.

(i.e., missing required columns)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Define

Delete anomaly

A

Where deleting one piece of data also leads to the deletion of another piece of data.

(e.g., in a table of drivers and license plates, if a driver who owns a single license plate is deleted, the license plate data is deleted too.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly