SQL
Scalar Utility Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Return the current value of the sequence. Note that `nextval` must be called at least once prior to calling `currval`. |
| **Example** | `currval('my_sequence_name')` |
| **Result** | `1` |