CONCAT() จะคืน NULL หากอาร์กิวเมนต์ใดเป็น NULL หมายความว่า MySQL จะคืน NULL หากส่งชื่อคอลัมน์ที่มีค่า NULL เป็นอาร์กิวเมนต์หนึ่งของ CONCAT() ตัวอย่างจากตาราง Student:
ตัวอย่าง
รวมค่า 2 สตริง ที่แถวลำดับที่ 5 ค่าหนึ่งเป็น NULL ผลลัพธ์ก็เป็น NULL:
mysql> SELECT Name, Address, CONCAT(Name, ' Resident of ', Address) AS 'Detail of Student' FROM Student; +---------+---------+---------------------------+ | Name | Address | Detail of Student | +---------+---------+---------------------------+ | Gaurav | Delhi | Gaurav Resident of Delhi | | Aarav | Mumbai | Aarav Resident of Mumbai | | Harshit | Delhi | Harshit Resident of Delhi | | Gaurav | Jaipur | Gaurav Resident of Jaipur | | Yashraj | NULL | NULL | +---------+---------+---------------------------+ 5 rows in set (0.00 sec)