Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Sorting Addresses from CSVs

$
0
0

Hi all

I have a CSV file which has it's information out of sync with it's column headers - the post code is in column Address1.  Please see attachment of a sample record.

Even though this is obviously wrong to the human eye, is there any way programmatically that i can:

  1. Place the Post Code under it's proper column and
  2. move the other pieces of information to the relevant columns?

SSIS or TSQL would suffice.

Thanks in advance.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>