Text & patterns
Scalar
sha1()
Returns the SHA1 hash of the value
Arguments & returns
2 overloadssha1(value)
Scalar
Example
1 more ↓Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.
More examples
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.
Catalog examples
SELECT
sha1 ('hello');
In other engines
Used in larger rewrites 1
These examples use sha1 as one part of a larger SQL translation.