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 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Problem in SQL Server with the XML Bulk Load compo

Author  Topic 

earthsantanu
Starting Member

1 Post

Posted - 2010-04-16 : 10:31:16
I want create a mapping schema file in SQLXMLBulkLoad. My

property XML have repeating tags below:

'<Images>
<image id="Small Image">
<url><![CDATA[98_1434442218_main.jpg]]></url>
<title>
</title>
</image>
<image id="Large Image">
<url><![CDATA[98_1434442218.jpg]]></url>
<title>
</title>
</image>
<image id="1">
<url><![CDATA[98_1434442218.jpg]]></url>
<title>
</title>
</image>
<image id="2">
<url><![CDATA[98_-1462313614.jpg]]></url>
<title>
</title>
</image>
<image id="3">
<url><![CDATA[98_-658384073.jpg]]></url>
<title>
</title>
</image>
</Images>'

Now i want to insert image1, image2,.... in different column in a

table(such as Image1, Image2 etc). Also every properties have

same images value.

So how can i map this with database. What need to be write in

schema file for this. What's is syntex? Waiting for reply.

Best Regards
   

- Advertisement -