some useful sql server scripts for database adminstration