what is the order of executing rebuild/checkdb after attaching database in SQL 2012 from 2008R2.
1. change compatibility mode
2. run dbcc checkdb
3. alter index rebuild all on <table> with fillfactor=90
Is above order ok? or there is no particular order to execute above 3 steps after upgrade.