BCP Error

  • We have a SQL2005 STD Ed. on one of the servers with Win2k3. I want to export the users list with bcp. I am running the below command:

    bcp "db name"..sysusers out srvname_dbname_sysusers_c.dat -SSRVNAME -T -c

    I was getting the below error:

    "An error occurred while processing the command line."

    How do we bcp out from a database with space in the Db name?

    Same command is working on other databases without having the space in the dbname.

    Please Advise!!!

    .

  • Have you tried:

    bcp [db name]..sysusers out srvname_dbname_sysusers_c.dat -SSRVNAME -T -c

    RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."

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

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