The best way to create the SQL database schema using an XSD file is a program called Altova XMLSpy, this is very simple:
- Create a new project
- On the DTDs / Schemas folder right clicking and selecting add files
- Selects the XSD file
- Open the XSD file added by double-clicking
- Go to the toolbar and look Conversion
- They select Create structure database from XML schema
- Selects the data source
- And finally give it to export the route calls immediately leave their scrip schemas with SQL Server to execute the query.
Hope it helps.