Each of the modifiers INIT, ITER, COMBINE, FINAL, and HANDLESNULLS can appear only once in the CREATE AGGREGATE statement. Check your statement for repeated modifier names.