37 lines
2.1 KiB
Markdown
37 lines
2.1 KiB
Markdown
|
```sql
|
||
|
--update ueai.EAI_ELECSTRIPARRARTS_RCV set deal_stat = 'S' where deal_stat = 'P' and recv_time >= '202309170000000';
|
||
|
--update ueai.EAI_ELECSTRIPDEPARTS_RCV set deal_stat = 'S' where deal_stat = 'P' and recv_time >= '202309170000000';
|
||
|
--update ueai.EAI_FLTACDMMLSTNARR_RCV set deal_stat = 'S' where deal_stat = 'P' and recv_time >= '202309170000000';
|
||
|
--update ueai.EAI_FLTACDMMLSTNDEP_RCV set deal_stat = 'S' where deal_stat = 'P' and recv_time >= '202309170000000';
|
||
|
--update ueai.EAI_GRDACMVT_RCV set deal_stat = 'S' where deal_stat = 'P' and recv_time >= '202309170000000';
|
||
|
--
|
||
|
--select count(*) as data_cnt from ueai.EAI_ELECSTRIPARRARTS_RCV where deal_stat = 'S';
|
||
|
|
||
|
--truncate table uic.SACP_FLT_APRON_MVMN_HIST ;
|
||
|
--truncate table uic.SACP_FLT_ARR_HIST ;
|
||
|
--truncate table uic.SACP_FLT_DEICING_HIST ;
|
||
|
--truncate table uic.SACP_FLT_DEP_HIST ;
|
||
|
--truncate table uic.SACP_IDNTFC_MAPNG ;
|
||
|
|
||
|
|
||
|
--select * from uic.SACP_FLT_APRON_MVMN_HIST ;
|
||
|
--select * from uic.SACP_FLT_ARR_HIST ;
|
||
|
--select * from uic.SACP_FLT_DEICING_HIST ;
|
||
|
--select * from uic.SACP_FLT_DEP_HIST ;
|
||
|
--select * from uic.SACP_IDNTFC_MAPNG ;
|
||
|
--
|
||
|
--
|
||
|
--select count(*) from ueai.EAI_ELECSTRIPARRARTS_RCV where deal_stat = 'S' and recv_time >= '202309170000000';
|
||
|
--select count(*) from ueai.EAI_ELECSTRIPDEPARTS_RCV where deal_stat = 'Q' and recv_time >= '202309170000000';
|
||
|
--select count(*) from ueai.EAI_FLTACDMMLSTNARR_RCV where deal_stat = 'Q' and recv_time >= '202309170000000';
|
||
|
--select count(*) from ueai.EAI_FLTACDMMLSTNDEP_RCV where deal_stat = 'Q' and recv_time >= '202309170000000';
|
||
|
--select count(*) from ueai.EAI_GRDACMVT_RCV where deal_stat = 'Q' and recv_time >= '202309170000000';
|
||
|
--
|
||
|
--
|
||
|
--select * from ueai.EAI_ELECSTRIPARRARTS_RCV where recv_time >= '202309170000000';
|
||
|
--select * from ueai.EAI_ELECSTRIPDEPARTS_RCV where deal_stat = 'Q' and recv_time >= '202309170000000';
|
||
|
--select * from ueai.EAI_FLTACDMMLSTNARR_RCV where deal_stat = 'Q' and recv_time >= '202309170000000';
|
||
|
--select * from ueai.EAI_FLTACDMMLSTNDEP_RCV where deal_stat = 'Q' and recv_time >= '202309170000000';
|
||
|
--select * from ueai.EAI_GRDACMVT_RCV where deal_stat = 'Q' and recv_time >= '202309170000000';
|
||
|
|
||
|
```
|