You are on page 1of 4

m_ODS_TRGT_PRODUCT_DIM 2.

1 Check for the validity of the Source Qualifier query Run the The source query Qualifier should Query in run CDW_ODS successfu @CDWD lly Query runs successfully PASS Check Target Target the Run failed failed Propertie rows rows are s of the should be zero. session in zero. workflow monitor. Number of target failed rows should be zero.

2.2

Check the Run properties of workflow monitor to verify that there are no rejected/faile d rows

PASS

2.3

Based on Execute Both source system, the query should only the 2.3 a). match product ids Query that doesnt the exists in odssuper. odssuper.prod product_ uct_dim table dim should get table, inserted. based on record insert date in row_load _dt Execute Query 2.3 2.3 b). Check the mapping propertie s in workflow monitor. The number of target success rows.

Both outputs are matching

PASS

2.4

1) Execute Query Compare the 2.4 a) rowcount of to get product_DIM the row @CDW_ODS count of records that product should get _DIM inserted into 2) product_DIM Execute @ODSSUPER Query with that of 2.4 b) the records to get got inserted the row in count of Counts product_DIM product should @ODSSUPER _DIM match

Counts are matchin g PASS

2.5

Check if SELECT grant exists for product _dim of CDW_O DS in Record ODSSUP validation of ER. Both product_DIM Execute queries @ODSSUPER Query should with 2.5 a) return product_DIM and 2.5 null @CDW_ODS b)

Both queries are returnin g null PASS

m_ODS_TRGT_PRODUCT_DIM Query SELECT product_dim.src_prd_id, product_dim.prd_nm, product_dim.src_sys_sk FROM product_dim WHERE((('F' = 'F') OR(('F' = 'D') AND(product_dim.updt_date >= to_date('20091102010101', 'YYYYMMDDHH24MISS'))))) AND product_dim.src_sys_sk=4 SELECT * FROM odssuper.product_dim WHERE TO_DATE(row_start_dt,'DD-MON-YY')='28-JAN-10' Select count(*) from product_dim where ROW_LAST_UPDT_DT in (select max(ROW_LAST_UPDT_DT) from product_dim)) SELECT COUNT(*) FROM cdw_ods.product_dim cdw_ods WHERE src_sys_sk=4 AND cdw_ods.src_prd_id NOT IN (SELECT prd_id FROM product_dim WHERE src_sys_sk=3 AND row_last_updt_dt < (SELECT MAX(row_last_updt_dt) FROM product_dim)); SELECT COUNT(*) FROM ( SELECT src_prd_id FROM cdw_ods.product_dim cdw_ods WHERE src_sys_sk=4 AND cdw_ods.src_prd_id NOT IN (SELECT prd_id FROM product_dim WHERE src_sys_sk=3 AND row_last_updt_dt < (SELECT MAX(row_last_updt_dt) FROM product_dim)) MINUS SE SELECT COUNT(*) FROM ( SELECT prd_id FROM product_dim WHERE row_last_updt_dt IN (SELECT MAX(row_last_updt_dt) FROM product_dim) MINUS SELECT src_prd_id FROM cdw_ods.product_dim cdw_ods WHERE src_sys_sk=4 AND cdw_ods.src_prd_id NOT IN (SELECT prd_id FROM

2.1 2.3 a 2.4 a)

2.4 b)

2.5 a)

2.5 b)