Solved

Importing XML Data into SQL Server - how to?

Posted on 2004-09-16
3
648 Views
Last Modified: 2008-03-17
I'm working with SQL Server 2000, VB and XML.

My VB application is receiving an XML file (Standard MISMO Credit Report layout).  What I need to do is import some fields (or all fields either way) from the XML file into my SQL Database to analyze.  I'm new to XML so I do not know where to begin?  How do I import data from an XML file into SQL tables?  I do not want to store the XML file in my SQL tables but actually stored specific values from the XML file into specific fields in my tables....?
0
Comment
Question by:SQL_MAN_4U
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 26

Accepted Solution

by:
rdcpro earned 300 total points
ID: 12080938
I answered this a couple times in the last few days.  Take a look at these:

http://www.experts-exchange.com/Web/Web_Languages/XML/Q_21132963.html#12071281
and
http://www.experts-exchange.com/Web/Web_Languages/XML/Q_21133476.html

Lots of great info in SQL Book online and the SQL XML 3.0 help documentation!

Regards,
Mike Sharp
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question