I understand the when we shrink a database, SQL Server will always move the last pages up in the list. If I rebuild my index and then perform shrink, what would it do as there would be nothing to move up in the queue? I am trying to figure out how it would cause fragmentation in this case. Thanks in advance.
↧