[英]What's the best way of exploring links between tables in SQL Server?
I'm relatively new to Microsoft SQL Server and have been asked to explore a database based on CRM 2011. I'm slightly overwhelmed by the number of tables and columns within tables and wondered if there was a query that would allow me summarise the metadata of each table.我对 Microsoft SQL Server 比较陌生,并被要求探索基于 CRM 2011 的数据库。我对表中的表和列的数量感到有些不知所措,想知道是否有一个查询可以让我总结元数据每张桌子。
It might be a newbie question, but I'm stumped.这可能是一个新手问题,但我很难过。
Do you have access to SQL Server Management Studio?您是否有权访问 SQL Server Management Studio?
If so, expand the database in question, then Database Diagrams
.如果是这样,请展开有问题的数据库,然后展开
Database Diagrams
。 If there are any diagrams for your database that will greatly help you visualize the schema.如果您的数据库有任何图表可以极大地帮助您可视化架构。 If there are none, you can create new diagrams with a subset of tables (or all tables).
如果没有,您可以使用表的子集(或所有表)创建新图表。
If you can't use SSMS, then here is a link to a list of third-party diagram tools: https://dbmstools.com/categories/database-diagram-tools/sqlserver?commercial=Free如果您不能使用 SSMS,那么这里是第三方图表工具列表的链接: https : //dbmstools.com/categories/database-diagram-tools/sqlserver?commercial=Free
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.