Skip to main content
Version: current [24.3.x]

CRC32

Categories: String, Binary

CRC32

Returns a cyclic redundancy check value of a binary string.

Syntax

CRC32(expression varbinary) → varchar

  • expression: The string to encode.

Examples

CRC32 example
SELECT CRC32('Dremio')
-- 2212276499
CRC32 example
SELECT CRC32(100)
-- 595022058
CRC32 example
SELECT CRC32(-100)
-- 2938773767