Unexpected EOF encountered in BCP data-file
问题 I was trying copy data from a table to another table in another database using bcp. First a format file was created using !! bcp dbName1.dbo.tableName1 format nul -S serverName1 -T -f D:\tableName1_fmt.txt -n Then the data file was created using !! bcp dbName1.dbo.tableName1 out D:\tableName1.txt -S serverName1 -T -c Now I tried to import the data-file to another table in another database present in another server using the format file !! bcp dbName2.dbo.tableName2 in D:\tableName1.txt -f D: