简体   繁体   English

从数据库架构中获取XML架构(SQL Server 2008图表)

[英]Get XML schema from database schema (SQL Server 2008 diagram)

Get XML schema from database schema (SQL Server 2008 diagram) 从数据库架构中获取XML架构(SQL Server 2008图表)

I am using SQL Server 2008. Is their is a way to do this in the SQL studio enterprise manager? 我正在使用SQL Server2008。在SQL Studio企业管理器中,这是他们的一种方法吗?

Rather than write code or use an external tool 而不是编写代码或使用外部工具

SQL Server Management studio doesn't provide a way to do this. SQL Server Management Studio没有提供执行此操作的方法。

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. 否则,答案是否定的,不是没有编写代码或使用外部工具的答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM