Skip to main content

CITY64WITHSEED

Calculates a City64WithSeed 64-bit hash for a string.

Syntax

CITY64WITHSEED(<expr1>, <expr2>)

Examples

SELECT CITY64WITHSEED('1234567890', 12);

┌──────────────────────────────────┐
│ city64withseed('1234567890', 12)
├──────────────────────────────────┤
10660895976650300430
└──────────────────────────────────┘
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