Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 How to import XML Data into database...

Author  Topic 

hirani_prashant
Yak Posting Veteran

93 Posts

Posted - 2008-06-25 : 08:24:40
How can one Import XML Files into SQL Server 2005. I do have that XML file only with me. I don't have related structure present there in database.

I need some way that can create the table structure first by reading that file and then import data into that table.

Please, help me.


-- prashant

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-06-25 : 08:33:15
Have you tried using xmlsource and OLEDB destination connections in SSIS data flow component?
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-06-25 : 11:36:04
Check ForXML in booksonline.
Check this one:
http://msdn.microsoft.com/en-us/library/ms191184.aspx
Go to Top of Page
   

- Advertisement -