VeloDB Cloud
SQL Reference
SQL Functions
Scalar Functions
Encrypt Digest Functions
CRC32

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("中国");
+--------------+-----------------+
| crc32('abc') | crc32('中国')   |
+--------------+-----------------+
|    891568578 |       737014929 |
+--------------+-----------------+