I had a request regarding how to identify unused indexes across all databases on a SQL Server instance (rather than just the current one). I’ve written this script before so thought I’d post it up here on my blog for the future use of myself and others. The script uses the undocumented sp_MSforeachdb internal stored … Continue reading Identify Unused Indexes across all Databases