Name

COMPRESS( )

Synopsis

COMPRESS(string)

This function returns a given string compressed. It requires MySQL to have been compiled with a compression library (i.e., zlib). This statement is available as of Version 4.1 of MySQL.

SELECT COMPRESS(essay)
FROM applications
WHERE applicant_id = '7382';

Get MySQL in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.