Requirement : concatenate two column values with a delimiter(',')
| Table A | |
| Column 1 | Column 2 |
|---|
| 1 | A |
| Table B | |
| Column 1 | Column 3 |
|---|
| 1 | B |
Output :
The output is column 1 from Table A and Table B which is primary key and column 2||Column 3
I can get this functionality as below
Column 2||','||Column 3 but when column 2 is null and column 3 is not nullĀ i am getting ',' at the beginning which i don't want.
Please suggest.