Hi All,
I am working on 1 POC project.
I have 2 customer having source file in txt format, but the column sequence of both customer are different.
Number of column in all the files are same
like below.
CustA
ID NAME AGE
1 VIPIN 29
CustB
ID AGE NAME
2 29 jayesh
As per source file you can see that CustA have column sequence ID,NAME,AGE and CustB HAVE ID,AGE,NAME sequence .
I have target table #Temp with ID,NAME,AGE sequence.
Like that I have many files from both customer, I have to load in ID,NAME,AGE sequence from all source file to target table.
How can we change the sequence of source column before loading to target table