Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 



BIN Function

Description

The BIN function converts a BIGINT type number into binary string. If an input string is NULL, NULL is returned.

Syntax

BIN( n )

  • n : A BIGINT type number
Example

SELECT BIN(12);

'1100'