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)

Table Index Store and Create

By Jorge Novo-@ETLDEVDBA,

The code will save all metadata information from a Table or database for restoring indexes and user created stats. Many times you want to restore a database or table,

This script will save all metadata related to the indexes for future used or storage.

Total article views: 883 | Views in the last 30 days: 4
 
Tags
indexing    
metadata    
sql server 2005    
sql server 7    
sysobjects    
 
Contribute