开发者

Partitioning Existing Tables

How do I part开发者_StackOverflow社区ition existing table in SQL Server 2005/08? I couldn't find a better clue on it.


Here is a full article on how to do this. (Create table, insert data, then partition)

Trick is to move the table to the new partition.

DROP INDEX MyTable_IXC ON MyTable WITH (Move To [Data Partition Scheme] (ID) )


Since you give no errors I suppose you are looking for general information on how to do it? Partitioning is not something you can master in just a few seconds. Some information on the subject can be found in the following links.

SQL2005: http://msdn.microsoft.com/en-us/library/ms188706(SQL.90).aspx

SQL2008: http://msdn.microsoft.com/en-us/library/ms188706.aspx

sqlskills article http://www.sqlskills.com/resources/Whitepapers/Partitioning%20in%20SQL%20Server%202005%20Beta%20II.htm

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜