Hello all,
Can we read XML files stored on the server in SQL Server and put it in a table?
Thanking you.
Hello all,
Can we read XML files stored on the server in SQL Server and put it in a table?
Thanking you.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vijaya KadiyalaPosted Mar 21, 2009, 12:38 PM
Hi
Check out the below link
http://articles.techrepublic.com.com/5100-10878_11-5796532.html
Thanks -- Vijaya Kadiyala
http://dotnetvj.blogspot.com
Vyankatesh SuryawanshiPosted Mar 20, 2009, 5:08 AM
Hi Sateesh,
Thanks for reply.
But I want to read XML file from HardDisk.
Suppose my XML file is stored at c:\Test.xml.
How will you read it?
Sateesh ArvetiPosted Mar 20, 2009, 3:51 AM
INSERT INTO Test1 (col1, col2, col3)
(SELECT * FROM OpenXML(@iDoc, '/parentnode/',2) WITH
(col1 varchar(100),
col2 varchar(100),
col3 varchar(100)))