RE: how to import an xml file to sql
- From: Dee <Dee@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 16 Jan 2008 05:10:01 -0800
Here is a small example:
<Product Id="-av1011-bass">
<Code>AV1011-FS-BASS</Code>
<Description>Bass Industries Avalon [AV1011-FS-BASS]</Description>
<Url>http://www.bizchair.com/-av1011-bass.html</Url>
<Orderable>NO</Orderable>
<Taxable>NO</Taxable>
<Path>
<ProductRef Id="bass-industries"
Url="http://www.bizchair.com/bass-industries.html">Bass
Industries</ProductRef>
</Path>
<Caption><li>A blend of contemporary edge, softness and
comfort</li><li> A great synergy of design, special relationship and
function</li><li>Life time warranty on frames, springs, and moving
parts</li><li>2 year warranty</li><li><b>Come to BizChair.com for all your
Home Theater Furniture and for all your Home Furniture needs!</b></Caption>
</Product>
<Product Id="-ma1061-bass">
<Code>MA1061-FS-BASS</Code>
<Description>Bass Industries Matinee Lounger
[MA1061-FS-BASS]</Description>
<Url>http://www.bizchair.com/-ma1061-bass.html</Url>
<Orderable>NO</Orderable>
<Taxable>NO</Taxable>
<Path>
<ProductRef Id="bass-industries"
Url="http://www.bizchair.com/bass-industries.html">Bass
Industries</ProductRef>
</Path>
<Caption><li>Available in Black Leather Only</li><li>Straight Row
Only</li><li>Motorized Recline</li><li>Chaise Styling</li><li>Space
Saver</li><li>Life time warranty on all frames, springs and moving
parts</li><li>5 year warranty on leather</li><li>2 year warranty on all other
materials</li><li><b>Come to BizChair.com for all your Home Theater Furniture
and for all your Home Furniture needs!</b></Caption>
</Product>
For books online do I just look for SSIS?
Thanks
Dee
"ML" wrote:
Have you tried the examples in Books Online?.
You could also use SSIS to parse the XML and extract the information you
need, either way - you won't be able to avoid at least a bit of coding.
If you post a sample of the XML (not the whole thing, of course) then we can
help you come up with a more accurate solution.
ML
---
Matija Lah, SQL Server MVP
http://milambda.blogspot.com/
- Prev by Date: Re: Unit Testing
- Next by Date: RE: how to import an xml file to sql
- Previous by thread: RE: SSIS: Loading EXCEL into SQL Server - Cells w/ Data Load as NULL !
- Next by thread: RE: how to import an xml file to sql
- Index(es):
Relevant Pages
|
Loading