ORA-01791: not a SELECTed expression
349402Apr 8 2004 — edited May 29 2011Let's say I want a list of employee names ordered by their birthdate. I don't want to actually see the birthdate in the results of the query though. I know that in the past on other Oracle 9i databases I was allowed to order by columns that aren't in the select list.
On my current database I get the error "ORA-01791: not a SELECTed expression" when I try that. Is there a parameter or something that is stopping me?
Any help would be appreciated,
Chris S.