A developer runs this sql and gets 3 rows selected but when I run on my machine I get no row selected. I understand that due to time stamp if use trunc or even to_char (compare charactor) this works all the time. What puzzle me is that with same sql we get different results. I checked her registry (PC) but didn't find anything that may result differently. I appreciate any input you can give.
Thanks,
select * from ps_cost
where business_unit = 'TDMN'
and asset_id = '000000010025'
and deptid = '86000'
and category = 'BLDG'
and trans_type = 'TRF'
and to_date(dttm_stamp,'DD-MON-YYYY') = '25-JUN-1999'
and accounting_dt = '25-JUN-1999'
Thanks,
select * from ps_cost
where business_unit = 'TDMN'
and asset_id = '000000010025'
and deptid = '86000'
and category = 'BLDG'
and trans_type = 'TRF'
and to_date(dttm_stamp,'DD-MON-YYYY') = '25-JUN-1999'
and accounting_dt = '25-JUN-1999'