I downloaded the flat file from the FDA official site. The file is NDC Database File - Text Version (Zip Format).
I unzipped it and got product.txt
.
I tried to import it into my database using SSIS.
All columns were varchar(max)
.
SSIS failed with the error message:
[Flat File Source 2] Error:
Data conversion failed. The data conversion for column "PHARM_CLASSES" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
I have no solution and need help please.