COMPRESS() and DECOMPRESS() Method in Mysql with Example
5788 Views
How it works
COMPRESS method is compress a given string as binary string with the help of zlib libraries.
DECOMPRESS method is decompress a given compressed string by COMPRESS method.
Example
SELECT COMPRESS("God is Great");
SELECT DECOMPRESS(COMPRESS("God is Great"));