dbTalk Databases Forums  

import xml to SQL using SSIS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss import xml to SQL using SSIS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
sweetpotatop@yahoo.com
 
Posts: n/a

Default import xml to SQL using SSIS - 06-17-2008 , 10:18 AM






Hi,

I am a newbie to SSIS, all I want to do is to push the xml data from a
xml file into a table in SQL and I know I can do it thru' SSIS.

Here is what happens:
1. I create a XML source which pts to my xml file and I generate the
xsd file on the spot (the option available at this XML source)
2. Then I create an OLE DB destination, which link to the SQL server
and table...
3. I use the green arrow and drag from the XML source to the OLE DB
destination, however, I am only allow to pick one field from the xml
file, but what I want is to push all fields from the xml file to the
table? Anything I am missing here?
4. Again, when I am trying to do the mapping within the OLE DB
destination, I am only given 2 columns to map, but I have more columns
than that.

Please help. Thanks in advance. Your help would be greatly
appreciated.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.