MD5_HEX

functionsupportedCore SQL functions

docs.snowflake.com ↗

String & binary functions

Returns a 32-character hex-encoded string containing the 128-bit MD5 message digest. These functions are synonymous.

Syntax

MD5(<msg>)

MD5_HEX(<msg>)

Parameters

NameRequiredDescription
msgrequiredA string expression, the message to be hashed. The input is limited by the maximum size of the VARCHAR data type, 134217728 bytes (128 MB). For more information, see String & binary data types.

Returns

Returns a 32-character hex-encoded string.

Usage notes

See also