ORA-01843: not a valid month [message #388155] |
Mon, 23 February 2009 09:07 |
aarti81
Messages: 235 Registered: December 2007 Location: USA
|
Senior Member |
|
|
Hi All
When i run the below query , i'm getting the following error message :ORA-12801: error signaled in parallel query server P015
ORA-01843: not a valid month:
select STG_INCSENLUT.ASSET_ID,STG_ITS_GEM_EVENTS.RTDIRNTYMEAS,STG_ITS_SENSOR15.ASSET_ID,STG_ITS_SENSOR15.SPEED_AVG
from STG_INCSENLUT,STG_ITS_GEM_EVENTS,STG_ITS_SENSOR15
where STG_INCSENLUT.RTDIRNTYMEAS=STG_ITS_GEM_EVENTS.RTDIRNTYMEAS
and STG_INCSENLUT.ASSET_ID=STG_ITS_SENSOR15.ASSET_ID
and STG_ITS_GEM_EVENTS.DATE_RECEIVED=STG_ITS_SENSOR15.DATE_READ
So i used the following TO_DATE function :
select STG_INCSENLUT.ASSET_ID,STG_ITS_GEM_EVENTS.RTDIRNTYMEAS,STG_ITS_SENSOR15.ASSET_ID,STG_ITS_SENSOR15.SPEED_AVG
from STG_INCSENLUT,STG_ITS_GEM_EVENTS,STG_ITS_SENSOR15
where STG_INCSENLUT.RTDIRNTYMEAS=STG_ITS_GEM_EVENTS.RTDIRNTYMEAS
and STG_INCSENLUT.ASSET_ID=STG_ITS_SENSOR15.ASSET_ID
and STG_ITS_GEM_EVENTS.TO_DATE(DATE_RECEIVED,'dd-MON-YYYY')=STG_ITS_SENSOR15.DATE_READ
and am still getting a different error :
ORA-00904: "STG_ITS_GEM_EVENTS"."TO_DATE": invalid identifier
Please any help is greatly appreciated.
Thanks
|
|
|
|
|