On Index Fragmentation, right click to “generate a defragmentation script”. If the table is in a schema other than dbo the script generated works. The script needs to include the schema.
If the schema is not in the script the following error appears:
Error:-
Msg 1088, Level 16, State 9, Line 1
Cannot find the object "performance_counter_values" because it does not exist or you do not have permissions.
You need to be signed in and under a current maintenance contract to view premium knowledge articles.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center