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 all database table DDL

By cjm30305,

This script starts in the master database, and then goes to each USER database and creates the DDL for each USER table in every database.  You can then save the results or copy them to a new query window to run on another server.

Total article views: 428 | Views in the last 30 days: 5
 
Related Articles
FORUM

Database

Database

FORUM

Database Sync

Database

FORUM

Database suspect

Database

FORUM
FORUM

Database Synchronization

Database Synchronization

 
Contribute