Skip to main content

Description

Calculates the MD2 hash of a string

Syntax

MD2(string_expression)

Examples

MD2('hello world') returns d9cce882ee690a5c1ce70beff3a78c77

Return value datatype

String

Impact of null value

If input is null, returns null.
Last modified on April 20, 2026