COLUMN_GET()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
Retrieves the value of a dynamic column by its name. Returns NULL if no column with that name exists.
EXAMPLES
CREATE TABLE t1 (dcol BLOB);
INSERT INTO t1 VALUES (COLUMN_CREATE('c1', 'val1'));
SELECT COLUMN_GET(dcol, 'c1' as CHAR) FROM t1;
+--------------------------------+
| COLUMN_GET(dcol, 'c1' as CHAR) |
+--------------------------------+
| val1 |
+--------------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.