COMPRESS
Syntax
COMPRESS(str)
Description
Compresses a string and returns the result as a binary string. You can use the UNCOMPRESS function to decompress the result.
Examples
SELECT COMPRESS('abc');
+-----------------+
| COMPRESS('abc') |
+-----------------+
| x?KLJ M' |
+-----------------+
1 row in set (0.001 sec)