UNCOMPRESS
Uncompress a compressed string. This function uncompresses a binary string compressed by the COMPRESS function.
Syntax
UNCOMPRESS(string_to_uncompress)Description
Examples
SELECT UNCOMPRESS(COMPRESS('a string'));
+----------------------------------+
| UNCOMPRESS(COMPRESS('a string')) |
+----------------------------------+
| a string |
+----------------------------------+
SELECT UNCOMPRESS('a string');
+------------------------+
| UNCOMPRESS('a string') |
+------------------------+
| NULL |
+------------------------+Last updated
Was this helpful?

