SET_BIT
set_bit(bitstring, index, new_value)
Section titled “set_bit(bitstring, index, new_value)”- bitstring: BIT
- index: INTEGER
- new_value: INTEGER
Example
Section titled “Example”SELECT set_bit('0110010'::BIT, 2, 0);SELECT set_bit('0110010'::BIT, 2, 0);