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)

Script all Indexes

By Murali,

This script will generate CREATE Index statements for all indexes in the database. Please let me know if you wish to enhance or add any other info to this script. I am planning to add the code to store the script into a file.

Total article views: 6411 | Views in the last 30 days: 8
 
Related Articles
FORUM

Monitoring script

script

FORUM

Script

Need Automated Script

FORUM

drop script

drop script

FORUM

Script component

Script component

Tags
indexing    
 
Contribute