Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
The VARBIT data type is used for storing bit arrays that are under 32767 bits in length.
VARBIT [ (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.
VARBIT can also be specified as BIT VARYING. Regardless of which syntax is used, the data type is described as VARBIT.
The BIT VARYING data type is SQL language feature F511 of the SQL/1999 standard.
Both the BIT and BIT VARYING data types were dropped from the SQL/2003 standard. Hence with respect to the SQL/2008
standard, the BIT VARYING data type is a vendor extension.