如果 MySQL EXPORT_SET() 函數中提供的任何參數為 NULL,則函數將傳回 NULL。以下範例將示範它 -
mysql> Select EXPORT_SET(NULL, 'Y','N',',', 4); +----------------------------------+ | EXPORT_SET(NULL, 'Y','N',',', 4) | +----------------------------------+ | NULL | +----------------------------------+ 1 row in set (0.00 sec) mysql> Select EXPORT_SET(5, NULL,'N',',', 4); +--------------------------------+ | EXPORT_SET(5, NULL,'N',',', 4) | +--------------------------------+ | NULL | +--------------------------------+ 1 row in set (0.00 sec) mysql> Select EXPORT_SET(5, 'Y','N',',', NULL); +----------------------------------+ | EXPORT_SET(5, 'Y','N',',', NULL) | +----------------------------------+ | NULL | +----------------------------------+ 1 row in set (0.00 sec) mysql> Select EXPORT_SET(5, 'Y','N',NULL, 4); +--------------------------------+ | EXPORT_SET(5, 'Y','N',NULL, 4) | +--------------------------------+ | NULL | +--------------------------------+ 1 row in set (0.00 sec)
以上是如果任何參數為 NULL,MySQL EXPORT_SET() 函數傳回什麼?的詳細內容。更多資訊請關注PHP中文網其他相關文章!