BIN
Syntax
Description
Returns a string representation of the binary value of the given longlong (that is, [BIGINT](../../../../data-types/data-types-numeric-data-types/bigint.md)
) number. This is equivalent to [CONV(N,10,2)](../numeric-functions/conv.md)
. The argument should be positive. If it is a FLOAT
, it will be truncated. Returns NULL
if the argument is NULL
.
Examples
See Also
This page is licensed: GPLv2, originally from fill_help_tables.sql
Last updated
Was this helpful?