Solved

Create Data Dictionary for MS SQL Server Database

Posted on 2007-12-05
5
3,951 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
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…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

932 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

11 Experts available now in Live!

Get 1:1 Help Now