Hi,
The following post and sample will help you. (This renames either of duplicated column name. )
Regards,