0 évaluation0% ont trouvé ce document utile (0 vote)
10 vues3 pages
This document summarizes the mapping between source tables EMP and DEPT to a target table EMP_DEPT_INFO. The source tables contain employee and department data with attributes like Empid, Ename, Job, Sal, Deptno, Dname, and Loc. The data will be moved as-is from the source to the target with some transformations - department name will be abbreviated based on value, and department location will be abbreviated based on value. The target table will contain the transformed employee and department data with attributes like Employee_id, Employee_Name, Employee_job, Emp_sal, Deptno, Dept_name, and Dept_loc.
This document summarizes the mapping between source tables EMP and DEPT to a target table EMP_DEPT_INFO. The source tables contain employee and department data with attributes like Empid, Ename, Job, Sal, Deptno, Dname, and Loc. The data will be moved as-is from the source to the target with some transformations - department name will be abbreviated based on value, and department location will be abbreviated based on value. The target table will contain the transformed employee and department data with attributes like Employee_id, Employee_Name, Employee_job, Emp_sal, Deptno, Dept_name, and Dept_loc.
This document summarizes the mapping between source tables EMP and DEPT to a target table EMP_DEPT_INFO. The source tables contain employee and department data with attributes like Empid, Ename, Job, Sal, Deptno, Dname, and Loc. The data will be moved as-is from the source to the target with some transformations - department name will be abbreviated based on value, and department location will be abbreviated based on value. The target table will contain the transformed employee and department data with attributes like Employee_id, Employee_Name, Employee_job, Emp_sal, Deptno, Dept_name, and Dept_loc.
Mapping status Source table name Source attribute name Data type Length Mandatory
Done EMP Empid NUMBER 6 Yes
Done EMP Ename VARCHAR2 10 NO Done EMP Job VARCHAR2 10 NO Done EMP Sal NUMBER 10 NO Done EMP Deptno NUMBER 2 NO
Done DEPT Dname VARCHAR2 10 NO
Done DEPT Loc VARCHAR2 10 NO
Transforatmion rule Target table name Target attribute name Data type MOVE AS IS EMP_DEPT_INFO Employee_id Number MOVE AS IS EMP_DEPT_INFO Employee_Name VARCHAR2 MOVE AS IS EMP_DEPT_INFO Employee_job VARCHAR2 MOVE as is EMP_DEPT_INFO Emp_sal Number MOVE AS IS EMP_DEPT_INFO Deptno Number
IF DEPT.DNAME WHEN SHIPPING THEN
'S',CARGO,'C',ACCOUNTS,'A',SALES,'SA', RESEARCH,'R' WHERE Emp.Depno = DEPT.Deptno EMP_DEPT_INFO Dept_name VARCHAR2
IFDEPT.loc WHEN CHENNAI,THEN
'CH',MUMBAI,'MU',Delhi,'DL',Bangalore ,'BNG,Hyderabad,'HYD' EMP_DEPT_INFO Dept_loc VARCHAR2 Length Mandatory PK 10 Yes Yes 10 Yes NO 10 Yes NO 10 Yes NO 10 Yes NO