| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -49,16 +49,16 @@ select 'semester',druck ,tid::varchar(50),tid from kenn_semester; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					delete from xcube_dims where id='fssemzahl'; | 
					 | 
					 | 
					 | 
					delete from xcube_dims where id='fssemzahl'; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					INSERT INTO xcube_dims (id,apnr,name,sort1)  | 
					 | 
					 | 
					 | 
					INSERT INTO xcube_dims (id,apnr,name,sort1)  | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					select distinct 'fssemzahl',fach_sem_zahl::varchar(10),fach_sem_zahl||'.FS',fach_sem_zahl from sos_stg_aggr | 
					 | 
					 | 
					 | 
					select distinct 'fssemzahl',fach_sem_zahl::varchar(10),fach_sem_zahl||'.FS',fach_sem_zahl from sos_stg_aggr | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					where fach_sem_zahl <= 10; | 
					 | 
					 | 
					 | 
					where fach_sem_zahl between 0 and 10; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					INSERT INTO xcube_dims (id,apnr,name,sort1)  | 
					 | 
					 | 
					 | 
					INSERT INTO xcube_dims (id,apnr,name,sort1)  | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					select distinct 'fssemzahl', '99','FS>10',99 from sos_stg_aggr where fach_sem_zahl>10; | 
					 | 
					 | 
					 | 
					select distinct 'fssemzahl', '99','FS>10',99 from sos_stg_aggr where fach_sem_zahl>10; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					</#if> | 
					 | 
					 | 
					 | 
					</#if> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<#if TableFieldExists('sos_stg_aggr','hssem')> | 
					 | 
					 | 
					 | 
					<#if TableFieldExists('sos_stg_aggr','hssem')> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					delete from xcube_dims where id='hssem'; | 
					 | 
					 | 
					 | 
					delete from xcube_dims where id='hssemzahl'; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					INSERT INTO xcube_dims (id,apnr,name,sort1)  | 
					 | 
					 | 
					 | 
					INSERT INTO xcube_dims (id,apnr,name,sort1)  | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					select distinct 'hssemzahl',hssem::varchar(10),hssem||'.HS',hssem from sos_stg_aggr | 
					 | 
					 | 
					 | 
					select distinct 'hssemzahl',hssem::varchar(10),hssem||'.HS',hssem from sos_stg_aggr | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					where hssem <= 10; | 
					 | 
					 | 
					 | 
					where hssem between 0 and 10; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					INSERT INTO xcube_dims (id,apnr,name,sort1)  | 
					 | 
					 | 
					 | 
					INSERT INTO xcube_dims (id,apnr,name,sort1)  | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					select distinct 'hssemzahl', '999','HS>10',99 from sos_stg_aggr where hssem>10; | 
					 | 
					 | 
					 | 
					select distinct 'hssemzahl', '999','HS>10',99 from sos_stg_aggr where hssem>10; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					</#if> | 
					 | 
					 | 
					 | 
					</#if> | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |