Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Bulk Copy to .txt

Author  Topic 

nguyenl
Posting Yak Master

128 Posts

Posted - 2008-03-21 : 13:42:18
bcp.exe northwind..products out "c:\nw_products.txt" –c -T

I am running this line of code, but I get an error. The error is:

Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near '.'.

why? Please help...

Thanks
   

- Advertisement -