Skip to content

Returns the bitwise NOT of a numeric value.

func.bitnot(<x>)
func.bitnot(0)
┌──────┐
│ '-1' │
└──────┘
BITNOT(<x>)
SELECT BITNOT(0);
┌────┐
│ -1 │
└────┘