const DROP_STRIP_FUNCTION_43 = "DROP FUNCTION IF EXISTS civicrm_strip_non_numeric";
const CREATE_STRIP_FUNCTION_43 = "
- CREATE FUNCTION civicrm_strip_non_numeric(input VARCHAR(255) CHARACTER SET utf8)
- RETURNS VARCHAR(255) CHARACTER SET utf8
+ CREATE FUNCTION civicrm_strip_non_numeric(input VARCHAR(255))
+ RETURNS VARCHAR(255)
DETERMINISTIC
NO SQL
BEGIN
- DECLARE output VARCHAR(255) CHARACTER SET utf8 DEFAULT '';
+ DECLARE output VARCHAR(255) DEFAULT '';
DECLARE iterator INT DEFAULT 1;
WHILE iterator < (LENGTH(input) + 1) DO
IF SUBSTRING(input, iterator, 1) IN ('0', '1', '2', '3', '4', '5', '6', '7', '8', '9') THEN