Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Loading multiple columns from a single column in a table?

$
0
0

Hey I loaded a file in to 1 column of my table (t1). So my tables column looks like this:

Col1

1,134926,Andrew,000621345

2,134989,Bronson,000213475

3,132131,Jade,000967421

I need to load these values in to another table (t2) in the respective columns. So,

t2.Id = 1

t2.SubId=134926

t2.LName=Andrew

t2.VId = 000621345

I can think of 2 options right now:

1. Doing a substring of the column in t1 (using Derived Columns). But the length of these fields might change!

2. Moving col1 from t1 to a flat file destination (so that I can get a CSV file) and then use this file as a source for my destination table (t2).

Any suggestions/ideas?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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