GPSPOW
asked on
BCP command from batch file runs cithout stopping
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\Document s\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.
Thanks
Glen
bcp "livendb.dbo.zzz_VTE6" out "C:\users\FSAdmin\Document
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.
Thanks
Glen
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I would love to use SSIS, but SQL Server does not have SSIS.
I got it to work with your suggestions.
glen