Collections:
UNCOMPRESS() - Uncompressing Data
How to uncompress (restore) compressed data using the UNCOMPRESS() function?
✍: FYIcenter.com
UNCOMPRESS(str) is a MySQL built-in function that
uncompresses a given compressed byte string using the default LZ77 compression algorithm.
For example:
SELECT UNCOMPRESS(x'37000000789C738BF44C4ECD2B492DD24BCECFD57123960700279D13DD'); -- +---------------------------------------------------------------------------+ -- | UNCOMPRESS(x'37000000789C738BF44C4ECD2B492DD24BCECFD57123960700279D13DD') | -- +---------------------------------------------------------------------------+ -- | FYIcenter.com,FYIcenter.com,FYIcenter.com,FYIcenter.com | -- +---------------------------------------------------------------------------+
Reference information of the UNCOMPRESS() function:
UNCOMPRESS(bin): str Uncompresses a given compressed byte string using the default LZ77 compression algorithm. Arguments, return value and availability: bin: Required. The byte string to be uncompressed. str: Return value. The uncompressed byte string. Available since MySQL 4.1.
Related MySQL functions:
⇒ UNCOMPRESSED_LENGTH() - Uncompressed Data Length
⇐ STATEMENT_DIGEST_TEXT() - Calculating Statement Digest
2024-12-18, 2493🔥, 0💬
Popular Posts:
What Happens If the UPDATE Subquery Returns Multiple Rows in MySQL? If a subquery is used in a UPDAT...
How To Use DATEADD() Function in SQL Server Transact-SQL? DATEADD() is a very useful function for ma...
Where Is the Export Dump File Located in Oracle? If you are not specifying the dump directory and fi...
How To Count Rows with the COUNT(*) Function in SQL Server? If you want to count the number of rows,...
How To Enter Unicode Character String Literals in SQL Server Transact-SQL? Unicode characters are mu...