sql server 2008数据库图表表名搜索
我有 SQL Server 2008 enterprise,其数据库最多包含 100 个表。我生成了包含所有表的数据库图表,因为我想了解数据库的概述。
我的问题是:如何快速找到我想要的图表,有没有关于图表搜索的搜索功能?
I have SQL server 2008 enterprise with a database containing up to 100 tables. I generated a database diagram with all of the tables because I want to get an overview of the database.
My question is : How can I quickly find the diagram I want, are there any search functions regarding to diagram search ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 SQL Server 中,图表存储在 sysdiagrams 表中,每当创建图表时都会创建该表。表定义如下。
除了该表之外,还创建了一些存储过程。
sp_helpdiagrams
过程将为您提供当前拥有的所有图表的列表。In SQL Server the diagrams are stored in the sysdiagrams table, which is created whenever a diagram is created. The table definition is as follows.
Along with the table, a few stored procedures are also created.
The
sp_helpdiagrams
procedure will give you a listing of all the diagrams you currently have.实际上SQL Server 2008不支持任何与您所要求的类似的功能。您必须手动进行搜索。
Actually SQL Server 2008 doesn't support any feature similar to what you are asking. You have to do the searching manually.