I'm developing an application to migrate data from Interbase (non-Unicode) to SQL Server 2014. The FireDAC TFDBatchMove utility works fine for most of the data. The problems I run into are with BLOB fields (both Type 0 (Binary) and text).
1) BLOB binary data is corrupted (or unreadable) in SQL Server. I've tried using varchar(max), varbinary(max), and nvarchar(max) as target field type. We typically store PDF and Excel files in in these BLOB fields.
2) BLOB text data transfers fine for the most part. The problem here is related to size. For example if a large XML is stored in the text BLOB it throws an error on transfer Param Size > 8002.
Any help or suggestions are appreciated.