Posted by: reverse_engineer August 15, 2008
Question to Chintamani and other SQL experts
Login in to Rate this Post:     0       ?        

try this syntax:

 

bcp "select * from whatever" queryout c:\authors.txt -c -T

basically i think you need the quotes around your query and not your export file... let me know if that helped

Read Full Discussion Thread for this article