Oracle OCP 1Z0 053 Q447(Schedule&BYMONTHDAY)

abstractcyj發表於2016-04-03
447.Which of the following calendaring syntax expressions would evaluate to the last day of every month?
A. FREQ = MONTHLY; BYMONTHDAY = 31
B. FREQ = MONTHLY; BYMONTHDAY = -1
C. FREQ = DAILY; BYDAY = -1
D. FREQ = MONTHLY; BYDAY = 31
E. FREQ = DAILY; BYMONTHDAY = LAST_DAY
Answer: B

記住last day of every month是用-1表示的,而不是LAST_DAY

參考:http://blog.csdn.net/rlhua/article/details/15499477
http://docs.oracle.com/cd/E11882_01/server.112/e25494/scheduse.htm#ADMIN12676

Run on the last day of every month.

FREQ=MONTHLY; BYMONTHDAY=-1;

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8520577/viewspace-2074510/,如需轉載,請註明出處,否則將追究法律責任。

相關文章