I have several date fields in my tables that do not have a value. For example a shipment date does not have a value until something is shipped. Date fields are defines as integers in the fact tables. However, allowing them to be null, causes problems with aggregate tables (These date fields cannot be part of the key in aggregates since they have null values)
I resorted into replacing nulls with 0s but I am not sure if this is the way to go. Is there an accepted technique for missing dates?
Thanks, OV
I resorted into replacing nulls with 0s but I am not sure if this is the way to go. Is there an accepted technique for missing dates?
Thanks, OV