Jump to content

return value from an value in select


pcouas_1

Recommended Posts

Hi,

I have an Date in my query and i want replace date by special label for quarter month.

I have tried with CASE without succes  !

An idea regards ?

 

( "(CASE TO_CHAR(trunc(to_number(to_char(va.modif_date, 'MM')) / 3)+1)   WHEN '1' THEN 'First Qtr'   WHEN '2' THEN 'Second Qtr'   WHEN '3' THEN 'Third Qtr'   WHEN '4' THEN 'Fourth Qtr'  end)"

I need to use this new label in crossTab column and in lineChart Column too

 

Regards

Phil

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...