core-jgi/migration/331b-340s/postgresql/112_BF1907259.sql

9 lines
218 B
MySQL
Raw Normal View History

-- [ 1907259 ] Function charat wrong in 331b
CREATE OR REPLACE FUNCTION charat(character varying, integer) RETURNS character varying
AS $_$
BEGIN
RETURN SUBSTR($1, $2, 1);
END;
$_$
LANGUAGE plpgsql;