How to import a flat file without changing regional settings on the deployment server?

后端 未结 1 1301
面向向阳花
面向向阳花 2021-01-18 01:25

I am trying to read a text file in SSIS (2005/2008). I created a connection to the file and placed flat file source, and it works fine in preview but when I try to run I get

相关标签:
1条回答
  • 2021-01-18 02:05

    You should be able to set the LocaleID on the Flat File connection object. That will apply the English locale settings when reading that file without affecting the other things on your computer. (Look in the Properties window, not the Editor dialog.)

    Right-click on the flat file connection under Connection Managers section and select Properties. You can also select the flat file connection manager and press F4 to view the properties.

    Flat file connection manager

    Set the LocaleID according to your preference.

    LocaleID property

    0 讨论(0)
提交回复
热议问题