ODI 11G INTERFACE FOR TOTALSAL AND TAX
Step 1: Reverse engineer source into source model
- right click on scott source model and reverse engineer emp table
Step 2: Reverse engineer Target into Target model
- Create table in target database
CREATE TABLE TGT_EMP
(
EMPNO NUMBER,
ENAME VARCHAR2(30),
SAL NUMBER ,
COMM NUMBER,
TOTALSAL NUMBER,
TAX NUMBER,
DEPTNO NUMBER
)
- Right click on TDBU Target model and reverse engineer tgt_emp table
Step 3: Create interface
- Expand projects → Right click on interface → new interface → name it as m_TOTALSAL_TAX
- Go to mapping tab
- drag and drop source EMP and target TGT_EMP into respective areas → click on ok on auto mapping window
- Go to totalsal column → in properties pane develop below expression
- Go to Tax column → in properties pane develop below expression
- select flow tab → then select target → select IKM SQL CONTROL APPEND
- select flow option as FALSE
- save → run → observe output of TGT_EMP table
No comments:
Post a Comment