Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Globalization
»
XML Import into SQL 2000
XML Import into SQL 2000
Rate Topic
Display Mode
Topic Options
Author
Message
Nic-306421
Nic-306421
Posted Thursday, December 13, 2007 4:37 AM
Valued Member
Group: General Forum Members
Last Login: Monday, May 20, 2013 7:31 AM
Points: 58,
Visits: 540
Hi,
I was wondering if anyone could help me out, i'm trying to import an XML file into SQL Server 2000, i'm relatively new to XML but i've manage to get it importing an elements data from a file, no problems so far, however the XML document is made up of multiple elements (Asset, Debits and Amounts) - See attachments.
I have no trouble importing the actual data from the asset element by creating a mapping xml file (see attachment).
My problem arises, becuase I need to import the data from the debits element, it seems that I can either do the asset or debits element but not both. Oh i'm using the SQLXMLBulkLoad functionality through an activeX control in DTS. Sorry for posting this in the wrong location as well.
Any idea's?
Post Attachments
xml sample.txt
(
65 views,
336 bytes
)
xml mapping.txt
(
55 views,
1.00 KB
)
Post #432754
sameers.khare
sameers.khare
Posted Friday, February 12, 2010 11:13 PM
Grasshopper
Group: General Forum Members
Last Login: Saturday, March 06, 2010 3:39 AM
Points: 14,
Visits: 7
you need to use open XML commands in sql server 2000, it's simple as sql server doesn't support direct import of XML
Post #865051
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.