• I think there may be a bug in the SQL Server views sys.data_spaces and sys.destination_data_spaces when you run the switch out/merge statements in certain circumstances.

    http://www.sqlservercentral.com/Forums/Topic1548437-2799-1.aspx

    The problem is documented in the forum thread above with a reproduction, I'm not 100% sure but it doesn't seem to be working correctly.