CONCAT() returns NULL if any argument is NULL. : CONCAT : String Functions MySQL TUTORIALS


MySQL TUTORIALS » String Functions » CONCAT »

 

CONCAT() returns NULL if any argument is NULL.


mysql>
mysql>
mysql>
mysql> SELECT CONCAT('My', NULL, 'QL');
+--------------------------+
| CONCAT('My', NULL, 'QL') |
+--------------------------+
| NULL                     |
+--------------------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


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

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo String Functions
» CONCAT