ReferenceSQL ReferenceSQL FunctionsfunctionsBITWISE_NOTVersion: current [25.0.x]On this pageBITWISE_NOTCategories: BitwiseBITWISE_NOTReturns the bitwise NOT of the given operand.SyntaxBITWISE_NOT(op1 NUMERIC) → NUMERICop1: Value to invert.ExamplesBITWISE_NOT exampleSELECT BITWISE_NOT(0)-- -1BITWISE_NOT exampleSELECT BITWISE_NOT(9223372036854775807)-- -9223372036854775808