SQL Clone
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)

Unused Objects in the Server

By Purushotham Kumar Katakam,

This Script is used to List out the objects lying in the box which were un used from the day of the sql server recycled. This will be useful to reclaim the unnecessary usage of space in the server and by this we can say the backup will consume less space.

Please copy the script into the sql box. Reveiw for a while and then execute and test it on any of the development box. Once you are confident enough please use on production box.

Total article views: 1890 | Views in the last 30 days: 2