我们知道第五个参数的默认值(即位数)是 64,因此如果我们不在第五个参数上指定任何值,MySQL 将检查最多 64 位的位并生成结果。然而,在跳过第四个参数(即分隔符)时,MySQL 将在显示输出时使用逗号 (,) 作为分隔符。
示例
mysql> SELECT EXPORT_SET(8,'Y','N')\G
*************************** 1. row ***************************
EXPORT_SET(8,'Y','N'): N,N,N,Y,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
1 row in set (0.00 sec)