Posted by: Kalopoolbasi August 10, 2008
Question to Chintamani and other SQL experts
Login in to Rate this Post:     0       ?        
 Hi guys,

I am supposed to copy the result of a query into a flat file. After looking at your problem/solution, I tried the following:

 

Bcp Select.....From....Where..... out "c:\abc.txt" -c -T

Then I got the error:

Msg 102, Level 15, State 1, Line 12

Incorrect syntax near 'out'.

How should I get it to work?

Thanks

Read Full Discussion Thread for this article