Hi
Small problem - I want to make this SQL sentense more dynamic - right now I'm manualy updating the script to be 4 hours before systime.
Select count(*)
FROM prepaid.sms_rating_transactions_v4
where trx_status = 'PE'
and CHANNEL_TIME < to_date('11-06-2002 10:27','DD-MM-YYYY HH24:MI');
11-06-2002 10:27 - this is the time that always should be 4 hours old(systime - 4 hours).
Thanks
Small problem - I want to make this SQL sentense more dynamic - right now I'm manualy updating the script to be 4 hours before systime.
Select count(*)
FROM prepaid.sms_rating_transactions_v4
where trx_status = 'PE'
and CHANNEL_TIME < to_date('11-06-2002 10:27','DD-MM-YYYY HH24:MI');
11-06-2002 10:27 - this is the time that always should be 4 hours old(systime - 4 hours).
Thanks