Last Update: 03 September 2005
Product: StarQuest Data Replicator
Version: 3.x
Article ID: SQV00DR013
When replicating text or image columns containing null or zero-length data to SQL Server destination tables using the Replication Option native-loader function, you may experience one of two problems, depending on the SQL Server ODBC Driver version:
Bulk-copy commit failed (bcp_batch). ODBC message: SQLSTATE 37000, native error 4813, [Microsoft][ODBC SQL Server Driver][SQL Server]Expected the text length in data stream for bulk copy of text, ntext, or image data.
This problem can be resolved using one of the following methods:
The information in technical documents comes without any warranty or applicability for a specific purpose. The author(s) or distributor(s) will not accept responsibility for any damage incurred directly or indirectly through use of the information contained in these documents. The instructions may need to be modified to be appropriate for the hardware and software that has been installed and configured within a particular organization. The information in technical documents should be considered only as an example and may include information from various sources, including IBM, Microsoft, and other organizations.