InterSystems IRIS SQL Error Code -22 ORDER must specify column names, not num

In this post, you’ll learn about the SQL error code -22 in InterSystems IRIS database the reason why you are receiving the SQL error message when using the InterSystems IRIS data platform

Error Code :

-22

Reason for the Error code -22 in InterSystems IRIS DBMS

ORDER must specify column names, not numbers, when after ‘SELECT *’