|
|
|
@ -8698,9 +8698,9 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc |
|
|
|
<column name="folgesem" type ="INTEGER" size ="255" default ="" notnull ="false" description="Folgesemester (Schlüssel)" /> |
|
|
|
<column name="folgesem" type ="INTEGER" size ="255" default ="" notnull ="false" description="Folgesemester (Schlüssel)" /> |
|
|
|
<column name="folgesem_sem_beginn" type ="DATE" size ="4" default ="" notnull ="false" description="Folgesemester Semesteranfang"/> |
|
|
|
<column name="folgesem_sem_beginn" type ="DATE" size ="4" default ="" notnull ="false" description="Folgesemester Semesteranfang"/> |
|
|
|
<column name="ist_zukunft" type ="SMALLINT" size ="255" default ="0" notnull ="false" description="Ist zukünftig?" ><comment>1=Ja,2=nein</comment></column> |
|
|
|
<column name="ist_zukunft" type ="SMALLINT" size ="255" default ="0" notnull ="false" description="Ist zukünftig?" ><comment>1=Ja,2=nein</comment></column> |
|
|
|
<column name="akad_jahr" type ="INTEGER" size ="4" default ="" notnull ="false" description="Akad. Jahr"><comment>Def. STBA: WiSe + nachfolgendes SoSe (z.B. 2006 = 20062 + 20071)</comment></column> |
|
|
|
<column name="akad_jahr" type ="INTEGER" size ="4" default ="" notnull ="false" description="Akad. Jahr"><comment>Def. Akad. Jahr STBA: WiSe + nachfolgendes SoSe (z.B. 2006 = 20062 + 20071)</comment></column> |
|
|
|
<column name="akad_jahr_absolv" type ="INTEGER" size ="4" default ="" notnull ="false" description="Akad. Jahr"><comment>Def. Sachsen Absolv.: vorheriges WiSe + SoSe (z.B. 2006 = 20052 + 20061)</comment></column> |
|
|
|
<column name="akad_jahr_absolv" type ="INTEGER" size ="4" default ="" notnull ="false" description="Prüfungsjahr"><comment>Def. Absolv.: vorheriges WiSe + SoSe (z.B. 2006 = 20052 + 20061) https://www.destatis.de/DE/Mediathek/Digitales-Magazin/Bildung/Glossar/pruefungsjahr.html</comment></column> |
|
|
|
<column name="akad_jahr_anf" type ="INTEGER" size ="4" default ="" notnull ="false" description="Akad. Jahr"><comment>Def. Sachsen Anfäger: SA Studienanfänger: SoSe + WiSe (z.B. 2006 = 20061 + 20062)</comment></column> |
|
|
|
<column name="akad_jahr_stud" type ="INTEGER" size ="4" default ="" notnull ="false" description="Studienjahr"><comment>Def. Studienjahr: SoSe + WiSe (z.B. 2006 = 20061 + 20062)</comment></column> |
|
|
|
</columns> |
|
|
|
</columns> |
|
|
|
<sql dbsystem=""><![CDATA[ |
|
|
|
<sql dbsystem=""><![CDATA[ |
|
|
|
with tmp_semester as (select C.apnr as tid, |
|
|
|
with tmp_semester as (select C.apnr as tid, |
|
|
|
@ -8728,9 +8728,11 @@ where dimension_bp_id=(select D.tid from dimension_bp D where D.apnr='bluep_absc |
|
|
|
(case when sem_beginn > current_date then 1 else 0 end) as ist_zukunft, |
|
|
|
(case when sem_beginn > current_date then 1 else 0 end) as ist_zukunft, |
|
|
|
case when semestertyp='1' then (tid/10)-1 when semestertyp='2' then (tid/10) end as akad_jahr, |
|
|
|
case when semestertyp='1' then (tid/10)-1 when semestertyp='2' then (tid/10) end as akad_jahr, |
|
|
|
case when semestertyp='1' then (tid/10) when semestertyp='2' then (tid/10)+1 end as akad_jahr_absolv, |
|
|
|
case when semestertyp='1' then (tid/10) when semestertyp='2' then (tid/10)+1 end as akad_jahr_absolv, |
|
|
|
case when semestertyp='1' then (tid/10) when semestertyp='2' then (tid/10) end as akad_jahr_anf |
|
|
|
case when semestertyp='1' then (tid/10) when semestertyp='2' then (tid/10) end as akad_jahr_stud |
|
|
|
|
|
|
|
|
|
|
|
from tmp_semester |
|
|
|
from tmp_semester |
|
|
|
|
|
|
|
where length('' || tid)=5 and substring('' || tid from 5 for 1) in ('1','2','3','4') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
]]></sql> |
|
|
|
]]></sql> |
|
|
|
|
|
|
|
|
|
|
|
|