DataModelling HealthInsurance Documentation
DataModelling HealthInsurance Documentation
DataModelling HealthInsurance Documentation
Excel
OTHERDETAILS_TABLE (dbo)
Other_Details_ID
[Gender(BK)]
LOCATION_TABLE (dbo)
Location_ID
[District(BK)]
DATE_TABLE (dbo)
DateKey
DateFullName
DateFull
Year
TIME_TABLE (dbo) Quarter
TimeKey
CLAIMSSTATUS_TABLE (dbo) QuarterName
Hour24 Claim_Intimation_Date_Key QuarterKey
Hour12 Claim_Intimation_Time_Key Month
AmPmString Other_Details_ID MonthKey
Minute Location_ID MonthName
Second Claim_Status DayOfMonth
FullTimeString24
NumberOfDaysInTheMonth
FullTimeString12
DayOfYear
WeekOfYear
WeekOfYearKey
ISOWeek
ISOWeekKey
WeekDay
WeekDayName
FiscalYear
FiscalQuarter
FiscalQuarterKey
FiscalMonth
FiscalMonthKey
IsWorkDayKey
Once Database Diagram is saved successfully. The Data Tables are automatically created by SSMS.
In the Table Design, For Dimension Tables (Location and Other Details) set the Surrogate Keys as
Indexed seed based Incrementers.
3. Loaded DATE DIMENSION TABLE BASED ON A SQL SCRIPT
7. Now exported both the location and other details back as csvs.
8. Used VLOOKUP function in Excel to map the fact table Foreign Keys of these Surrogate Keys.
9. Loaded Factless Fact Table. Claim Status Table.