|
|
|
@ -86,6 +86,17 @@ values
@@ -86,6 +86,17 @@ values
|
|
|
|
|
('alter', 'a10', 'gesamt','>=60 Jahre','$1::numeric(14,2)>=60.00',100); |
|
|
|
|
</#if> |
|
|
|
|
|
|
|
|
|
<#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; |
|
|
|
|
</#if> |
|
|
|
|
|
|
|
|
|
<#if TableFieldExists('sos_stg_aggr','aktiv')> |
|
|
|
|
delete from xcube_dims where id='aktiv'; |
|
|
|
|
INSERT INTO xcube_dims (id,apnr,name,sort1) |
|
|
|
|
select 'aktiv',0::varchar(10),'inaktiv',2 from xdummy union select 'aktiv',1::varchar(10),'aktiv',1 from xdummy; |
|
|
|
|
</#if> |
|
|
|
|
--Zum Testen |
|
|
|
|
--INSERT INTO xcube_dims (id,apnr,name,sort1,parent,strukturstr) |
|
|
|
|
--VALUES |
|
|
|
|