EXPORT_SET()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
Returns a string representation of a bits argument, using the given values for on and off.
EXAMPLES
SELECT EXPORT_SET(2,'Y','N',',',2);
+-----------------------------+
| EXPORT_SET(2,'Y','N',',',2) |
+-----------------------------+
| N,Y |
+-----------------------------+
SELECT EXPORT_SET(2,'Y','N',',',10);
+------------------------------+
| EXPORT_SET(2,'Y','N',',',10) |
+------------------------------+
| N,Y,N,N,N,N,N,N,N,N |
+------------------------------+
SELECT EXPORT_SET(3,'Y','N',',',5);
+-----------------------------+
| EXPORT_SET(3,'Y','N',',',5) |
+-----------------------------+
| Y,Y,N,N,N |
+-----------------------------+
SELECT EXPORT_SET(3,'1','0',',',5);
+-----------------------------+
| EXPORT_SET(3,'1','0',',',5) |
+-----------------------------+
| 1,1,0,0,0 |
+-----------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.