April 2008
Intermediate to advanced
566 pages
21h 55m
English
UNCOMPRESSED_LENGTH()
UNCOMPRESSED_LENGTH(string)This function returns the number of characters contained in the given compressed string before it was compressed. You can compress strings using the COMPRESS() function. This function is available as of version 4.1 of MySQL. Here is an example:
SELECT UNCOMPRESSED_LENGTH(COMPRESS(essay)) FROM student_applications WHERE applicant_id = '1748';
Read now
Unlock full access