Historical Data Flashcards

1
Q

T/ F only Caboodle tables have a change type, not columns.

A

False. Columns and tables each have a change type depending on whether or not they track historical data in the source.

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

A tables change type is listed under what section in the Dictionary?

A

Properties section.

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

T/F in the Dictionary, Columns not labeled as type 2 are Type 1

A

True

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

Type 2 tables have additional columns to help make sense of historical data in the table. What are they?

A

DurableKey, StartDate, EndDate, IsCurrent

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

The FullAccess schema contains a special type of view for Type 2 tables with only the current data. How are they named?

A

The name of the table with “_Current” appended.

Ex:

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

What table and column would you use to generate a count of patients in SlicerDicer (Patients DM)?

A

PatientDim . PatientDurableKey because it’s Distinct.

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

What is a durable key?

A

DurableKey’s identify an entity. Type 2 tables have a DurableKey column which stores the same value for all rows in that table that correspond to the same entity.

This allows for grouping or summarizing data by the entity.

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

T/F All columns in a Type 1 table are type 1

A

True

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

T/F SELECT DurableKey FROM will only run if the table is Type 2

A

True

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

T/F In the query SELECT DurableKey FROM the value in the DurableKey column could repeat in multiple rows of the results.

A

True

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

If the DurableKey identifies an entity, what does the PrimaryKey represent?

A

The entity at a moment in time.

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

How does data get into Caboodle?

A

SSIS packages

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

Should you use a TargetKey or a Type 1 fact table to report on dates and times? why?

A

Type 1 Fact tables are the better source. A TargetKey will hold the date/time that Caboodle found out about it.

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