How to get the distinct columns names after perform a full join?

Hi everyone, I’m attempting to perform a full join on two DataTables. However, upon execution, I encounter duplicate column names. My requirement is to obtain only the distinct column names. Can anyone assist me with this issue?



Hi,

Can you try FilterDataTable activity to keep necessary columns or to remove unnecessary columns.

image

OR

We can use the following expression to extract necessary columns.
(Please modify content of each item)

dt = dt.DefaultView.ToTable(False,{"NecessaryColumn1","NecessaryColumn2","NecessaryColumn3"})

Regards,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.