Re: openxml question
- From: JXStern <JXSternChangeX2R@xxxxxxx>
- Date: Mon, 07 Jan 2008 20:01:12 -0800
On Mon, 7 Jan 2008 21:32:31 -0500, "Mike C#" <xyz@xxxxxxx> wrote:
Are you actually shredding the XML data after you load it using
openrowset(...) or are you actually just storing it an an XML type variable
or column? I ask because casting character/binary data to XML and shredding
it to relational format are two completely different tasks.
Cast it to XML variable with schema to validate via XSD.
Then pass it to SP as XML with no schema, shred it there with four to
six queries mostly cross applies.
Only reason I use the unschema'd XML in the SP is so I can change the
XSD without first dropping the SP. I timed it both ways, seems to
make very little difference. The shredding is indecently fast. Takes
two seconds to shred into table vars, about ten seconds to write rows
to database.
openrowset used like this doesn't do that 1/8 of RAM, does it?
Thanks.
J.
.
- Follow-Ups:
- Re: openxml question
- From: Mike C#
- Re: openxml question
- References:
- openxml question
- From: DAXU
- Re: openxml question
- From: JXStern
- Re: openxml question
- From: Marc Gravell
- Re: openxml question
- From: Mike C#
- openxml question
- Prev by Date: Re: openxml question
- Next by Date: Re: openxml question
- Previous by thread: Re: openxml question
- Next by thread: Re: openxml question
- Index(es):
Relevant Pages
|
Loading