Modul SuperX-Connect
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

601 lines
30 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!--<!DOCTYPE module SYSTEM "../../../conf/superx-module.dtd"> -->
<module name="sxc" version="0.1" sachgebiet_id="360"
sachgebiet="SuperX-Connect" systeminfo_id="360"
system="SuperX-Connect" thema="Hochschulvergleich" thema_parent="Abfragen">
<database name="superx" system="superx">
<sachgebiete>
<sachgebiet id="361" name="SuperX-Connect Administr."
rightname="CS_BIA_STANDARDREPORTS_ADMIN[SXC]" />
</sachgebiete>
<table name="sxc_hochschulen">
<columns><column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="hs_nr" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="kapitel" type ="CHAR" size ="5" default ="" notnull ="false" />
<column name="art" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="traegerschaft" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="kurztext" type ="CHAR" size ="100" default ="" notnull ="false" />
<column name="ort" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="bland" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="hsk_laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="hsk_art" type ="CHAR" size ="30" default ="" notnull ="false" />
<column name="hsk_traegerschaft" type ="CHAR" size ="30" default ="" notnull ="false" />
<column name="updated" type ="CHAR" size ="200" default ="" notnull ="false" />
<column name="hsk_bundesland" type ="VARCHAR" size ="255" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="sxc_hochschulen_standorte">
<columns>
<column name="hsk_laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="kurzname" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="ort" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="standort_ort" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="hauptsitz" type ="CHAR" size ="1" default ="" notnull ="false" />
<column name="standort_laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="standort_nr" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="hs_nr" type ="CHAR" size ="10" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="sxc_hochschulen_hsk">
<columns><column name="hsnr" type ="INTEGER" size ="10" default ="" notnull ="true" />
<column name="hochschulkurzname" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="hochschulname" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="hochschultyp" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="traegerschaft" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="bundesland" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="anzahl_studierende" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="gruendungsjahr" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="promotionsrecht" type ="CHAR" size ="4" default ="" notnull ="false" />
<column name="habilitationsrecht" type ="CHAR" size ="4" default ="" notnull ="false" />
<column name="strasse" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="postleitzahl" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="hausanschrift_ort" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="hausanschrift_postfach" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="postleitzahl_postanschrift" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="ort_postanschrift" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="telefonvorwahl" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="telefon" type ="CHAR" size ="30" default ="" notnull ="false" />
<column name="fax" type ="CHAR" size ="30" default ="" notnull ="false" />
<column name="homepage" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="mitglied_hrk" type ="SMALLINT" size ="5" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys>
<rs>
<row>
<fld name='table_cat'>superx</fld>
<fld name='table_schem'>superx</fld>
<fld name='table_name'>sxc_hochschulen_hsk</fld>
<fld name='column_name'>hsnr</fld>
<fld name='key_seq'>1</fld>
<fld name='pk_name'>pk_sxc_hochschulen_hsk</fld>
</row>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="sxc_hsk_hochschulen_standorte">
<columns><column name="laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="kurzname" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="typ" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="typ_str" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="traegertyp" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="bundesland" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="bundesland_str" type ="VARCHAR" size ="200" default ="" notnull ="false" />
<column name="traegertyp_str" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="ort" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="standort_name" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="standort_ort" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="hauptsitz" type ="CHAR" size ="1" default ="" notnull ="false" />
<column name="standort_laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="sxc_hsk_hochschultypen">
<columns><column name="laufnummer" type ="SMALLINT" size ="5" default ="" notnull ="false" />
<column name="bezeichnung" type ="CHAR" size ="30" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys>
<rs>
<row>
<fld name='table_cat'>superx</fld>
<fld name='table_schem'>superx</fld>
<fld name='table_name'>sxc_hsk_hochschultypen</fld>
<fld name='column_name'>laufnummer</fld>
<fld name='key_seq'>1</fld>
<fld name='pk_name'>pk_sxc_hsk_hochschultypen</fld>
</row>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="sxc_hsk_traegerschaftstypen">
<columns><column name="laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="bezeichnung" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="staatltraegersch" type ="BOOLEAN" size ="1" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys></foreignKeys>
<importedKeys></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<!--Datentabellen destatis:-->
<table name="sxc_stud_sem_da_geschl_hs_neu" thema="SuperX-Connect" typ="Ladetabelle"
releaseUnload="empty">
<columns><column name="statistik_code" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="statistik_label" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="zeit_code" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="zeit_label" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="zeit" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="bil002__studierende__anzahl" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="bil002__studierende__q" type ="VARCHAR" size ="255" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="sxc_stud_sem_da_geschl_hs" thema="SuperX-Connect" typ="Datentabelle"
releaseUnload="empty">
<columns><column name="statistik_code" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="statistik_label" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="zeit_code" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="zeit_label" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="zeit" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="semester" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="merkmal_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="merkmal_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="auspraegung_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="bil002__studierende__anzahl" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="bil002__studierende__q" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="standort_nr" type ="CHAR" size ="10" default ="" notnull ="false" />
<column name="hs_nr" type ="CHAR" size ="10" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="sxc_itnrw_sfmk_neu" thema="SuperX-Connect" typ="Ladetabelle"
releaseUnload="empty">
<columns><column name="hochschulnummer" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="hochschulstandort" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="gueltig_ab_jahr" type ="INTEGER" size ="255" default ="" notnull ="false" />
<column name="gueltig_ab_semester" type ="INTEGER" size ="255" default ="" notnull ="false" />
<column name="gueltig_bis_jahr" type ="INTEGER" size ="255" default ="" notnull ="false" />
<column name="gueltig_bis_semester" type ="INTEGER" size ="255" default ="" notnull ="false" />
<column name="studienfachschluessel_hsf" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="studienfach" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="abschlussschluessel" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="abschlusspruefung" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="art_des_studiums" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="vtd_schluessel" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="studientyp" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="regelstudienzeit" type ="INTEGER" size ="255" default ="" notnull ="false" />
<column name="lehreinheit" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="studienfach_hochschule" type ="VARCHAR" size ="255" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="sxc_itnrw_sfmk" thema="SuperX-Connect" typ="Datentabelle"
releaseUnload="empty">
<columns><column name="hs_nr" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="hochschulstandort" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="gueltig_ab_semester" type ="INTEGER" size ="255" default ="" notnull ="false" />
<column name="gueltig_bis_semester" type ="INTEGER" size ="255" default ="" notnull ="false" />
<column name="studienfach_land" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="studienfach_name" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="abschluss_land" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="stufrm" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="abschluss_name" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="stufrm_name" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="studientyp" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="studientyp_str" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="regelstudienzeit" type ="INTEGER" size ="255" default ="" notnull ="false" />
<column name="lehreinheit" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="studienfach_hochschule_name" type ="VARCHAR" size ="255" default ="" notnull ="false" />
<column name="standort_nr" type ="CHAR" size ="10" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="sxc_trans_hs_nr" thema="SuperX-Connect" typ="Zuordnungstabelle"
releaseUnload="empty">
<columns>
<column name="hs_nr_kenn" type ="CHAR" size ="10" default ="" notnull ="true" />
<column name="hs_nr_sourcesystem" type ="CHAR" size ="10" default ="" notnull ="true" />
<column name="sourcesystem_id" type ="INTEGER" size ="10" default ="" notnull ="true" />
<column name="kommentar" type ="VARCHAR" size ="255" default ="" notnull ="false" />
</columns>
<indexes></indexes>
<primaryKeys><rs>
</rs></primaryKeys>
<foreignKeys><rs>
</rs></foreignKeys>
<importedKeys><rs>
</rs></importedKeys>
<privileges><rs>
</rs></privileges>
</table>
<table name="sxc_zahl_wert" typ="Datentabelle" thema="">
<description>Kennzahlen aus manueller Schnittstelle</description>
<columns>
<column name="tid" type ="SERIAL" size ="4" default ="" notnull ="true" ><comment>Primaerschluessel</comment></column>
<column name="hs_nr" type ="CHAR" size ="10" default ="" notnull ="false" description="Hochschulnummer" />
<column name="kenn_zahl" type ="CHAR" size ="100" default ="" notnull ="true" description="Name der Kennzahl"/>
<column name="jahr" type ="SMALLINT" size ="4" default ="" notnull ="false" description="Bezugsjahr" />
<column name="sem" type ="SMALLINT" size ="4" default ="" notnull ="false" description="Bezugssemester" />
<column name="ch110_institut" type ="CHAR" size ="10" default ="" notnull ="false" description="Kostenstelle/Institut" />
<column name="bland" type ="INTEGER" size ="" default ="" notnull ="false" description="Bundesland" ><comment>0 heißt deutschlandweit</comment></column>
<column name="sxc_bestand_id" type ="INTEGER" size ="" default ="" notnull ="false" description="ID des Bestandes" />
<column name="wert" type ="DECIMAL" size ="(30,20)" default ="" notnull ="false" description="Wert der Kennzahl" />
<column name="generic_dim1" type ="CHAR" size ="100" default ="" notnull ="false" description="Generische Definition 1" ><comment></comment></column>
<column name="generic_dim2" type ="CHAR" size ="100" default ="" notnull ="false" description="Generische Definition 2" ><comment></comment></column>
</columns>
<indexes>
<index name="i_sxc_zahl_wert" unique="false">
<index-column name="kenn_zahl"/>
<index-column name="sem"/>
</index>
<index name="i_sxc_zahl_wert2" unique="false">
<index-column name="kenn_zahl"/>
<index-column name="jahr"/>
<index-column name="ch110_institut"/>
</index>
</indexes>
<!--
<primaryKeys><rs>
<row>
<fld name='table_cat'></fld>
<fld name='table_schem'>public</fld>
<fld name='table_name'>sxc_zahl_wert</fld>
<fld name='column_name'>tid</fld>
<fld name='key_seq'>1</fld>
<fld name='pk_name'>i_sxc_zahl_wert</fld>
</row>
</rs></primaryKeys>
<foreignKeys></foreignKeys>
<importedKeys></importedKeys>
<privileges><rs>
</rs></privileges>-->
</table>
<table name="sxc_bestand" typ="Schlüsseltabelle" thema="">
<description>Bestände und deren Quellen</description>
<columns>
<column name="tid" type ="SERIAL" size ="4" default ="" notnull ="true" ><comment>Primaerschluessel</comment></column>
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Name des Bestandes" ><comment>bspw. MKW NRW Hochschulkennzahlen</comment></column>
<column name="quelle" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Quelle des Bestandes" ><comment>bspw. MKW NRW</comment></column>
<column name="bland" type ="INTEGER" size ="" default ="" notnull ="false" description="Bundesland" ><comment>0 heißt deutschlandweit</comment></column>
</columns>
</table>
<table name="sxc_mapping_bestand" typ="Schlüsseltabelle" thema="">
<description>Bestände und deren Quellen</description>
<columns>
<column name="sxc_bestand_id" type ="INTEGER" size ="4" default ="" notnull ="true" ><comment>bspw. 1</comment></column>
<column name="object_type" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Objekt-Typ" ><comment>bspw. Hochschule</comment></column>
<column name="object_value" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Objekt-Wert" ><comment>bspw. Uni Leipzig</comment></column>
<column name="target_table" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Zieltabelle" ><comment>bspw. sxc_zahl_wert</comment></column>
<column name="target_table_bestand_id" type ="INTEGER" size ="255" default ="" notnull ="false" description="Bestand-ID in Zieltabelle" ><comment>bspw. 1</comment></column>
<column name="target_column" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Zielspalte" ><comment>bspw. hs_nr</comment></column>
<column name="target_value" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Wert in Zielspalte" ><comment>bspw. 361</comment></column>
</columns>
</table>
<views>
<view name="sxc_hochschulen_art">
<columns><column name="druck" type ="CHAR" size ="2147483647" default ="" notnull ="false" />
<column name="apnr" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="parent" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="ebene" type ="INTEGER" size ="10" default ="" notnull ="false" />
</columns>
<sql dbsystem=""><![CDATA[
select 'Hochschulen', 0::char(10) as hs_nr, null::char(10) as parent, 0::smallint as ebene from xdummy
union select bezeichnung, laufnummer::char(10), '0'::char(10) as parent, 1 as ebene from sxc_hsk_hochschultypen
--Element kann sich nicht selbst als parent haben!!
--die Einzelhochschulen
union select name, hs_nr::char(10), (select laufnummer from sxc_hsk_hochschultypen H where H.bezeichnung=sxc_hochschulen.hsk_art)::char(10) as parent,
2::smallint as ebene from sxc_hochschulen where
hs_nr is not null;
]]></sql>
</view>
<view name="sxc_hochschulen_bland">
<columns><column name="druck" type ="CHAR" size ="2147483647" default ="" notnull ="false" />
<column name="apnr" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="parent" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="ebene" type ="INTEGER" size ="10" default ="" notnull ="false" />
</columns>
<sql dbsystem=""><![CDATA[
select 'Hochschulen', 0::char(10) as hs_nr, null::char(10) as parent, 0::smallint as ebene from xdummy
union select hsk_bundesland, substring(hsk_bundesland, 1,10), '0'::char(10) as parent, 1 as ebene from sxc_hochschulen
union select name, hs_nr::char(10), substring(hsk_bundesland, 1,10) as parent, 2::smallint as ebene from sxc_hochschulen where
hs_nr is not null ;
]]></sql>
</view>
<view name="sxc_hochschulen_liste">
<columns><column name="druck" type ="CHAR" size ="2147483647" default ="" notnull ="false" />
<column name="apnr" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="parent" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="ebene" type ="INTEGER" size ="10" default ="" notnull ="false" />
</columns>
<sql dbsystem=""><![CDATA[
select 'Hochschulen', 0::char(10) as hs_nr, null::char(10) as parent, 0::smallint as ebene from xdummy
union
select name, hs_nr::char(10), '0'::char(10) as parent, 1::smallint as ebene from sxc_hochschulen where
hs_nr is not null ;
]]></sql>
</view>
<view name="sxc_hochschulen_nrw_art">
<columns><column name="druck" type ="CHAR" size ="2147483647" default ="" notnull ="false" />
<column name="apnr" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="parent" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="ebene" type ="INTEGER" size ="10" default ="" notnull ="false" />
</columns>
<sql dbsystem=""><![CDATA[
select 'Hochschulen in NRW', 0::char(10) as hs_nr, null::char(10) as parent, 0::smallint as ebene from xdummy
union select bezeichnung, laufnummer::char(10), '0'::char(10) as parent, 1 as ebene from sxc_hsk_hochschultypen
union select name, hs_nr::char(10), (select laufnummer from sxc_hsk_hochschultypen H where H.bezeichnung=sxc_hochschulen.hsk_art)::char(10) as parent,
2::smallint as ebene from sxc_hochschulen where
hs_nr is not null
and hsk_bundesland='Nordrhein-Westfalen';
]]></sql>
</view>
<view name="sxc_hochschulen_nrw_liste">
<columns><column name="druck" type ="CHAR" size ="2147483647" default ="" notnull ="false" />
<column name="apnr" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="parent" type ="INTEGER" size ="10" default ="" notnull ="false" />
<column name="ebene" type ="INTEGER" size ="10" default ="" notnull ="false" />
</columns>
<sql dbsystem=""><![CDATA[
select 'Hochschulen', 0::char(10) as hs_nr, null::char(10) as parent, 0::smallint as ebene from xdummy
union
select name, hs_nr::char(10), '0'::char(10) as parent, 1::smallint as ebene from sxc_hochschulen where
hs_nr is not null
and hsk_bundesland='Nordrhein-Westfalen';
]]></sql>
</view>
</views>
<functions>
</functions>
<themen>
<thema name="Administration SuperX-Connect"
parent="SuperX-Connect">Abfragen zur Administration von SuperX-Connect </thema>
</themen>
<masken>
<maske tid="47000" name="Studierende nach Geschlecht und Nationalität" thema="Hochschulvergleich">
<description></description>
<src>
<path>$SXC_PFAD/masken</path>
</src>
</maske>
<maske tid="47030" name="Kreuztabelle Studierende nach Geschlecht und Nationalität" thema="Hochschulvergleich">
<description></description>
<src>
<path>$SXC_PFAD/masken</path>
</src>
</maske>
<maske tid="47060" name="Gesamtbericht Studierende nach Geschlecht und Nationalität" thema="Hochschulvergleich">
<description></description>
<src>
<path>$SXC_PFAD/masken</path>
</src>
</maske>
<maske tid="47090" name="Studiengangskombinationen NRW" thema="Hochschulvergleich">
<description></description>
<src>
<path>$SXC_PFAD/masken</path>
</src>
</maske>
<maske tid="47110" name="Stammdaten NRW" thema="Hochschulvergleich">
<description></description>
<src>
<path>$SXC_PFAD/masken</path>
</src>
</maske>
</masken>
<data-integrity>
</data-integrity>
</database>
<!-- ********************* Liste der SXC-Prozesse ************************** -->
<etl>
<etl-step name="Transformation" type="trans">
<action>
<nativeaction sql="update systeminfo set datum=today() where tid in (360)" scriptfile="" database=""/>
</action>
</etl-step>
</etl>
<install>
<install-step name="Füllen der Modul-Tabellen">
<action error="stop">
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hochschulen_hsk">
<file path="$SXC_PFAD/schluesseltabellen/sxc_hochschulen_hsk.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hochschulen">
<file path="$SXC_PFAD/schluesseltabellen/sxc_hochschulen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_hochschulen_standorte">
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_hochschulen_standorte.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_hochschultypen">
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_hochschultypen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_traegerschaftstypen">
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_traegerschaftstypen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_bestand">
<file path="$SXC_PFAD/schluesseltabellen/sxc_bestand.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_mapping_bestand">
<file path="$SXC_PFAD/schluesseltabellen/sxc_mapping_bestand.unl"/></loadtable>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sx_stylesheets_einfuegen.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sichten_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_install.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_dims_install.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_install_restrictions.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sx_jobs_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/macro_masken_bez_fuellen.sql" database=""/>
</action>
<action>
</action>
</install-step>
</install>
<upgrade>
<upgrade-step>
<action error="stop">
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hochschulen_hsk">
<file path="$SXC_PFAD/schluesseltabellen/sxc_hochschulen_hsk.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hochschulen">
<file path="$SXC_PFAD/schluesseltabellen/sxc_hochschulen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_hochschulen_standorte">
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_hochschulen_standorte.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_hochschultypen">
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_hochschultypen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_traegerschaftstypen">
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_traegerschaftstypen.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_bestand">
<file path="$SXC_PFAD/schluesseltabellen/sxc_bestand.unl"/></loadtable>
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_mapping_bestand">
<file path="$SXC_PFAD/schluesseltabellen/sxc_mapping_bestand.unl"/></loadtable>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sx_stylesheets_einfuegen.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sichten_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_install.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_dims_install.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_install_restrictions.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sx_jobs_fuellen.sql" database=""/>
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/macro_masken_bez_fuellen.sql" database=""/>
</action>
<action>
</action>
</upgrade-step>
</upgrade>
<uninstall-step name="Deinstalliere Schlüssel">
<action error="stop">
</action>
</uninstall-step>
<!-- ********************* Liste der SXC-Prozesse ************************** -->
<dbforms>
</dbforms>
</module>