Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Mapping Sheet 10092023
Mapping Sheet 10092023
Metadata Validations
JIRA104 2 4 for source
MAPPAINMAPPAING SHEET-2
test case description Test case actions|Test Script input expected output
HR.EM
select * from user_Tables P_TOT
where table_name = SAL_T
Check the target table HR.EMP_TOTSAL_TRG 'HR.EMP_TOTSAL_TRG RG
is available in the HR user or not '; one row selection
select * from
user_tab_columns
where table_name
='HR.EMP_TOTSAL_TRG HR.EM
'; P_TOT
Check the data type and data length of the OR SAL_T
target table HR.EMP_TOTSAL_TRG Desc HR.EMP_TOTSAL_TRG RG
as per the mapping sheet or not ;
select * from
user_tab_columns
where table_name in
('HR.EMPLOYEES
')
Check the data type and data length of the OR
target table HR.EMPLOYEES Desc HR.EMPLOYEES ;
as per the mapping sheet or not
HR.EM
P_TOT
Check the row count of the table select count(*) From SAL_T
HR.EMP_TOTSAL_TRG HR.EMP_TOTSAL_TRG RG
before the migration ;
HR.EM
Check the row count of the source table select count(*) From PLOYE
employees and departments before the HR.EMPLOYEES ; ES
migration
select round((sysdate-
to_date(HIRE_DT))/365,2)
Year,round(MONTHS_BETWE
EN(sysdate,to_date
(HIRE_DT)),2)
Months,round(sysdate
check the soruce hire date to round the date - to_date (HIRE_DT),2) days
with applying the transformations from dual
validate the data which are in the source and select * from table name
not in the target HR.EMP_TOTSAL_TRG after Minus
applying the business rules select * from table
select department_id,
department_name
from emp_Data
group by department_id ,
department_name
Check the department_id and department having count (*) >1
name column is not having any duplicates no rows expected
select *
from HR.EMP_TOTSAL_TRG
where department_id is null
or department_name is null
check the null exsistance of any of column in or emp_count is null
HR.EMP_TOTSAL_TRG or tot_salary is null no rows expected
Actual Output Result
As Expected PASS
As Expected PASS
As Expected PASS
0 PASS
As Expected PASS
As Expected PASS