x
login about faq Site discussion (meta-askssc)

Importing XML using SSIS

Hello,

I have an XML file and an XSD defined for it. I am importing this XML file into SQL Server 2005.

The SSIS package runs fine but there is no data in the table. I'm creating the table on the fly through SSIS itself.

When I click on preview of OLEDB Task, it shows no data but the correct columns. I checked my mappings and everything else.

I search online and found some reference to namespaces, is there some sort of special namespace I need to put on the XSD or XML to import into SQL Server?

Please let me know.

Thank you, Slick

more ▼

asked Mar 24 '10 at 12:31 PM in Default

Slick84 gravatar image

Slick84
1.3k 71 102 142

(comments are locked)
10|1200 characters needed characters left

2 answers: sort voted first

Hi You do not need any special namespace in the xml or the xsd for importing data using ssis.Pls make sure the xsd defines the right schema of the xml.Try to open the xml in a browser and see if you can view the data normally. Thanks, Kannan

more ▼

answered Oct 22 '10 at 09:04 AM

aRookieBIdev gravatar image

aRookieBIdev
2k 24 39 46

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x749
x115
x58
x21

asked: Mar 24 '10 at 12:31 PM

Seen: 1543 times

Last Updated: Mar 24 '10 at 12:31 PM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.