- fold-row PROC INIT STATEMENT #!rest PARAMETERSprocedure
- fold-row PROC INIT DATABASE SQL #!rest PARAMETERSprocedure
(Compiles the given SQL), resets the statement, binds the statement's free parameters and executes it step by step. After each step, the column values of the current result row are retrieved and PROC is applied to the current folded value, set to INIT in the first step, and the column values. The result of the application becomes the new folded value.