Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Null DATE Value gets populated as TO_DATE('1900-01-01' , 'YYYY-MM-DD') in OBIEE SQL!!!

Hello Everyone,
I have a very strange situation here.
I have 2 columns COP Date and Deactivation Date both of which are DATE type in Physical table.
When I map these directly tot he analysis and run the report in OBIEE,
the expected SQL is
select COP Date as c1,
Deactivation Date as c2,
from ....
Union All
select null as c1,
null as c2,
Instead I get it as
select COP Date as c1,
Deactivation Date as c2,
from ....
Union All
select TO_DATE('1900-01-01' , 'YYYY-MM-DD') as c1,
TO_DATE('1900-01-01' , 'YYYY-MM-DD') as c2,
from ......
Can any one please help me as to how I get this resolved...
Thanks,
Nikhila.
Answers
-
Are you using physical or logical query? if you are using logical SQL, check TO_DATETIME('2009-03-03 01:01:00', 'yyyy-mm-dd hh:mi:ss') TO_DATETIME('2009-03-03’, 'yyyy-mm-dd')
0 -
I was referring to Physical SQL.
0 -
Cesar is implyimg what we are all thinking:
There some logic hidden somewhere which forces this change. Check all config options of both columns throughout the RPD.
0 -
Check the "Features" of your database, also check the connection pool if you are using any special script and tell us about it and what type of database are you using,
Check this sample of oracle 11g database, there is no problem about using a physical SQL against the connection the pool.
0