sql server - Text Qualifier in flat file connection -


i have business scenario

  1. source files (text files) comes load sql database used flat file connection manager normal process.

  2. my requirement as, getting source files qualifier (") used text qualifier property in connection manager.

  3. for same set of files getting without text qualifiers in files there ssis packages failing.

here need information on ssis package handle files

  • if text qualifier exists in source data need eliminate while loading
  • if text qualifier not exist in source load data normal process

could implement both scenarios in same package.

thanks

prav

you pre-process files using powershell. there's article here talking how implement file wide replace. of course if you're comfortable writing vb.net implement same thing in scripting task in package.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -