Hi,
my date format is yyyy-mm-dd hh:mi:ss . from this i want to get only either year or month or date in server jobs.
Please give me reply...
Thanks in advance....
I want to display only year or month or date from Date colum
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 67
- Joined: Mon Dec 22, 2008 4:07 am
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
Re: I want to display only year or month or date from Date c
Then please give us more details. What is your source data? Is it already stored in internal date format, or is your data a text string coming from a sequential file? You may want to research the SQL convert function, and the DataStage iconv and oconv functions.venkates.dw wrote:Hi,
Please give me reply...