• I'm getting this error when running the above script (on both SQL 2008 and SQL 2012):

    Msg 208, Level 16, State 1, Line 2

    Invalid object name 'sys.sysobjvalues'.

    __________________________________________________________________________________
    SQL Server 2016 Columnstore Index Enhancements - System Views for Disk-Based Tables[/url]
    Persisting SQL Server Index-Usage Statistics with MERGE[/url]
    Turbocharge Your Database Maintenance With Service Broker: Part 2[/url]