SSISを使用して、フラットファイルからデータベースにデータを挿入しています。
そのためのデータフロータスクを作成しました。データを挿入するために、ソースとしてフラットファイルを使用し、ADONETの宛先を使用しています。
以下は、フラットファイルソースの設定がどのように見えるかです。
以下は私の「列」タブがどのように見えるかです
これは、入札とデータを使用してデータベースに適切に挿入されていることを実行すると正常に機能します。ローカルで実行すると、DTEXEC.EXEでも動作します。
Now, The problem is with executing the package on the server using dtexec.exe. On the server, data is inserted properly but the text qualifier (double quotes) given is totally ignored while inserting data to database. THE SAME WORKS TOTALLY FINE WHEN RUN LOCALLY. I have attached image below for how its stored in database.
I have checked SQL SERVER version and SSIS version locally and on remote server and both are same.
What can be the problem? Can anyone help?
So I found a solution for this problem. Thanks to LukeBI answer here
Create a string variable called TextQualifier and assign the value " (double quotes)
Select the connection manager, and in the Properties window select 'Expressions'. See below.
...をクリックし、プロパティ 'TextQualifier'を追加して、変数@ [User :: TextQualifier]を割り当てます。下の画像を参照してください
今では正常に動作しています。64ビットOSでも動作するようになりました。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加