DECODE_ORACLE()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
EXAMPLES
SELECT DECODE_ORACLE('a','a',1,2) AS a;
+---+
| a |
+---+
| 1 |
+---+
SELECT DECODE_ORACLE('a','ab',1,2) AS a;
+---+
| a |
+---+
| 2 |
+---+
SET sql_mode=CONCAT(@@sql_mode, ',ORACLE');
SELECT DECODE(1,01,1,2) AS a;
+---+
| a |
+---+
| 1 |
+---+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.