How to extract data from table to a remote(shared) path rather than to the database server path?
I tried with the following command :
bcp "select * from tblemp" queryout "\\server\folder\test.txt" -c -t , -S "DBserver -o "1.TXT" -U "Sa" -P "password"
and get the error msg as
bcp: Unable to open output file \\server\folder\test.txt: Permission denied.
can anyone help me out on this?