Database Error Messages

PLS-00626

partitioned/clustered/ordered parameter must be a function argument

Action

Specify partitioning/clustering/ordering based on the function ref-cursor formal argument.