Name

CRC32( )

Synopsis

CRC32(string)

This function returns a 32-bit unsigned value for the given string’s cyclic redundancy check value. This function is available as of Version 4.1 of MySQL.

SELECT CRC32('test');
+---------------+
| CRC32('test') |
+---------------+
|    3632233996 |
+---------------+

Get MySQL in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.