Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

different result 1

Status
Not open for further replies.

Ravala

Programmer
Jan 28, 2004
88
US
We have two servers: development and production.
I run this sql:
select DATE_LAST_USED
from inventory
where item_code='125-325'
and DATE_LAST_USED <=TO_DATE('07081997','mmddyyyy') ;

on development i have: no row selected,
and on production I have:
DATE_LAST
---------
02-AUG-04
What could be a reason?

Thanks.
 
select DATE_LAST_USED
from inventory
where item_code='125-325';

i have:
DATE_LAST
---------
12-AUG-04
 
What is DATE_LAST_USED datatype? Is it DATE? If so, please post the results of

Code:
select to_char(DATE_LAST_USED,'DD.MM.YYYY') 
  from inventory
 where item_code='125-325';

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top