Comparing Two Data Values
Posted: Mon Aug 10, 2009 6:36 am
Hi All,
I want to perform the join operation on two columns of Oracle.
First column is having datatype Date and contain values in format : 7/10/2003 10:37:00 AM
Second column is having datatype Timestamp(6)
and contain value in format : 7/10/2003 12:00:00.000000 AM
when i am comparing the values from these two columns ,i am not getting any result in my outupt.
Please help me ,is there any standard function which will extract some part from these above two datatypes in specific format(i.e YYYY-MM-DD) to compare value between them or i need to build the custom transform.
Thanks In Advance!!
I want to perform the join operation on two columns of Oracle.
First column is having datatype Date and contain values in format : 7/10/2003 10:37:00 AM
Second column is having datatype Timestamp(6)
and contain value in format : 7/10/2003 12:00:00.000000 AM
when i am comparing the values from these two columns ,i am not getting any result in my outupt.
Please help me ,is there any standard function which will extract some part from these above two datatypes in specific format(i.e YYYY-MM-DD) to compare value between them or i need to build the custom transform.
Thanks In Advance!!