Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.4.0 |  CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 

MD5 Function


The MD5 function function returns the MD5 128-bit checksum for the input character string. The result value is displayed as a character string that is expressed in 32 hexadecimals, which you can use to create hash keys, for example.

The return value is a VARCHAR(32) type and if an input parameter is NULL, NULL will be returned.



  • string: Input string. If a value that is not a VARCHAR type is entered, it will be converted to VARCHAR.

SELECT MD5('cubrid');





SELECT MD5(255);




SELECT MD5('01/01/2010');






SELECT MD5(CAST('2010-01-01' as DATE));

   md5( cast('2010-01-01' as date))