ID EN
Mathematical Functions

CRC32(expr)

MySQL 8.4

Computes a cyclic redundancy check value and returns a 32-bit unsigned value. The result is NULL if the argument is NULL. The argument is expected to be a string and (if possible) is treated as one if it is not.

Syntax

MYSQL
SELECT CRC32('MySQL');
3259397556
SELECT CRC32('mysql');
2501908538

Examples

Example
MYSQL
SELECT CRC32('MySQL');
3259397556
SELECT CRC32('mysql');
2501908538