Question

I have a bat file that is using the bcp command to execute a stored procedure to a delimited file. When manually running the bat file, I get the following errors:

enter image description here

I'm using the -T parameter as I log into the database with Windows Authentication. Is there a setting I may need to change to fix this error?

Was it helpful?

Solution

The -S [DATABASE HOST NAME] argument needed to be passed to the bcp command.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top