x

SSIS ETL - To load CSV file

Hi,

I have a CSV file which has to be loaded in the table. I have to use SSIS ETL here. Now the issue is , the format of the CSV file is as below , there are 3 rows which is just the information of the file and then the column headers and again anaother group here XYZ is appeneded to same file , so how should I achieve this in Data Flow Task I want to load only the data which is coming after the column headers after for both the groups

I want to load both groups in the same table.

ABC - 01Nov2011
Group - ABC Trade
Portfolio - ABC Trade
Col1 Col2 Col3 Col4 Col5

A,B,C,D
E,F,G,H
I,J,K,L

XYZ - 01Nov2011 Group - XYZ Trade
Portfolio - XYZ Trade
Col1 Col2 Col3 Col4 Col5

K,L,M,N
O,P,Q,R

Please help...

more ▼

asked Nov 01, 2011 at 11:01 AM in Default

Kirman gravatar image

Kirman
334 29 29 31

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first
Please help on this issue...
more ▼

answered Nov 02, 2011 at 03:14 AM

Kirman gravatar image

Kirman
334 29 29 31

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

New code box

There's a new way to format code on the site - the red speech bubble logo will automatically format T-SQL for you. The original code box is still there for XML, etc. More details here.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x939

asked: Nov 01, 2011 at 11:01 AM

Seen: 726 times

Last Updated: Nov 01, 2011 at 11:01 AM