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, 2144🔥, 0💬
Popular Posts:
Why I Can Not Enter 0.001 Second in DATETIME values in SQL Server Transact-SQL? If you enter millise...
How To Generate Random Numbers with the RAND() Function in SQL Server Transact-SQL? Random numbers a...
How To Round a Numeric Value To a Specific Precision in SQL Server Transact-SQL? Sometimes you need ...
Is PL/SQL Language Case Sensitive in Oracle? PL/SQL language is not case sensitive: Reserved words a...
Can You Drop an Index Associated with a Unique or Primary Key Constraint in Oracle? You can not dele...