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)

Shrink Log File to Target Percentage

By Tommy Bollhofer,

Very useful on space constrained systems post index maintenance, etc. i.e.

exec usp_maintain_database_log

@target_free_pct = 20,

@minimum_size_mb = 500,

@backup_log_file_path = 'C:\TEMP\'



Total article views: 2063 | Views in the last 30 days: 1