I have a field date
which is a date format.
It outputs like this for example.
09-NOV-14
Now what i want the output to be is any date rolled back to the 1st of its month.
01-NOV-14
What i did to achieve this is
CONCAT('01',SUBSTR(table.date,3))
Is this the most efficient/best practice way of doing this?