Hi All,
I am facing issue where I have a DateTime field “Created Date” in Oracle DB. In the universe,the Date field returns Data fine.But if I try to use it as a filter , for example using the Queries area in IDT, I put it as
CreateDate Inlist 'Jun 22 2015'
It gives error saying “Not a valid Month”. When I look at the query SQL, it shows
CREATEDDATE = '22-06-2015 14:39:49'
Here I discover it is appearing in the wrong format, it is reading 22 as the month hence the error.
I tried something in the Advanced Tab in the Date field and put in the blank bar under Database Format {!d ‘yyyy-mm-dd’}. However still getting error, while I know that this format is working for me on other Date fields.
Is there a workaround here to fix this, not sure why Oracle is reading it in a different format and giving this error.
Need your input, Thanks…
The British Date is “dd-MM-yyyy” but the American Date is “MM-dd-yyyy”.
I tried to set the regional Date format in Windows control panel to no avail.
I belive something needs to be changed in the oracle parameters since it is reflecting date in British format while we need it to show in US.
I’ve never got Oracle datetimes to work correctly. As you say, they will parse and work in a SELECT, but as soon as you use them in a filter, they error.
I always convert to CHAR and then back to DATE, which works perfectly. Doesn’t seem to impact processing time at all.
It works fine. Of course I cannot manually change this during webi query execution so it is still an issue.
Not sure how to resolve this, if I use to_date to mask this, gives different syntax errors, such as literal does not match , not a valid month etc…