参考:http://www.cnblogs.com/knowledgesea/p/3696912.html 及百度搜索sqlserver表分区 create partition function sgy_partitionfun (int) as range left for values(N'10000', N'20000') //drop partition function sgy_partitionfun BEGIN TRANSACTION --创建分区方案 CREATE PARTITI