Home > Database > Mysql Tutorial > body text

What does the MySQL MAKE_SET() function return if the value of this bit is 1 and the first string is NULL?

WBOY
Release: 2023-08-24 17:49:12
forward
802 people have browsed it

如果该位的值为 1 并且第一个字符串为 NULL,MySQL MAKE_SET() 函数返回什么?

MySQL MAKE_SET() function returns a null value when the bit's value is 1 and the first string is NULL. The following example will demonstrate this concept −

Example

mysql> Select MAKE_SET(1, NULL,'A','B');
+---------------------------+
| MAKE_SET(1, NULL,'A','B') |
+---------------------------+
|                           |
+---------------------------+
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 the value of this bit is 1 and the first string is 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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!