Get XML schema from database schema (SQL Server 2008 diagram)
I am using SQL Server 2008. Is their is a way to do this in the SQL studio enterprise manager?
SQL Server Management studio doesn't provide a way to do this.
Pasting the following into a code window gives you something close:
select * from INFORMATION_SCHEMA.COLUMNS for xml auto
Failing that, the answer is no, not without writing code or using an external tool.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.