I have a table with two columns..
I am just displaying one record for brevity
COL_STR KEY
COL_A, COL_B, COL_C, COL_D COL_A
I need a query to process the above two values and return the following
return_val
TGT.COL_B = SRC.COLB
TGT.COL_C = SRC.COL_C
TGT.COL_D = SRC.COL_D
i would like the value in the key column to be excluded (in the above example COL_A)
if key has following
COL_A, COL_B
the output should be:
TGT.COL_C = SRC.COL_C
TGT.COL_D = SRC.COL_D
Please let me know if this is possible..
Thanks,
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Most Valuable Expert award recognizes technology experts who passionately share their knowledge with the community, demonstrate the core values of this platform, and go the extra mile in all aspects of their contributions. This award is based off of nominations by EE users and experts. Multiple MVEs may be awarded each year.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.