Formatting a date to appear as APR-22
Summary:
I am expecting that the period column should present itself as APR-22 for example, but it is presenting the result of 04-22
Content (required):
I have a simple query which will be used in a large much more complex query for my Assets Register. This simple query is as below:
select distinct
fma.asset_id,
fma.fixed_assets_cost opening_cost,
to_char(fma.creation_date, 'YYYY') year,
to_char(fma.creation_date, 'MON-YY') period
from fa_mass_additions fma
I am expecting that the period column should present itself as APR-22 for example, but it is presenting the result of 04-22
Tagged:
0