How to fix the Oracle error PLS-00670: sort columns must be simple column names?

In this post, you’ll learn more about the Oracle ErrorPLS-00670: sort columns must be simple column names with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PLS-00670: sort columns must be simple column names

Reason for the Error PLS-00670: sort columns must be simple column names

An attempt was made to specify an expression as a sort column in a PARTITION BY, CLUSTER BY or ORDER BY clause. Only simple column names are permitted.

How to fix the Error PLS-00670: sort columns must be simple column names ?

You can fix this error in Oracle by following the below steps

Specify a simple column name.

Tags :

Leave Your Comment