0

I am having a csv file which contains 0 in timestamp column in source , when it is being inserted into oracle through informatica it is populated as NULL values. I am not sure whether this is correct . whether it should be 0 or NULL or any other value. Could anyone confirm on this.

9
  • 0 doesn't represent a timestamp, what would you suggest it does other than giving NULL? An error is all I can imagine Commented Mar 31, 2022 at 13:41
  • And exactly what "time" (actually, date/time) would you expect the simple numeric value of zero to represent? Commented Mar 31, 2022 at 14:35
  • @EdStevens - when it all started :) - big bang time may be. @abirami - Jokes apart, this is expected behavior from informatica. You can use a logic like this IIF(col=0, null, col) to replace 0 with null or you cna use sysdate too or any default date. Commented Mar 31, 2022 at 14:42
  • Do you want the year 0 to be 1900, 1970 or the year you were born? Commented Mar 31, 2022 at 16:29
  • 1
    0 is - obviously - 1st of Jan, 1970 - the begining of time! :) Commented Mar 31, 2022 at 18:40

1 Answer 1

0

This is the expected behavior, as ORACLE can't store 0 in a timestamp column.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.