tigertoolbox
tigertoolbox copied to clipboard
usp_AdaptiveIndexDefrag - Database does not exist error on SQL 2017 database.
Selecting a statistic to update... Getting information on selected statistic... Determining modification row counter for statistic [PK_spotlight_playback_data] on table or view [spotlight_playback_data] of DB [SpotlightPlaybackDatabase]... Using sys.dm_db_stats_properties DMF... Error 911 has occurred while determining row modification counter. Message: Database '[SpotlightPlaybackDatabase]' does not exist. Make sure that the name is entered correctly. (Line Number: 1)
Any help?
Same on SQL 2019.
Solution here worked for me (second comment):
https://github.com/microsoft/tigertoolbox/issues/166