SQL Server - Import/Shred XML from XML file placed in a folder into table

If the requirement is to import/shred XML from XML file placed in a folder into table , then this can be done by creating stored procedure using XQUERY & OPENROWSET :

Refer my post on Technet gallery  - http://gallery.technet.microsoft.com/scriptcenter/SQL-Server-ImportShred-XML-7f3baa40#content

No comments: