Hi
i have the scenario that to get the details for not match information and update as well..
can you please
details :
1.Below mentioned the three table (IDENTIFY,TASK_INFO,PART_INFO) , based on these table to compare IDENTIFY (PART_ORG (COLUMN)
in UCTT,URTT Vs TABLE(PART_INFO ) COLUM(URTT,UCTT) not match values only display below format . below table details information
2. To update the party_info table based on IDENTIFY table .
input tables:
| IDENTIFY |
| T_SID | PARTY | PART_NUM | PART_ORG |
| 11100 | PARTYC | SAN42 | CTT |
| 11100 | PARTYR | RAJ84 | RTT |
| 11100 | PARTYS | RAJ84 | STT |
| 11100 | PARTYC | SAN42 | UCTT |
| 11100 | PARTYR | RAJ84 | URTT |
| 11101 | PARTYC1 | NAR42 | CTT |
| 11101 | PARTYR1 | KUM84 | RTT |
| 11101 | PARTYS1 | KUM84 | STT |
| 11101 | PARTYC2 | GEE42 | UCTT |
| 11101 | PARTYR2 | SUB84 | URTT |
| 11102 | PARTYC2 | GEE42 | CTT |
| 11102 | PARTYR2 | SUB84 | RTT |
| 11102 | PARTYS2 | SUB84 | STT |
| 11102 | PARTYC2 | GEE42 | UCTT |
| 11102 | PARTYR2 | SUB84 | URTT |
| 11103 | PARTYC3 | SAM42 | CTT |
| 11103 | PARTYR3 | CCA84 | RTT |
| 11103 | PARTYS3 | CCA84 | STT |
| 11103 | PARTYC3 | SAM42 | UCTT |
| 11103 | PARTYR3 | CCA84 | URTT |
II -input table
| TASK_INFO |
| T_SID | T_ID | ROW_DATE |
| 11100 | 111 | 4-Oct-16 |
| 11101 | 111 | 4-Oct-16 |
| 11102 | 112 | 4-Oct-16 |
| 11103 | 113 | 4-Oct-16 |
3-Input tables
| PART_INFO |
| T_ID | URTT | UCTT |
| 111 | RAJ84 | SAN42 |
| 111 | KUM84 | NAR42 |
| 112 | GEE42 | GEE42 |
| 113 | SAM42 | SAM42 |
I-output format
| OUTPUT -display |
| T_ID | URTT | UCTT | T_SID | PART_NUM | PART_ORG | STATUS |
| 112 | GEE42 | GEE42 | 11102 | GEE42 | UCTT | |
| 112 | GEE42 | GEE42 | 11102 | SUB84 | URTT | WRONG |
| 113 | SAM42 | SAM42 | 11103 | SAM42 | UCTT | |
| 113 | SAM42 | SAM42 | 11103 | CCA84 | URTT | WRONG |
II-output format
| Output-Update |
| PART_INFO |
| T_ID | URTT | UCTT |
| 111 | RAJ84 | SAN42 |
| 111 | KUM84 | NAR42 |
| 112 | GEE42 | SUB84 |
| 113 | SAM42 | CCA84 |
Thanks