Oracle Error PLS-00627: ‘string’ must be a strongly typed ref cursor

Oracle Error Message

PLS-00627: ‘string’ must be a strongly typed ref cursor

Reason for the Error

A partitioning or clustering/ordering specification specified on an argument that is not a strongly typed ref cursor.

Solution

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