Yes, that error occurs when your database collation is set to case sensitive.
Msg 208, Level 16, State 1, Line 1
Invalid object name 'SYS.DM_DB_INDEX_USAGE_STATS'.
To resolve, just CTRL+SHIFT+L to convert the text to lower case which is the right case to access the system view.
Tung Dang
Azure and SQL Server Solutions Provider
DataZip