データベースからインライン SQL クエリを実行し、内容をテキスト ファイルに出力する SSIS パッケージを作成しました。もともとテキストファイルはカンマ区切りでしたが、エラーをさらに調査した後、パイプ区切りに変更しました。また、FirstName フィールドの部分文字列を作成し、SSIS プレースホルダー フィールドの長さが一致するようにしました。エラーメッセージは次のとおりです。
[Customers Flat File [196]] Error: Data conversion failed. The data conversion for
column "FirstName" returned status value 4 and status text "Text was truncated or one or more
characters had no match in the target code page.".
OLE DB ソースで使用している SQL ステートメントは次のとおりです。
SELECT
dbo.Customer.Email, SUBSTRING(dbo.Customer.FirstName, 1, 100) AS FirstName,
dbo.Customer.LastName, dbo.Customer.Gender,
dbo.Customer.DateOfBirth, dbo.Address.Zip, dbo.Customer.CustomerID, dbo.Customer.IsRegistered
FROM
dbo.Customer INNER JOIN
dbo.Address ON dbo.Customer.CustomerID = dbo.Address.CustomerID
パッケージがエラーなしで実行されるようにするには、他にどのような修正を行う必要がありますか?