Hi,
I am facing following problem.
I have 4 target columns like Ext_Date,Day,Month,Year.
In the Ext_Date column I need to populate the Date format(DD-MMM-YYYY) by using system date minus oneday.
For this I taken ,Oconv(Iconv(DATE.TAG(@DATE - 1),"D-YMD[4,2,2]") ,"D-DMY[2,A3,4]").
From this how to extract DAY,MONTH,YEAR data.
For example ,from the above code I got the Ext_Date as : 14-JUL-2008.I want output as 14 for DAY,07 for MONTH,2008 FOR YEAR columns.
Database : Oracle
Any one have the solution send it to me.
Regards,
Arshi
Date Extraction
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: