UNCOMPRESSED_LENGTH(compressed_string) returns the length that the compressed string had before being compressed. : UNCOMPRESSED_LENGTH : Encryption Compression Functions MySQL TUTORIALS


MySQL TUTORIALS » Encryption Compression Functions » UNCOMPRESSED_LENGTH »

 

UNCOMPRESSED_LENGTH(compressed_string) returns the length that the compressed string had before being compressed.


mysql>
mysql>
mysql> SELECT UNCOMPRESSED_LENGTH(COMPRESS(REPEAT('a',30)));
+-----------------------------------------------+
| UNCOMPRESSED_LENGTH(COMPRESS(REPEAT('a',30))) |
+-----------------------------------------------+
|                                            30 |
+-----------------------------------------------+
row in set (0.00 sec)

mysql>
mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Encryption Compression Functions
» UNCOMPRESSED_LENGTH