I have researched the error with unable to open BCP host data-file and can't find my exact issue.
EXEC master..xp_cmdShell 'bcp "AIH"."dbo"."400_CSV" out "\\aisql\AIH400_FHCF_Audit.csv" -c -T -S"aisql"'
We have 4 other servers and the command works properly. On this particular server I can run this at the Command prompt and it requests a password. If I supply the sa password it works without a problem. How can I get around this statement executing in the context of sa as including the password for sa in a query is not an option.
Thanks,
Suzanne