Data Aneh
select * from vr_notes1 t
where to_char(t.DATE_CREATED,'dd-mm-yy') = '19-04-09' and t.CC_CODE like 'Ali%' --ica013
Error Cust Mont
Solusinya : update table oleh Dody
siapkan data untuk penarikan :
- ambil data untuk bulan maret dan april :
insert into Z_PNR_LOG_6(PNRK_LOG_ID, SUBS_ID, DATE_ENTRY, CC_CODE, STATUS_PNRK,KETERANGAN,ACT_date,ACT_NUMBER)
select 0,t.subs_id, t.service_date, t.cc_code, 'OPEN', t.description, f_max_disconnect(t.subs_id), t.seq_number
from s_incoming t, notes_pnrk a
where a.CC_CODE = t.cc_code and
-- t.service_date >= to_date('01-04-2008','dd-mm-yyyy')
to_char(t.service_date,'mm-yyyy') >= '04-2008' and t.subs_id > 1;
Jalankan proses cek data curn
mig_log_pnrk_5
lalu jalankan mig_log_pnrk_51
No comments:
Post a Comment