Hi can anyone help me with this !
My Source and Target tables are same.
Source
CREATE TABLE JUL_s_EMP
(
EMPNO number(4) NOT NULL,
ENAME varchar2(10),
JOB varchar2(9),
MGR number(4),
HIREDATE date,
SAL number(7,2),
COMM number(7,2),
DEPTNO number(2)
);
Target
CREATE TABLE JUL_t_EMP
(
EMPNO number(4) NOT NULL,
ENAME varchar2(10),
JOB varchar2(9),
MGR number(4),
HIREDATE date,
SAL number(7,2),
COMM number(7,2),
DEPTNO number(2)
);
I have done a simple pass thru mapping
Now when i make a small update in source table say salary of empno 7377
has been updated from 12000 to 13000.I want that change to be reflected in the
target table without inserting another row.What i mean to say is it should just
update the sal column in the target table with the new value.
How do i achieve this.
what options should i set in TARGET TABLE OPTIONS under SESSION PROPERTIES.
Which ones should i check.
Insert
Update(as Update)
Update(as Insert)
Update(else Insert)
Delete
Truncate Table
Can i achieve this change using this simple pass thru mapping or do i need
to use an Update Strategy Transformtion/Lookup transformation.
Please advise. I am a newbie.
Regards,
SAnjay
My Source and Target tables are same.
Source
CREATE TABLE JUL_s_EMP
(
EMPNO number(4) NOT NULL,
ENAME varchar2(10),
JOB varchar2(9),
MGR number(4),
HIREDATE date,
SAL number(7,2),
COMM number(7,2),
DEPTNO number(2)
);
Target
CREATE TABLE JUL_t_EMP
(
EMPNO number(4) NOT NULL,
ENAME varchar2(10),
JOB varchar2(9),
MGR number(4),
HIREDATE date,
SAL number(7,2),
COMM number(7,2),
DEPTNO number(2)
);
I have done a simple pass thru mapping
Now when i make a small update in source table say salary of empno 7377
has been updated from 12000 to 13000.I want that change to be reflected in the
target table without inserting another row.What i mean to say is it should just
update the sal column in the target table with the new value.
How do i achieve this.
what options should i set in TARGET TABLE OPTIONS under SESSION PROPERTIES.
Which ones should i check.
Insert
Update(as Update)
Update(as Insert)
Update(else Insert)
Delete
Truncate Table
Can i achieve this change using this simple pass thru mapping or do i need
to use an Update Strategy Transformtion/Lookup transformation.
Please advise. I am a newbie.
Regards,
SAnjay