Skip to main content

XXHASH64

Calculates an xxHash64 64-bit hash value for a string. The value is returned as a UInt64 or NULL if the argument was NULL.

Syntax

XXHASH64(expr)

Examples

SELECT XXHASH64('1234567890');

┌────────────────────────┐
│ xxhash64('1234567890')
├────────────────────────┤
12237639266330420150
└────────────────────────┘
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