looking good bulk insert xml shredding instance sql 2005


a small assistance needed. i'm receiving an xml record identical this:



<?xml version="1.0" encoding="utf-16"?>
<dc:grantee xsi:schemalocation="http://www.blahblahblah.com/fullschema test.xsd " xmlns:dc="http://www.blahblahblah.com/fullschema" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance">
<rpgid>90cu0024</rpgid>
<planid>01</planid>
<case>
<caseid>100001</caseid>
<rpgid>90cu0024</rpgid>
<file_o>2008-02-08t00:00:00</file_o>
<adult>
<adultid>100001a1</adultid>
<caseid>100001</caseid>
<aprimary>1</aprimary>
<arltnshp>bm</arltnshp>
<adob>1978-12-03t00:00:00</adob>
<aracai>1</aracai>
<asex>2</asex>
<satx>
<satxid>md2120378</satxid>
<adultid>100001a1</adultid>
<saassess>2008-02-22t00:00:00</saassess>
<pubprvtx>1</pubprvtx>
<txadmit>2008-02-23t00:00:00</txadmit>
<txset>5</txset>
</satx>
</adult>
<child>
<childid>100001c1</childid>
<caseid>100001</caseid>
<cindex>1</cindex>
<chbdate>2008-02-05t00:00:00</chbdate>
<chsex>1</chsex>
<chracai>0</chracai>
<maltx>
<maltxid>10000023</maltxid>
<childid>100001c1</childid>
<rptdt>2008-02-05t00:00:00</rptdt>
<chmal1>2</chmal1>
</maltx>
</child>
</case>




what i need import bit tables stored proc. i've amateurish anything whole regurgitation examples books online, uh, online. i need small syntax walk-through shows i bulk insert record (using openrowset?) following take information separate relating tables while surpassing keys. seems should easy, nonetheless anxiety component only tough by. i also have opening schema i need explain well.



anybody have good reference?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

using mvc, should hoop communication between views? between models?