I am using CASE statement in a function in mysql like this:
BEGIN declare Rslt1 decimal(10,2);declare Rslt2 int;declare Rslt3 int; declare Rslt decimal(10,2);decl