I'm writing a pretty simple SSIS package in SSMS for exporting SQL table data to a plain text file. My source table has the following definition for the column Telephone:
[Telephone] [varchar](max) NULL,
Other columns in the table are NVACHARs. The file I'm preparing is also to be written in Unicode. But when my wizard runs this package (created by far on his own), I get the following error:
Messages
Error 0xc020802f: Data Flow Task 1: The data type for "input column "Telephone" (121)" is DT_TEXT, which is not supported with Unicode files. Use DT_NTEXT instead and convert the data to DT_TEXT using the data conversion component.
(SQL Server Import and Export Wizard)
Error 0xc0202094: Data Flow Task 1: Unable to retrieve column information from the flat file connection manager.
(SQL Server Import and Export Wizard)
Error 0xc004701a: Data Flow Task 1: component "Destination - Participants-J_txt" (85) failed the pre-execute phase and returned error code 0xC0202094.
(SQL Server Import and Export Wizard)
I don't understand what it wants from me. Could you please tell me what to do to have this file created without this issue?