SCD Types Flashcards

1
Q

Type 0

A

BookDim - originalPrice

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

Type 1

A

BookDim - currentPrice

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

Type 2

A

BookDim - price, startDate, endDate, remarks, currentFlag

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

Type 3

A

BookDim - currentPrice, previousPrice

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

Type 4

A

BookDim AND BookPriceDim - ID, startDate, endDate, Price, Remarks

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

Type 6

A

BookDim - currentPrice, previousPrice, startDate, endDate, remarks, currentFlag

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

For SCD 2, 3 and 6 what additional condition do we need when querying using price

A

where f.date >= p. start_date and f. date<= p. start_date

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