SQL Server process cannot bulk copy to table

Source: Internet
Author: User
Tags microsoft sql server mssqlserver

Original: SQL Server process cannot bulk copy to table

Simulate the problem here and record it.


In a thing copy, the published table has a field that is allowed to be null, and the field has a null value. Instead, the table was created in the subscription and the field is not null, resulting in the following error.


Error message: The process could not "" dbo "to the table." MyTable "" for bulk copy. (Source: MSSQL_REPL, Error number: mssql_repl20037) Get help: http://help/MSSQL_REPL20037 field size too large to get the error file that details the error encountered when initializing the subscription table, perform the bcp command. For more information about the bcp utility and the options it supports, see BOL. (Source: MSSQLServer, Error number: 20253) Get help: Http://help/20253bcp "Demo". " dbo "." MyTable "in" C:\Program Files\Microsoft SQL Server\mssql10. MSSQLSERVER\MSSQL\REPLDATA\UNC\DB_DEMO_SYNC\20160304164426\MYTABLE_2.BCP "-E" errorfile "-T" \n<x$3>\n "-r" \ n <,@g>\n "-m10000-sdb01-t-W (Source: MSSQLServer, Error number: 20253) Get help: http://help/20253



Therefore, whether the field is a null value should be consistent in the published and subscribed tables.



SQL Server process cannot bulk copy to table

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.