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
 .NET Inside SQL Server (2005)
 how to read xml file using bcp

Author  Topic 

DURGESH
Posting Yak Master

105 Posts

Posted - 2008-07-28 : 22:49:42
hi all,
i want to read xml file using bcp
using

bcp "SELECT * FROM employees FOR XML RAW" queryout c:\myfile.xml -catserver -mcams -hipl -c -r -t

its gives error at queryout

can anybody comment on this
   

- Advertisement -