设计好了分区方案才新建数据表的话

1.使用向导或者脚本新建数据库如下

数据表分区, 全新分区

2. 新建分区函数, 再建分区方案, 并制定这个分区函数

create partition function pt_orderdate(datetime)
as range right
for values('2003/01/01','2004/01/01')
go
 
create partition scheme PS_OrderDate
as partition PT_OrderDate to (SaleFile1,SaleFile3,SaleFile3)
GO

相关文章:

  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
  • 2022-01-11
猜你喜欢
  • 2021-06-27
  • 2021-11-26
  • 2021-11-14
  • 2022-12-23
  • 2021-09-13
相关资源
相似解决方案