I need to look at a data warehouse and check that a type 2 change works correctly
I need to check that the vaild to date on a row is the same as the vaild from date on the next row.
This check is to make sure that a row has been ended has also been started correctly
thanks, Marc
The following relates to Kimball type-2 dimension table.
Note that this assumes
3000-01-01as a date in far future for the current entries.CustomerKeyis an auto-incrementing integer.This example should give you the list of rows with missing or miss-matched next-entries.
Also useful