Various T-SQL script for managing SQL server database