VARBIT data type

The VARBIT data type is used for storing bit arrays that are under 32767 bits in length.

Syntax
VARBIT [ (max-length ) ]
Parameters
  • max-length   The maximum length of the bit array, in bits. The length must be in the range 1 to 32767. If the length is not specified, then it is 1.

Remarks

VARBIT can also be specified as BIT VARYING. Regardless of which syntax is used, the data type is described as VARBIT.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.