$ 0 0 Try this - SELECT CAST(CAST(CAST('AUGUST 2012' AS DATE FORMAT 'M4BY4') AS DATE FORMAT 'YYYY/MM') AS CHAR(7)) Thanks, Shilpa
Try this -
SELECT CAST(CAST(CAST('AUGUST 2012' AS DATE FORMAT 'M4BY4') AS DATE FORMAT 'YYYY/MM') AS CHAR(7))
Thanks,
Shilpa