October 12, 2006 at 10:09 am
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!!!
.
October 13, 2006 at 10:35 am
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
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy