Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Another Script to Generate a DataDictionary

By Steven Steinberg,

Based on Ramesh Kondaparthy's script (Script to Generate DataDictionary for Database, posted 8/5/2005), I made a few format changes and included a few more columns.

I modified Ramesh's script so that I could copy the result and paste it into Word as the beginning of a Data Dictionary document.

(Hint: Once you've pasted the result into Word, do a Select All then an Insert Table.)

Columns included are:
table_name
column_order
column_name
column_datatype
column_length
column_precision
column_scale
column_allownull
column_default
column_description

Total article views: 484 | Views in the last 30 days: 6
 
Related Articles
FORUM

Script Table As misses or missing a column

script table missing a column scripting, sql management studio,

FORUM

Script Task In SSIS to Check column with Same value and change it accordingly

SSIS Script Task for Changing column values

SCRIPT

Get column names in a table

Script to get a table's columns

FORUM

Remove first two column in excel using Script Task

Remove first two column in excel using Script Task

SCRIPT

SQL Script to generate columns for triggers

SQL Script to generate columns for triggers

Tags
miscellaneous    
 
Contribute