How to Stop a VARCHAR Type Date Column From Ordering Alphabetically? (Doc ID 2003755.1)

Last updated on JULY 18, 2017

Applies to:

Business Intelligence Server Enterprise Edition - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Goal

Have a VARCHAR type column for Dates which contain dates in the format MMM-YYYY (for example APR-2015). When using this column (example: Month_Desc) in answers or in prompts, the data is sorted alphabetically.

For example:

Apr-2012
Apr-2013
Apr-2014
Aug-2012
Aug-2013
Aug-2014
Dec-2012
Dec-2013
Dec2014
Feb-2012
Feb-2013
Feb-2014
etc etc

How can it be sorted by date sequence (not alphabetically)?
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms