Hi,
Ok, here’s my situation. I have a CSV flat file. When you look at it in a text editor, the format is like:
"Contact Name","Customer","Adr1","Adr2","Adr3","City","State","Zip","Ctry","Phone","Slsm","Email"
In other words, quotes surround all of my data.
In SSIS, I have built a package “Customers.dtsx”.
Within the Flat File Source Data, I have the following properties.
Locale: English
Code Page: 1252 (ANSI – Latin I)
Format: Delimited
Text Qualifier: “
Header Row Delimiter: {CR}{LF}
Header Rows to Skip: 0
Columns names in the first data row: {checked}
When I preview this in the Flat File Connection Manager Editor, the data looks EXACTLY as I would like for it to look. The quote All of my column names are surrounded by quotes.
I add the Flat File Source to my Data Flow Task and connect it to my OLE DB Destination. The connection to my database table is fine.
Now, when I execute the package, I get the following error message on my Flat File Source:
“The column delimiter for column “”Email”” was not found.”
Ok, that’s the situation.
Here’s some things that I’ve tried to get this thing to work:
1) If I remove the Text Qualifier and leave it blank, I get the entire package to execute and my files get loaded into the database, except all of the data is surrounded by quotes.
2) I could change the column names to NOT be surrounded by quotes (Contact Name, Customer, etc.), but I’ll still get the complaint about a missing column.
Any ideas. I have rebuilt this several times. One time, about a month ago, I got it to work, but I don’t have that package anymore.
Thanks,
Mickeyj2
Ok, here’s my situation. I have a CSV flat file. When you look at it in a text editor, the format is like:
"Contact Name","Customer","Adr1","Adr2","Adr3","City","State","Zip","Ctry","Phone","Slsm","Email"
In other words, quotes surround all of my data.
In SSIS, I have built a package “Customers.dtsx”.
Within the Flat File Source Data, I have the following properties.
Locale: English
Code Page: 1252 (ANSI – Latin I)
Format: Delimited
Text Qualifier: “
Header Row Delimiter: {CR}{LF}
Header Rows to Skip: 0
Columns names in the first data row: {checked}
When I preview this in the Flat File Connection Manager Editor, the data looks EXACTLY as I would like for it to look. The quote All of my column names are surrounded by quotes.
I add the Flat File Source to my Data Flow Task and connect it to my OLE DB Destination. The connection to my database table is fine.
Now, when I execute the package, I get the following error message on my Flat File Source:
“The column delimiter for column “”Email”” was not found.”
Ok, that’s the situation.
Here’s some things that I’ve tried to get this thing to work:
1) If I remove the Text Qualifier and leave it blank, I get the entire package to execute and my files get loaded into the database, except all of the data is surrounded by quotes.
2) I could change the column names to NOT be surrounded by quotes (Contact Name, Customer, etc.), but I’ll still get the complaint about a missing column.
Any ideas. I have rebuilt this several times. One time, about a month ago, I got it to work, but I don’t have that package anymore.
Thanks,
Mickeyj2