I have fiscal year as part of my time dimension table and would like the years to be retrieved in order.
2000
2001
2002
.
.
Here is the query
Select
TIME_FISCAL_YEAR
From Clarity.STATIC_TIME_DIMENSION
Group By TIME_FISCAL_YEAR
The years are being retrieved.
2005
2003
2012
.
.
This is not the order I expected. I don't have control over this query since it is done by a Business Objects product when is generates a pick list for one of it's tools. Is there a way (setting) to have Oracle sort a distinct or group by in order by the field value? Oracle Version 10G.
2000
2001
2002
.
.
Here is the query
Select
TIME_FISCAL_YEAR
From Clarity.STATIC_TIME_DIMENSION
Group By TIME_FISCAL_YEAR
The years are being retrieved.
2005
2003
2012
.
.
This is not the order I expected. I don't have control over this query since it is done by a Business Objects product when is generates a pick list for one of it's tools. Is there a way (setting) to have Oracle sort a distinct or group by in order by the field value? Oracle Version 10G.