Miscellaneous MS SQL scripts for every day management, development and troubleshooting