-1113: Too many nested function calls
Explanation:
The SQL statement contains more nested function calls than can be processed.
User Action:
Check whether some of the functions within the nesting can be omitted. If this is not possible, check whether the desired effect can be obtained by using a QUERY EXPRESSION in the FROM clause or by generating and reusing a named result set containing a part of the functions.