SQL
Bitstring Functions
<div class="nostroke_table"></div>  
|   |   |
|:--|:--------|
| **Description** |Extracts the nth bit from bitstring; the first (leftmost) bit is indexed 0. |
| **Example** | `get_bit('0110010'::BITSTRING, 2)` |
| **Result** | `1` |