Skip to main content
Version: V1.0.0

CRC32

Declaration

CRC32(expr)

Description

Computes the cyclic redundancy check value and returns a 32-bit unsigned value.

The expr parameter should be a string. If it is not, it may be treated as a string.

If the parameter is NULL, the result is NULL.

Examples

SELECT CRC32('hello-world');
+-----------------------+
| COS32('hello-world') |
+-----------------------+
| 2983461467|
+-----------------------+
1 row in set (0.001 sec)