UNCOMPRESSED_LENGTH
Return length of uncompressed string. This function returns the length of a compressed string before it was compressed.
Syntax
UNCOMPRESSED_LENGTH(compressed_string)Description
Examples
SELECT UNCOMPRESSED_LENGTH(COMPRESS(REPEAT('a',30)));
+-----------------------------------------------+
| UNCOMPRESSED_LENGTH(COMPRESS(REPEAT('a',30))) |
+-----------------------------------------------+
| 30 |
+-----------------------------------------------+Last updated
Was this helpful?

