I'm creating this function that supposed to return a random string:
create function createRandomString() returns Text
return concat(
char(round(rand()*25)),
char(round(rand()*25)),
char(round(rand()*25)),
char(round(rand()*25)),
char(round(rand()*25)),
char(round(rand()*25)),
char(round(rand()*25)),
char(round(rand()*25))
);
For some reason this function return nothing... i don't know why..
When i'm using the exact same concat() inside a select - it works.