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
└──────────────────────────────────┘
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today