Hi All,
how canwe split the data in one row to multiple columns in csv file to sql server. Data in the csv is not delimitted but know the size of each column.
ForExample: The data in CSV is like(two rows)
USACASANJOSE94086 91APPLE
UK WLCARDIF 74016 11GOLF
i have to load the above data into a table with columns
Column | Start | End | Length | Example | |
Country | 1 | 3 | 3 | USA | |
State | 4 | 5 | 2 | CA | |
City | 6 | 12 | 7 | SANJOSE | |
ZIP | 13 | 17 | 5 | 94086 | |
Available | 18 | 18 | 1 | ||
zone | 19 | 20 | 2 | 91 | |
Item | 21 | 25 | 5 | Apple |