I've been uploading to a TSQL server with BCP and the upload intermittently stops. When I know it has stopped I can press ctrl-C and it will carry on instead of cancelling the upload. This doesn't lose any data, the correct number of rows will be inserted. Does anyone have any idea why this might be happening? The volume is in the millions and I don't want to babysit the upload even though it uploads at around 50,000 per second when functioning properly.
The command is:
bcp [server].[schema].[table] in "some.csv" -T -S [server name, port] -c F1 -t "¬" b 50000 -a65535 -h TABLOCK
The same error occurs without the -a65535 -h TABLOCK
section but that is there to increase upload speeds.
Thanks in advance!