SQL Server Scripts Various scripts I use for SQL Server General Database Scripts Check Index Fragmentation Database Backup Database Restore Column Defaults List Foreign Keys List Primary Keys List Refresh Views Row Level Audit Add Row Level Audit Remove Reporting Services Scripts Execution Permissions Report List Subscriptions Update Subscription Owner Primavera Scripts Database Backup Database Restore Remove Database Locks Remove Orphan Ids Remove User Sessions Update Synonyms Update Next Key Value WBS User Defined Values In A Pivot