Skip to main content
Version: 3.x

CRC32

Description

Use CRC32 to compute the result.

Syntax

CRC32( <str> )

Parameters

parameterdescription
<str>The value to be used for CRC calculation

Return Value

Returns the Cyclic Redundancy Check value of this string.

Examples

select crc32("abc"),crc32("China");
+--------------+-----------------+
| crc32('abc') | crc32('China') |
+--------------+-----------------+
| 891568578 | 2704207136 |
+--------------+-----------------+