BCP Export a CSV file

  • I am becoming fairly good at BCP EXport and I got the file to work perfectly with my format. However I think I have a permission issue on my file server where the only place I can send the file is to "C:\windows\system32". This is the same directory that all of my file formats went to. I am doing all my development on my on PC and then plan on porting the database to an acual server.

  • I would agree about the permissions issue. What is the server logged in as and what are you using to do the BCP Export (ie: xp_Cmdhell?)

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Thank You for your response on confirming my problem. Apparently I had a corrupted install. For other reasons I had to reinstall SQL Server 2008. AFter the reinstall the problem was solved.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply