UNCOMPRESSED_LENGTH
Sintassi
UNCOMPRESSED_LENGTH(stringa_compressa)
Spiegazione
Restituisce la lunghezza che la stringa compressa aveva prima di essere compressa con COMPRESS()
.
UNCOMPRESSED_LENGTH()
restituisce NULL
o un risultato imprevedibile se la stringa non è compressa.
Esempi
MariaDB [(none)]> SELECT UNCOMPRESSED_LENGTH(COMPRESS(REPEAT('a',30))); +-----------------------------------------------+ | UNCOMPRESSED_LENGTH(COMPRESS(REPEAT('a',30))) | +-----------------------------------------------+ | 30 | +-----------------------------------------------+ 1 row in set (0.00 sec) MariaDB [(none)]>
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.