Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Importing XML into SQL Server

Status
Not open for further replies.

rockyroad

Programmer
Feb 22, 2003
191
US
Hello,

Does anyone know if it is possible to parse through and import the STRUCTURE of an XML document and DTD and create equivillent SQLServer dtabase tables?

Scenario: I am presented with an XML document and a DTD for a product. I want to put the data in SQLServer to take atvantage of Indexing etc, so that web based application can query this data more efficiently. I do have a data model document, but the structure is very complex.

Is it possible then to import the structure on the fly, through a script or DTS, without having to manually write out the tables in a CREATE Table? Is there a way to parse through the inherit structure of the XML and DTD and create the SQL server tables based on this structure?

THANKS!!!!!! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top