Home > Database > Mysql Tutorial > body text

看了SQLServer 的分区表的文章,想问下,可以不可以实现 动态的

WBOY
Release: 2016-06-07 15:39:37
Original
1264 people have browsed it

http://www.cnblogs.com/sienpower/archive/2011/12/31/2308741.html 这篇文章中介绍了分区表的使用 大致也看明白了, 现在我想实现一种功能 看文章中介绍,他是分了3个区, 我想让它按照时间,每月增加一个分区,可以么? 比如 2012-06-01 00:00:00 ~~ 2012

http://www.cnblogs.com/sienpower/archive/2011/12/31/2308741.html

 

这篇文章中介绍了分区表的使用

大致也看明白了,

现在我想实现一种功能

看文章中介绍,他是分了3个区,

我想让它按照时间,每月增加一个分区,可以么?

比如

2012-06-01 00:00:00   ~~   2012-06-30 24:00:00  为一个分区

2012-07-01 00:00:00   ~~   2012-07-31 24:00:00  为一个分区

2012-08-01 00:00:00   ~~   2012-08-31 24:00:00  为一个分区

……

无限持续下去

可以么??

 

 

看了SQLServer 的分区表的文章,想问下,可以不可以实现 动态的

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!