Home > Database > Mysql Tutorial > What does the MySQL MAKE_SET() function return if all positions in the string are NULL?

What does the MySQL MAKE_SET() function return if all positions in the string are NULL?

WBOY
Release: 2023-08-26 14:57:09
forward
996 people have browsed it

如果字符串所在位置全部为 NULL,MySQL MAKE_SET() 函数会返回什么?

If the string is all NULL, the MySQL MAKE_SET() function will not return anything. The following example will demonstrate it -

Example

mysql> Select MAKE_SET(2, NULL,NULL,NULL);
+-----------------------------+
| MAKE_SET(2, NULL,NULL,NULL) |
+-----------------------------+
|                             |
+-----------------------------+
1 row in set (0.00 sec)
Copy after login

The above is the detailed content of What does the MySQL MAKE_SET() function return if all positions in the string are NULL?. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template