📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

CITY64WITHSEED



Calculates a City64WithSeed 64-bit hash for a string.

Syntax

CITY64WITHSEED(<expr1>, <expr2>)

Examples

SELECT CITY64WITHSEED('1234567890', 12); ┌──────────────────────────────────┐ │ city64withseed('1234567890', 12) │ ├──────────────────────────────────┤ │ 10660895976650300430 │ └──────────────────────────────────┘

Was this page helpful?