The expressions in a sort clause must be column specs or unsigned integers- with optional ASC or DESC PLS-01704 – Oracle Error Code Tagged on: oracle error pls-01704 PLS-01704 pls-01704 error code