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

I am copying my query result into a temp table and trying to write the contents of the temp table into a flat file..

When I do:

BCP "#temp_NS_events" queryout c:\abc.txt -c -T

I get the error:

Incorrect syntax error near 'BCP'

Read Full Discussion Thread for this article