SQL - Scalar functions - NEXT_QUARTER
The NEXT_QUARTER function returns the first day of the next quarter after the date specified by the input.
The schema is SYSIBM.
The result of the function is DATE. If the argument can be null, the result can be null. If the argument is null, the result is the null value.
The following example returns the date value of the first day of the next quarter after the date specified by the input:
values next_quarter('2007-02-18') Result: 2007-04-01