Solved

Create Data Dictionary for MS SQL Server Database

Posted on 2007-12-05
5
3,946 Views
Last Modified: 2010-04-21
Hi experts:

Does anybody know if MS SQL Server contains a tool to create a Data Dictionary for a database, or if not then is there a good cheap tool that will create a data dictionary on a MS SQL Server database?

Thank you,
P
0
Comment
Question by:pdlarue
  • 3
  • 2
5 Comments
 

Author Comment

by:pdlarue
ID: 20410984
I'm using MS SQL Server Management Sudio Express 2005 to connect to the database on a network over the internet via an IP Address
0
 

Author Comment

by:pdlarue
ID: 20411036
I saw where TRACEYMARY suggested the following SELECT statement but it seems as if 2005 does not like sysproperties.
 
SELECT sysobjects.name AS [Table], syscolumns.name AS [Column], sysproperties.[value] AS Description
FROM (sysobjects INNER JOIN syscolumns
ON syscolumns.id = sysobjects.id) LEFT JOIN sysproperties
ON sysproperties.smallid = syscolumns.colid AND
sysproperties.id = syscolumns.id
where sysobjects.name = 'yourtable'
0
 
LVL 8

Accepted Solution

by:
i2mental earned 125 total points
ID: 20411056
As for Data Dictionary, are you looking for the MetaData for each column? Meaning do you want to be able to type your own description and see it in your dictionary? If so, you may look at SQLDoc from Red Gate. It's cheap and brings up all of that metadata into HTML outputs with the ability to type your own descriptions and have it update the database for you as well.

http://www.red-gate.com/products/SQL_Doc/index.htm
0
 
LVL 8

Assisted Solution

by:i2mental
i2mental earned 125 total points
ID: 20411079
You can also view this via a database diagram depending on how you want your output. With the database in SSMS, right click on data diagrams and create new diagram. Add the tables you want to see. You'll be able to see the relationships between each table amongst other things. You can select which columns and how much detail you want for each table by right clicking on them and selecting custom. Description is a column you can add.
0
 

Author Closing Comment

by:pdlarue
ID: 31455761
Sorry about the delay, i2mental.  I was waiting for more information and now I'm not even working with MS SQL Server.  Thanks for your help though.  Hopefully this will help somebody else.  Thanks again.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now