What is the use of switch operator used in partitioning the data

  • Hi,

    What is the use of switch operator used in partitioning the data in Sql Server 2008?

    I tried to google it but unfortunately I didnt find any detailed answers to it.

    Thanks in advance.

  • BOL:

    You can use the Transact-SQL ALTER TABLE...SWITCH statement to quickly and efficiently transfer subsets of your data in the following ways:

    Assigning a table as a partition to an already existing partitioned table.

    Switching a partition from one partitioned table to another.

    Reassigning a partition to form a single table.

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

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