Hi
I am facing problem in importing date format data from csv file.
where date format is "2008-09-12".
Please let me know how to resolve this issue?
Imprting Date data
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 1735
- Joined: Thu Mar 01, 2007 5:44 am
- Location: Troy, MI
Re: Imprting Date data
First of all tell us what/how are you doing this.DSRajesh wrote:Hi
I am facing problem in importing date format data from csv file.
where date format is "2008-09-12".
Please let me know how to resolve this issue?
why dont you just try to parse that inside DataStage after reading it as varchar if problem persists.
Regards,
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.![Wink :wink:](./images/smilies/icon_wink.gif)
Genius may have its limitations, but stupidity is not thus handicapped.
![Wink :wink:](./images/smilies/icon_wink.gif)
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
That format should import OK if your date format string is "%yyyy-%mm-%dd", the year component always has four digits, the month component always has two digits, the day component always has two digits, and all the component values are valid in creating a date.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.