SQL
Interval Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Construct a millennium interval. |
| **Example** | `to_millennia(5)` |
| **Result** | `INTERVAL 5000 YEAR` |