We are reading from the source view with the datatype as "Date" whereas the column is defined as timestamp in datastage.
The job has been working for a long time.But recently we started getting issue. The problem is this column is getting is some wierd data.
We implemented the ISValid() function.
The data is such that it passes the isvalid() but fails in the next stages.
If we run the SQL direclty against the Database. Only for that particular key we are getting the following error:
Code: Select all
select to_timestamp(start_date) from details
where id = 222
Gives the error" ORA-01847:day of month must be between 1 and last day of month"
How shall we handle this scenario.