Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I am having a doubt in extracting the date filed from Year and Month fields.I have data like this;
Period
| 200501 | 
| 200502 | 
| 200502 | 
| 200601 | 
| 200602 | 
kindly help me on thos to getting a Date field.
Thanks,
Chirumamilla
try this
load
date#(Period,'YYYYMM') as Period
try this
load *,
date(Date#(datefield,'YYYYMM'),'YYYYMM') AS Preiod_Date
;
Hi,
Use makeDate()
It will help you
For details check in help menu.
Try with Makedate function
Makedate(Year(Period),Month(Period)) as Datefield
Regards
Anand