The following is a BCP command in a Batch file I want to use to copy a SQL table to a CSV file:
bcp "livendb.dbo.zzz_VTE6" out "C:\users\FSAdmin\Documents\VTE6.csv" -c -t, -T -SHPC-DR1
When I run the batch file, it does not stop.
Can anyone see something wrong with the syntax?
I have something similar for a query which runs without a problem.