BIN(N) : BIN : String Functions MySQL TUTORIALS


MySQL TUTORIALS » String Functions » BIN »

 

BIN(N)


Returns NULL if N is NULL.

mysql>
mysql> SELECT BIN(12);
+---------+
| BIN(12|
+---------+
1100    |
+---------+
row in set (0.00 sec)

mysql>
mysql> SELECT BIN(NULL);
+-----------+
| BIN(NULL|
+-----------+
| NULL      |
+-----------+
row in set (0.00 sec)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo String Functions
» BIN