dbTalk Databases Forums  

transfer xml file(multi tags) data to sql databse(1 table)

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


Discuss transfer xml file(multi tags) data to sql databse(1 table) in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
vinnakanna
 
Posts: n/a

Default transfer xml file(multi tags) data to sql databse(1 table) - 06-12-2009 , 12:27 AM






HI,
I have a problem while transferring XML file data into SQL DATABASE 2005
using SSIS package.
1. My XML file having multiple tags (<parent tag1>…..<child1>…..
</child1></<parent tag1> …etc)
2. My database having table name called(claim)with columns(i.e tags name
and columns name are same)
So,
My problem is,
I. I created one package.
II. Taken one XML SOURCE
III. And I gave my source xml file path
IV. Then obviously we will get multiple outputs (i.e parent and child tags)
from XML SOURCE.
V. i connected that multiple outputs to union_all( y i used bcoz i need
send all tags(data) to single table)
VI. but after union_all i connected to OLEDB but it showing red cross mark
means am not getting all tags

So the problem is here only
I need to send that respective tag value to database table(claim) columns.
But I am getting multiple outputs from source so I need to send all data in
the xml to a SINGLE TABLE…
Is there is any way to send all multiple outputs to a single table in
particular database.

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.