I have a troublesome text file I am trying to import into SQL using SSIS. I may try to write a VS C# application to correct the fields before I insert them in to SQL but here is the problem.
"The rain in Spain stays mainly in the "Plains"" or
"The rain in Spain stays mainly in the "Plains" instead of just
"The rain in Spain stays mainly in the Plains"
Out of 50,000 + lines there are about 100 where the number of quotation marks is messing up the import. Can anyone point to some code or provide hints as to how I can insure that every string field starts and ends with a quotation mark and has no other quotation marks in between the beginning and the end?