Database Normalization Flashcards

1
Q

1NF

A
  • Each table cell should contain a single value

* Each record needs to be unique

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

2NF

A
  • Be in 1NF

* All the non-key columns are dependent on the table’s primary key

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

3NF

A
  • Be in 2NF

* Has no transitive functional dependencies

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

What is a transitive functional dependency?

A

When a change to a non-key column might cause another non-key column change

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

What does BCNF stand for?

A

Bryce-Codd Normal Form

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

BCNF

A
  • Be in 3NF

* Non-Key data depend on the key[s] and nothing but the keys

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

4NF

A
  • Be in BCNF
  • Not contain more than 1 multi valued dependency

IE - Course depends on Professor and Book

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

5NF

A

also known as Project-Join NF

  • Be in 4NF
  • every non-trivial join dependency in that table is implied by the candidate keys
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

6NF

A
  • Be in 5NF

* no nontrivial join dependencies at all

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

What are some ways to Denormalize a database?

A

Using Views

OLAP Cubes

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

How can you use a GUID as a Clustered Index?

A

Create the GUID using NEWSEQUENTIALID()

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