Skip to main content

CRC32

Returns the CRC32 checksum of x, where 'x' is expected to be a string and (if possible) is treated as one if it is not.

Syntax

CRC32( '<x>' )

Examples

SELECT CRC32('databend');

┌───────────────────┐
│ crc32('databend')
├───────────────────┤
1177678456
└───────────────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today