Posted by: Kalopoolbasi August 9, 2008
SQL Server Help
Login in to Rate this Post:     0       ?        

Hi Chintamani,

I have a similar problem. 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

 

Last edited: 09-Aug-08 11:17 PM
Read Full Discussion Thread for this article