I’m working on a C# project using a SQL Server 2008 database. There are 50+ tables in the database and from the name alone, the purpose of these tables and the columns within them aren’t immediately obvious. I want to create some form of documentation so future team members will know what the columns and tables do.
I’m looking for the SQL Server equivalent of C# “code comments” or “XML documentation on a method” – something a new person can glance at to gain understanding of a database table or column.
What are some options?
You can add extended properties
Viewing Extended Properties
e.g. displays all extended properties in the AdventureWorks2008R2 sample database
Fun with Extended Properties in SQL Server 2008