scheduler(repeat_interval)【每日一译】--2013-01-29

本文深入解析了在用户定义频率中repeat_interval和byperiod的作用,包括它们如何形成周期,如何选择特定周期,并通过实例展示了如何定义季度等特定时间周期。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

repeat_interval关于period参数


PERIODS This identifies the number of periods that together form one cycle of a

user-defined frequency. It is used in the repeat_interval expression of
the schedule that defines the user-defined frequency. It is mandatory when
the repeat_interval expression in the main schedule contains a
BYPERIOD clause. The following example defines the quarters of a fiscal
year.

FREQ=YEARLY;BYDATE=0301,0601,0901,1201;PERIODS=4

periods表示一个时期的数字,它形成一种用户自定义频率的循环格式。它用于定义在用户

自定义频率中repeat_interval的表达式中。它将被引用的当repeat_interval表达式在主调用计划

中使用byperiod语句。以下的语句定义了一个的4个季节;

FREQ=YEARLY;BYDATE=0301,0601,0901,1201;PERIODS=4


BYPERIOD This selects periods from a user-defined frequency. For example, if a main
schedule names a user-defined frequency schedule that defines the fiscal
quarters shown in the previous example, the clause BYPERIOD=2,4 in the

main schedule selects the 2nd and 4th fiscal quarters.

byperiod选择用户定义频率的时期。比如像前面例子中一个主调用计划命名一个用户自定义

频率调用计划定义的整年多个季节,语句BYPERIOD=2,4在主调用计划中它将选择全年中

第2和第4个季节;

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值