How Do I Find the XML (XSD) Schema for a Table or View in SQL?

How Can We Help?

< Back

Answer

If you need to find the XML (XSD) schema for a table/view in SQL the following can help:

select top 0 * FROM [table name] FOR XML AUTO, XMLSCHEMA
replace [table name] with appropriate table name
Comments are closed.

This is the legacy version of the XMPro Documentation site. For the latest XMPro documentation, please visit documentation.xmpro.com

X