Syntax
PERIOD_ADD(P,N)
Purpose
Adds N months to the period P. The format of P is YYMM or YYYYMM.
The return value is in the YYYYMM format.
Note
The parameter P cannot be a DATE value.
Examples
obclient> SELECT PERIOD_ADD(200801,2);
+----------------------+
| PERIOD_ADD(200801,2) |
+----------------------+
| 200803 |
+----------------------+
1 row in set
