Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Where does BCP QueryOut Command Save File To

Avatar of davidcahan
davidcahanFlag for United States of America asked on
Microsoft SQL Server 2005
4 Comments1 Solution634 ViewsLast Modified:
Dumb Question.  One i think i already know the answer to.  I have a process that is kicked off via a web form on my web server.  This process runs a stored procedure that executes a BCP command and writes a file via the QueryOut command.  The dumb question is:  where is the file being saved to, the web server or the database server?  I think the answer is the database server.  And of course when i created this process i was working off a machine that has both the web server and database server on the same machine.    I totally spaced on the fact that the webserver and DB server split onto 2 different machines once the app migrates to production.

Anyone have a good workaround for this that would allow my web box to access the file?  The user is going to be presented a link after the process finishes that is supposed to allow them to open the file and view the information in it.
Avatar of rickchild
rickchildFlag of United Kingdom of Great Britain and Northern Ireland image

Our community of experts have been thoroughly vetted for their expertise and industry experience.

This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answers