|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, May 09, 2013 8:30 AM
Points: 51,
Visits: 600
|
|
This errors Message was found in the Job History.
2013-02-27 12:28:18.758 Agent message code 20037. The process could not bulk copy into table 2013-02-27 12:28:18.838 Category:NULL Source: Microsoft SQL Server Native Client 11.0 Number: Message: End of file reached, terminator missing or field data incomplete 2013-02-27 12:28:18.838 Category:NULL Source: Number: 20253 Message: To obtain an error file with details on the errors encountered when initializing the subscribing table, execute the bcp command that appears below. Consult the BOL for more information on the bcp utility and its supported options. 2013-02-27 12:28:18.838 Category:NULL Source: Number: 20253 Message: bcp "TestDB"."dbo"."ReportType" in "C:\Testing\ReplData\unc\xxxxxxxxxxxxxxxx\20130227175358\xxxxxxxxb227380_514.bcp" -e "errorfile" -t"<x$3>" -r"<,@g>" -m10000 -S SqlSrvB -T -w
In the Replication "Distributor to Subscriber History'
Error messages: The process could not bulk copy into table '"dbo"."ReportType"'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20037) Get help: http://help/MSSQL_REPL20037 End of file reached, terminator missing or field data incomplete To obtain an error file with details on the errors encountered when initializing the subscribing table, execute the bcp command that appears below. Consult the BOL for more information on the bcp utility and its supported options. (Source: MSSQLServer, Error number: 20253) Get help: http://help/20253 bcp "TestDB"."dbo"."ReportType" in "C:\Testing\ReplData\unc\xxxxxxxxxxxxxxxx\20130227175358\xxxxxxxxb227380_514.bcp" -e "errorfile" -t"<x$3>" -r"<,@g>" -m10000 -S SqlSrvB -T -w (Source: MSSQLServer, Error number: 20253) Get help: http://help/20253
When Ran the BCP in Command Prompt
I got Starting Copy..... 0 Rows Copied.
Bother are Sql Server 2012 servers In my table one of the column dataype is timestamp and the schema structure is same on the both publisher and subscriber instances.
I hope in the BCP Files there is data but it not able to load data.
Please help me to resolve this issue.
I appreciate your help..
Thanks
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 6:23 AM
Points: 32,903,
Visits: 26,784
|
|
It means that the data in the file or the structure of the data isn't what BCP was expecting. I suspect that the only way to find out is for you to post the actual BCP command you're using (be careful not to include the password) and attach the datafile. Of course, don't attach a file that has any sensitive or private information in it.
Since this appears to be for replicationn, the fix might be to drop and rebuild the replication.
--Jeff Moden "RBAR is pronounced "ree-bar" and is a "Modenism" for "Row-By-Agonizing-Row".
First step towards the paradigm shift of writing Set Based code: Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column."
For better, quicker answers on T-SQL questions, click on the following... http://www.sqlservercentral.com/articles/Best+Practices/61537/
For better answers on performance questions, click on the following... http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
|
|
|
|