03-31-2011 05:31 AM
03-31-2011 07:46 AM
06-11-2013 06:39 PM
More than two years later, this fixed my problem.. no matter what I was doing the date was coming out 1/1/1960. SAS 9.1.3 (yes, still) and Oracle 11g. Thanks for posting!
07-03-2013 03:17 AM
still i am facing that issue.While loading from flat file to oracle database,i am getting the date column as 01-Jan-1960.
How to overcome tis issue.?I am using SAS DI 4.21
07-08-2013 12:20 AM
Are you using the OLEDB or Oracle client to connect to Oracle?
I worked for a company that refused to purchase the Oracle client and we were forced to use OLEDB instead. It did some really strange things with dates that took quite a bit of work and research to get around. It might be worth investigating this further.
07-08-2013 02:30 PM
I am not using DI studio so cannot comment on your particular issue other than to say perhaps you need to use a code window. The code provided by DBaily on March 31st, 2011 solved my problem.
07-03-2013 04:15 PM
I suggest you try writing out to the flat file for loading into Oracle, dates in the form dd-mon-yyyy (01-Jan-2013). This, I believe, is one of the date formats that Oracle should handle automatically, assuming it is being loaded into a date column.