Hello All,
I'm new to this site and pretty new at using SQL. Here is the scenario: In trying to improve Rpting performance a DBA has taken commonly used attributes from DIMENSION_TABLE_Z, which are ID fields, and has added them to FACT_TABLE_A. The DBA's actions created and populated the ID's historically for the FACT_TABLE_A. I need to come up with a query to test if all the historical data was loaded properly. For instance, if I've added ORDER_ID to the FACT_TABLE, and populated it with historical data from the ORDER_ID field in DIMENSION_TABLE Z how would I test to see if all the fields were loaded using SQL?
I'm new to this site and pretty new at using SQL. Here is the scenario: In trying to improve Rpting performance a DBA has taken commonly used attributes from DIMENSION_TABLE_Z, which are ID fields, and has added them to FACT_TABLE_A. The DBA's actions created and populated the ID's historically for the FACT_TABLE_A. I need to come up with a query to test if all the historical data was loaded properly. For instance, if I've added ORDER_ID to the FACT_TABLE, and populated it with historical data from the ORDER_ID field in DIMENSION_TABLE Z how would I test to see if all the fields were loaded using SQL?