How to extract the month from a data(Static)
Hi Champs,
Just wanted to know the format in which i can extract the month from a date. For example i need to segregate the data based on months. Hence i need to simply put a column called Jan, Feb, March and so on in each of the reports in combined analysis. I tried this but didnt work
MONTHNAME(CAST(TIMESTAMP'2013-1-1 00:00:00'AS DATE))
Please suggest.
Just wanted to know the format in which i can extract the month from a date. For example i need to segregate the data based on months. Hence i need to simply put a column called Jan, Feb, March and so on in each of the reports in combined analysis. I tried this but didnt work
MONTHNAME(CAST(TIMESTAMP'2013-1-1 00:00:00'AS DATE))
Please suggest.
0