@ -9,6 +9,145 @@ system="SuperX-Connect" thema="Hochschulvergleich" thema_parent="Abfragen">
rightname="CS_BIA_STANDARDREPORTS_ADMIN[SXC]" />
rightname="CS_BIA_STANDARDREPORTS_ADMIN[SXC]" />
</sachgebiete>
</sachgebiete>
<table name= "sxc_hochschulen" >
<columns > <column name= "name" type = "VARCHAR" size = "255" default = "" notnull = "false" />
<column name= "hs_nr" type = "INTEGER" 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= "dat_in_sxc" type = "CHAR" size = "4" default = "" notnull = "false" />
<column name= "hrk_laufnummer" type = "INTEGER" size = "10" default = "" notnull = "false" />
<column name= "hrk_art" type = "CHAR" size = "30" default = "" notnull = "false" />
<column name= "hrk_traegerschaft" type = "CHAR" size = "30" default = "" notnull = "false" />
<column name= "hs_nr_hauptsitz" type = "INTEGER" size = "10" default = "" notnull = "false" />
<column name= "updated" type = "CHAR" size = "200" default = "" notnull = "false" />
<column name= "hrk_hauptsitz" 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_standorte" >
<columns > <column name= "name" type = "VARCHAR" size = "255" default = "" notnull = "false" />
<column name= "stort_nr" 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= "hrk_laufnummer" type = "INTEGER" size = "10" default = "" notnull = "false" />
<column name= "hauptsitz" 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_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>
<!-- Datentabellen destatis: -->
<table name= "sxc_stud_sem_da_geschl_hs_neu" thema= "SuperX-Connect" typ= "Ladetabelle"
<table name= "sxc_stud_sem_da_geschl_hs_neu" thema= "SuperX-Connect" typ= "Ladetabelle"
releaseUnload="empty">
releaseUnload="empty">
<columns > <column name= "statistik_code" type = "VARCHAR" size = "255" default = "" notnull = "false" />
<columns > <column name= "statistik_code" type = "VARCHAR" size = "255" default = "" notnull = "false" />
@ -87,6 +226,74 @@ rightname="CS_BIA_STANDARDREPORTS_ADMIN[SXC]" />
<views >
<views >
<view name= "sxc_hochschulen_hsk_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'::varchar AS druck,
0 AS apnr,
NULL::integer AS parent,
0::smallint AS ebene
FROM xdummy
UNION
SELECT sxc_hsk_hochschultypen.bezeichnung AS druck,
sxc_hsk_hochschultypen.laufnummer AS apnr,
0 AS parent,
1 AS ebene
FROM sxc_hsk_hochschultypen
UNION
SELECT 'nicht zugeordnet'::varchar AS druck,
99 AS apnr,
0 AS parent,
1 AS ebene
FROM xdummy
UNION
SELECT sxc_hochschulen.name AS druck,
sxc_hochschulen.hs_nr AS apnr,
(( SELECT h.laufnummer
FROM sxc_hsk_hochschultypen h
WHERE h.bezeichnung = sxc_hochschulen.hrk_art))::integer AS parent,
2::smallint AS ebene
FROM sxc_hochschulen
WHERE sxc_hochschulen.hrk_laufnummer IS NOT NULL AND sxc_hochschulen.hs_nr_hauptsitz IS NULL
UNION
SELECT sxc_hochschulen.name AS druck,
sxc_hochschulen.hs_nr * 100 AS apnr,
(( SELECT h.laufnummer
FROM sxc_hsk_hochschultypen h
WHERE h.bezeichnung = sxc_hochschulen.hrk_art))::integer AS parent,
2::smallint AS ebene
FROM sxc_hochschulen
WHERE sxc_hochschulen.hrk_laufnummer IS NOT NULL AND sxc_hochschulen.hs_nr_hauptsitz = 1
UNION
SELECT sxc_hochschulen.name AS druck,
sxc_hochschulen.hs_nr AS apnr,
99 AS parent,
2::smallint AS ebene
FROM sxc_hochschulen
WHERE sxc_hochschulen.hrk_laufnummer IS NULL AND sxc_hochschulen.hrk_hauptsitz IS NULL
UNION
SELECT sxc_hochschulen.name AS druck,
sxc_hochschulen.hs_nr AS apnr,
sxc_hochschulen.hs_nr_hauptsitz * 100 AS parent,
3::smallint AS ebene
FROM sxc_hochschulen
WHERE sxc_hochschulen.hrk_laufnummer IS NULL AND sxc_hochschulen.hs_nr_hauptsitz IS NOT NULL
UNION
SELECT btrim(s.name::text) || ' (Hauptsitz)'::text AS druck,
s.hs_nr AS apnr,
s.hs_nr * 100 AS parent,
3::smallint AS ebene
FROM sxc_hochschulen s
WHERE s.hrk_laufnummer IS NOT NULL AND s.hs_nr_hauptsitz = 1 AND (EXISTS ( SELECT s1.hrk_hauptsitz
FROM sxc_hochschulen s1
WHERE s1.hs_nr = s.hs_nr));
]]></sql>
</view>
</views>
</views>
@ -110,6 +317,12 @@ parent="SuperX-Connect">Abfragen zur Administration von SuperX-Connect </thema>
<path > $SXC_PFAD/masken</path>
<path > $SXC_PFAD/masken</path>
</src>
</src>
</maske>
</maske>
<maske tid= "47060" name= "Gesamtbericht Studierende nach Geschlecht und Nationalität" thema= "Hochschulvergleich" >
<description > </description>
<src >
<path > $SXC_PFAD/masken</path>
</src>
</maske>
</masken>
</masken>
<data-integrity >
<data-integrity >
@ -142,8 +355,23 @@ parent="SuperX-Connect">Abfragen zur Administration von SuperX-Connect </thema>
<upgrade >
<upgrade >
<upgrade-step >
<upgrade-step >
<action error= "stop" >
<action error= "stop" >
<loadtable refresh= "true" delimiter= "^" header= "false" tabname= "sxc_column_type" > <file path= "$SXC_PFAD/schluesseltabellen/sxc_column_type.unl" /> </loadtable>
<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>
<nativeaction sql= "" scriptfile= "$SXC_PFAD/schluesseltabellen/sx_stylesheets_einfuegen.sql" database= "" />
<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 >
<action >