Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I document tables and fields in SQL Server 2005

Tags:

sql-server

I've missed this somehow in my SQL Server learning process.

I'd like to be able to document tables/fields/procedures in our SQL Server 2005 environment, and I can't find a way to do this. Is this possible, or would I need a third party app of some kind?

This sounds like a no-brainer feature, so I'm probably overlooking it.

Thanks!

JH

EDIT: Specifially, I'm talking about documenting SQL objects ('this table is used for blah, and is referenced by foo, and bar.'). Thanks for all the help - you guys nailed it.

like image 819
Ducain Avatar asked Mar 31 '09 14:03

Ducain


2 Answers

SQL Server has Extended Properties that you can use for this purpose.

like image 68
Chris Shaffer Avatar answered Sep 24 '22 01:09

Chris Shaffer


One of the best documenting tools is called SQL Doc by RedGate software.

like image 24
TheTXI Avatar answered Sep 26 '22 01:09

TheTXI