COLS & COLSEXCEPT FILTER In Goldengate
Dear Readers, In this article we will see how to replicate only particular columns to the target table On Source database : Take Dept table and add two more columns
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
SQL> select * from dept; DEPTNO DNAME LOC ---------- -------------- ------------- 10 ACCOUNTING NEW YORK 20 RESEARCH DALLAS 30 SALES CHICAGO 40 OPERATIONS BOSTON SQL> alter table dept add Mobile number(10); Table altered. SQL> alter table dept add Pin number(6); Table altered. SQL> select * from dept; DEPTNO DNAME LOC MOBILE PIN ---------- -------------- ------------- ---------- ---------- 10 ACCOUNTING NEW YORK 20 RESEARCH DALLAS 30 SALES CHICAGO 40 OPERATIONS BOSTON |
Now on source dept have 5 columns(DEPTNO,DNAME,LOC,MOBILE,PIN) On Target database we should add same… Read More