Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Invalid date, time or timestamp value

I am having an issue loading data when I include a field that contains dates.  I've played around with a WHERE .... BETWEEN statement and found that this fails:

Capture4.PNG

Capture3.PNG

But this works:

Capture5.PNG

2 questions....

1. Any thoughts on how why this is failing?  There are no dates between 4-30-2000 and 5-1-2000 so logically they should both work or both fail.

2. Is there a way to have the load script skip any entries where there is an "invalid date, time or timestamp value" so in the future I wouldn't have to figure what dates are breaking the query?

2 Replies
sunny_talwar

To answer your second question first, you might be able to try this:

Where not IsNull(Date#(ACCTOPENDATE));

For the first one, is there a extra semi-colon that is causing it to fail may be?

Capture.PNG

Not applicable
Author

I tried the script above and got a syntax error:

Capture7.PNG

Capture6.PNG

Regarding question #1, I removed the semi-colon and got the same result as before.