?
Solved

Database Dictionary

Posted on 2010-11-30
7
Medium Priority
?
403 Views
Last Modified: 2012-05-10
Does anyone happened to have a script that will help with database dictionary?
0
Comment
Question by:Favorable
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 2000 total points
ID: 34242297
Do you mean to document your schema?
0
 

Author Comment

by:Favorable
ID: 34313632
Yes to document all datatbase schema.
0
 
LVL 39

Assisted Solution

by:BrandonGalderisi
BrandonGalderisi earned 2000 total points
ID: 34330538
I use SQL Doc, by Red-Gate software.  It works by adding extended database properties into MS_Description.
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 

Author Comment

by:Favorable
ID: 34335221
Does your company pays for it and what is the cost?
0
 
LVL 39

Assisted Solution

by:BrandonGalderisi
BrandonGalderisi earned 2000 total points
ID: 34340674
For JUST SQL Doc is $295 per user.  And if I asked yes my employer would pay for it.
0
 

Author Comment

by:Favorable
ID: 34348608



I need a t-sql query that will help to retrieve a particular table information in database like the following:



TableName, Column Names, Type, Length, Nullable
   



Also, to retrieve user stored procedure, Views, and Function.

I'm using these for my database documentation.






 


0
 
LVL 39

Assisted Solution

by:BrandonGalderisi
BrandonGalderisi earned 2000 total points
ID: 34356015
SELECT c.TABLE_NAME,c.COLUMN_NAME,c.DATA_TYPE,c.CHARACTER_MAXIMUM_LENGTH,c.IS_NULLABLE
FROM INFORMATION_SCHEMA.COLUMNS c

SELECT r.ROUTINE_NAME,r.ROUTINE_TYPE,r.DATA_TYPE
FROM INFORMATION_SCHEMA.routines r
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

765 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