|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 2:42 PM
Points: 193,
Visits: 773
|
|
Hi Experts,
Can you please help me in movin my 4 table partitions of a table to 4 different file groups. Right now all the partitions are on Primary file group.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Tuesday, April 16, 2013 8:34 AM
Points: 23,
Visits: 128
|
|
First you should check few things before moving a table
1. You cannot change the data type of the partitioning column once the table is partitioned. 2. You can move an index to a partition scheme after it has been created. 3. You cannot use the SWITCH option of ALTER TABLE statement on replicated tables.
Have a look at quite similar discussion ..
http://dba.stackexchange.com/questions/16708/moving-large-number-of-tables-to-different-filegroups
Either you can go for a third party tool for moving table partitions to different file group like Lepide SQL Storage Manager
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Friday, April 26, 2013 2:58 PM
Points: 221,
Visits: 452
|
|
I think the easiest would be to create a new partition function and move the table to that new function. I'm assuming you want to move the whole table which has 4 partitions.
--------------------------------------------------------------- Mike Hahn - Future MCM 2025  Right way to ask for help!! http://www.sqlservercentral.com/articles/Best+Practices/61537/ I post so I can see my avatar  I want a personal webpage  I want to win the lotto  I want a gf like Tiffa
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Monday, February 04, 2013 12:43 AM
Points: 10,
Visits: 45
|
|
The above all mentioned operation can also be performed easily by any sql management software in a very few time it save lot of time of DBA
http://www.sqlservermanagement.net/
|
|
|
|