diff --git a/src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_astat_fuellen.sql b/src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_astat_fuellen.sql index 5b51806..b1fde13 100644 --- a/src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_astat_fuellen.sql +++ b/src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_astat_fuellen.sql @@ -5,9 +5,9 @@ select sp_table_exists('sos_stg_aggr') from xdummy @@ -270,8 +270,6 @@ group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 -update tmp_stg_aggr_astat set stg='0' || stg -where length(trim(stg))=3; delete from qa_sos_stg_aggr_astat where sem_rueck_beur_ein in (select distinct K.sem_rueck_beur_ein @@ -346,9 +344,7 @@ insert into qa_sos_stg_aggr_astat(hs_nr, from tmp_stg_aggr_astat group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30 ; -update qa_sos_stg_aggr_astat set stg='0'||stg where length(stg)=3 -and substring(stg from 1 for 1) in ('0','1','2','3','4','5','6','7','8','9') -; + drop table tmp_stg_aggr_astat; diff --git a/src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_int_fuellen.sql b/src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_int_fuellen.sql index bdee6e8..fb4033d 100644 --- a/src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_int_fuellen.sql +++ b/src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_int_fuellen.sql @@ -5,9 +5,9 @@ select sp_table_exists('sos_stg_aggr') from xdummy