diff --git a/src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql b/src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql index dcd521e..ce06dc8 100644 --- a/src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql +++ b/src-modules/module/xcube/schluesseltabellen/xcube_dims_install.sql @@ -83,13 +83,7 @@ values ('alter', 'a7', 'gesamt','45-49 Jahre','$1::numeric(14,2)>=45.00 and $1::numeric(14,2)<50.00',70), ('alter', 'a8', 'gesamt','50-54 Jahre','$1::numeric(14,2)>=50.00 and $1::numeric(14,2)<55.00',80), ('alter', 'a9', 'gesamt','55-59 Jahre','$1::numeric(14,2)>=55.00 and $1::numeric(14,2)<60.00',90), -('alter', 'a10', 'gesamt','>=60 Jahre','$1::numeric(14,2)>=60.00',100); - - - <#if TableFieldExists('sos_stg_aggr','hrst')> -delete from xcube_dims where id='hrst'; -INSERT INTO xcube_dims (id,apnr,name,sort1) -select distinct 'hrst',apnr,druck,1 from cifx where key=613; +('alter', 'a99', 'gesamt','>=60 Jahre','$1::numeric(14,2)>=60.00',100); <#if TableFieldExists('sos_stg_aggr','ch27_grund_beurl')>