如果 quote() 函数的参数为 null,mysql 将返回 null。
示例mysql> select quote(null);+-------------+| quote(null) |+-------------+| null +-------------+1 row in set (0.00 sec)mysql> select name, quote(null) from student where id = 1;+--------+-------------+| name | quote(null) |+--------+-------------+| gaurav | null |+--------+-------------+1 row in set (0.08 sec)
以上就是如果 quote() 函数的参数为 null,mysql 将返回什么?的详细内容。