Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Home
MySQL Tutorial
Introduction
Select Query
Database
Table
Table Join
Subquery
Insert Update Delete
Logic Operator
View
Data Types
Procedure Function
Cursor
Trigger
Date Time Functions
Comparison Functions Operators
Aggregate Functions
Cast Functions Operators
Control Flow Functions
Encryption Compression Functions
Information Functions
Math Numeric Functions
Miscellaneous Functions
String Functions
Regular Expressions
Data Dictionary
MySQL Utilities
Privilege
COMPRESS « Encryption Compression Functions « MySQL Tutorial
MySQL Tutorial
Encryption Compression Functions
COMPRESS
19.4.COMPRESS
19.4.1.
COMPRESS(string_to_compress) compresses a string and returns the result as a binary string
19.4.2.
SELECT LENGTH(COMPRESS(''));
19.4.3.
SELECT LENGTH(COMPRESS('a'));
19.4.4.
SELECT LENGTH(COMPRESS(REPEAT('a',16)));