Switch out partition from Non Partition to Partitioned Table, different database

  • Hello

    I have below requirement :

    A non partitioned database with over 50 tables needs to be migrated to the Partitioned Database.

    How can I switch to partition table which resides in different database on same server? If it is not possible, what is the alternate way to do accomplish the same?

    Let me know if more specific information is required to answer this question

    Many Thanks

    dbkulkarni

  • A partition switch can only be done within the same database.

    You'll need to create non-partitioned tables in the same DB as the partitioned table (same filegroup as the destination partition), copy the data into them and then do the switch.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thank you Gail. I've got hint on next steps. I'll come back if I need more help on moving data.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply