Entrypoint strrepeat compatible with UTF-8
Input CSTRING(254) String to repeat SMALLINT count of appearance Output CSTRING(8190) String 1 with parameter 2 times appearances
You have to look that the output is not greater than the declaration! TestSQL SELECT 'TestTestTest' AS ISCORRECT, F_STRREPEAT('Test', 3) FROM RDB$DATABASE; SELECT '' AS ISCORRECT, F_STRREPEAT('Test', 0) FROM RDB$DATABASE; SELECT NULL AS ISCORRECT, F_STRREPEAT(NULL, NULL) FROM RDB$DATABASE;