July 7, 2008 at 10:13 am
All,
I am having an issue with a data conversion from a table to a flat file. I have an address filed that has commas in it. It is splitting the field when I do not want it to. How do I change the datasource so that this one item is not , delimited. Do I need to scrub all commas out of all my data? In 200 dts this is not an issue for me. I have tried everything from altering the data source to trying to change the source in the Bids. It is killing me. I know there has to be a way. I do not want to scrub the data.
Phil
July 7, 2008 at 2:20 pm
Shot in the dark: In your flat file destination definition, have you specified the text qualifier (usually ' or ")?
July 7, 2008 at 2:24 pm
I have specified a , but it won't let me specify anything else. I believe that the OLAP connection is overriding. But there is the source and then the Destination. They all seem to have a say. Is there a level of command here?
July 7, 2008 at 2:31 pm
The delimiter (,) and text qualifier (") are two different things in the flat file destination definition. The flat file destination definition should have the final say in what it looks like in the destination file.
July 7, 2008 at 2:36 pm
It is the delimiter that I am having trouble with. For example and address that has a comma in it. Before I could force DTS to see say 40 spaces and drop the item in there comma or no comma. In SSIS I cannot seem to do that. I have tried Fixed width but that is not working either. I have gone to replace(field,',',' ') for name and address.
July 7, 2008 at 2:46 pm
I haven't had any luck with fixed column files (as it sounds like you are trying to do). I was able to get all of my vendors at my previous place of employment to move to comma delimited. For the one that would not move, they didn't get updates more than once per month since I had to use Access to export the data.
I just found a process here with my new employer that does create an export but uses an "export table" generated from a stored procedure to build each record. Then, the SSIS package simply exports a single column without text qualifiers or delimiters.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply