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)

Generate Quick Snapshot of table structures.

By Jason Scott Kelley,

I use this script to quickly compare databases. In the past, I would generate creation scripts and compare those but that is tedious at best. This script generates a report of the metadata in an easy to read format that includes...

- Table and Field Listing with types.
- Foreign Key information
- Primary Key and Index information
- Default Constraints
- Check Constraints (name only)
- Stored Procedures (name only)
- Views (name only)
- Other objects (name only)

This script can be modified to include more information if you like.

Total article views: 565 | Views in the last 30 days: 3
 
Related Articles
BLOG

SCRIPT: Basic Information About Indexes

I’m having a little fun with documenting basic information about indexes in my current project. I’m ...

SCRIPT

Cluster Information

This script will display information about the instance(s) on your cluster. Name of nodes, active no...

FORUM

@pre_snapshot_script

detailed information about the script

SCRIPT

Database Backup Information Scripts

Scripts used to validate the backups information as below 1) Database Backups for all databases F...

FORUM

Hardware Information

Hardware Information

 
Contribute