Search code examples
sqlsql-serverdata-warehousefact-table

Row Inserted and Updated Time in Fact Table


I see there is an importance in having a row inserted and a row last updated fields in a fact table. But I could not find any standard data warehouse or a reference which says that this is a good thing to do. I am uncertain whether this is because it is a bad practice; if so why should it be so? If it is because of the data size, I see it is only 8bytes for a full date field.

Any help is greatly appreciated!!!


Solution

  • There's nothing talking about whether it's a good or bad practice because we include creation time and updated time only if we need them or ever will need them.

    It's a "good thing to do" if you need to access those columns and a "bad thing to do" if your table will never require those columns.