Skip to contents
  • bin(string = VARCHAR): Converts the string to binary representation.

  • bin(value = BIGNUM), bin(value = UBIGINT), bin(value = BIGINT), bin(value = HUGEINT), bin(value = UHUGEINT): Converts the value to binary representation.

Usage

bin(value)

Arguments

value

BIGNUM | UBIGINT | BIGINT | HUGEINT | UHUGEINT

Value

VARCHAR

Overloads

  • bin(string = VARCHAR)

  • bin(value = BIGNUM)

  • bin(value = UBIGINT)

  • bin(value = BIGINT)

  • bin(value = HUGEINT)

  • bin(value = UHUGEINT)

SQL examples

bin('Aa')
bin(42)