May 19, 2009 at 9:51 am
I am attempting to import a text file which is comma delimited and pipe (|) text qualifier I am getting the error the column delimiter for column "Sequence" was not found. This particular field is an integer (incremental field) because of this I changed the field data type to unicode text simular to the other fields thinking this would resolve my issue unfortunately it didn't.
Any suggestions would be greatly appreciated.
May 19, 2009 at 10:03 am
Can you post some sample data from the file to know how it looks?
--Ramesh
May 19, 2009 at 10:23 am
|John |,|Doe |,| |,| |,| |,| |,|275 Mystreet |,| |,|MyCity |,|PR|,|Postal|,|Code |,|4|
|Jane |,|Dollar |,| |,| |,| |,| |,|14 Her Street |,| |,|HerCity |,|PR|Postal|,|Code |,|5|
Above is a couple lines of the code with names city replaced
May 19, 2009 at 10:24 am
Sorry not code data and the last numeric field is the Sequence field being referred to in the error
May 19, 2009 at 7:01 pm
Please post the error message.
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
May 19, 2009 at 8:29 pm
Is the "Sequence" column the last column you have defined in your flat file connection? If so, you're short by 1 column since you have a trailing pipe at the end.
Tim Mitchell
TimMitchell.net | @tmitch.net | Tyleris.com
ETL Best Practices
May 19, 2009 at 8:38 pm
Tim Mitchell (5/19/2009)
Is the "Sequence" column the last column you have defined in your flat file connection? If so, you're short by 1 column since you have a trailing pipe at the end.
Pipe is the text qualifier, not field delimiter, so I think it looks OK. Looks more like there is a discrepancy somewhere in data types between integer and string for the final field.
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
May 19, 2009 at 8:41 pm
You're right, I misread the OP's spec. Thanks.
Tim Mitchell
TimMitchell.net | @tmitch.net | Tyleris.com
ETL Best Practices
May 20, 2009 at 12:13 am
Mark Fyffe (5/19/2009)
|John |,|Doe |,| |,| |,| |,| |,|275 Mystreet |,| |,|MyCity |,|PR|,|Postal|,|Code |,|4||Jane |,|Dollar |,| |,| |,| |,| |,|14 Her Street |,| |,|HerCity |,|PR|Postal|,|Code |,|5|
Above is a couple lines of the code with names city replaced
The file format looks okay to me, can you post the exact error message (screen shot if possible)?
--Ramesh
May 20, 2009 at 8:13 am
Appreciate the responses guys I finally figured it out and feel a little dumb now I have the answer. Apparantly I had exported the file with an extra field and the SSIS package was not liking that. After I exported the file correctly the error vanished and my package ran properly. I guess I should have had two coffees yesterday -- thanks again for all your input.
Mark
May 20, 2009 at 8:57 pm
Glad it's working, thanks for the update.
Tim Mitchell
TimMitchell.net | @tmitch.net | Tyleris.com
ETL Best Practices
April 12, 2022 at 11:50 pm
Thank you for sharing!
This just solved my issue.
The client sent a csv file with additional columns that weren't in the other csv files. Essentially, the additional columns are not in our database.
Viewing 12 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic. Login to reply