luhn_check
function
Applies to: Databricks SQL
Databricks Runtime 13.3 LTS and above
Returns true
if numStr
passes the Luhn algorithm check.
The Luhn algorithm is used for example, to validate creditcard numbers.
Updated Feb 14, 2025
luhn_check
function Applies to: Databricks SQL
Databricks Runtime 13.3 LTS and above
Returns true
if numStr
passes the Luhn algorithm check.
The Luhn algorithm is used for example, to validate creditcard numbers.