STRCMP()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
A description for this Function has not yet been added to this Documentation.
EXAMPLES
SELECT STRCMP('abc', 'abc');
+----------------------+
| STRCMP('abc', 'abc') |
+----------------------+
| 0 |
+----------------------+
SELECT STRCMP('abcd', 'abc');
+-----------------------+
| STRCMP('abcd', 'abc') |
+-----------------------+
| 1 |
+-----------------------+
SELECT STRCMP('abcd', 'cdef');
+------------------------+
| STRCMP('abcd', 'cdef') |
+------------------------+
| -1 |
+------------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.