【查询分区函数数据语句】
select $PARTITION.PartitionFunction_myName(addTime) as 分区编号,*
from you_tableName
where addTime>='2020-01-01' and addTime<'2020-01-02'
【查询分区函数数据语句】
select $PARTITION.PartitionFunction_myName(addTime) as 分区编号,*
from you_tableName
where addTime>='2020-01-01' and addTime<'2020-01-02'