Agitos: Unterschied zwischen den Versionen

Aus Wikibati
Wechseln zu: Navigation, Suche
(SQL)
(Ausschlusskriterien)
 
(6 dazwischenliegende Versionen des gleichen Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
[[Datei:agitos_internetschnittstelle.png|mini|Einstellungen]]
 
== Url ==
 
== Url ==
  
 
https://www.keb-muenchen.de/kebimport/kebimport.php
 
https://www.keb-muenchen.de/kebimport/kebimport.php
 +
 +
== Einstellungen ==
 +
 +
Typ: AGITOS
 +
 +
== Ausschlusskriterien ==
 +
 +
Veranstaltung ohne Strasse, PLZ, Ort oder RAUM werden nicht übertragen
 +
 +
== Kodierung ==
 +
 +
UTF8
  
 
== SQL ==
 
== SQL ==
Zeile 11: Zeile 24:
 
and ver_raum is not null and len(ltrim(rtrim(ver_raum)))>0  
 
and ver_raum is not null and len(ltrim(rtrim(ver_raum)))>0  
 
and ver_plz is not null and len(ltrim(rtrim(ver_plz)))>0  
 
and ver_plz is not null and len(ltrim(rtrim(ver_plz)))>0  
and (ver_beginn_datum is not null or (ver_beginn_datum is null and Veranstaltung_internet.ver_int_permanent=1)) and ver_int_hauptkategorie is not null  and LEN(ver_int_hauptkategorie)>0
+
and ver_ort is not null and len(ltrim(rtrim(ver_ort)))>0
 +
and ver_strasse is not null and len(ltrim(rtrim(ver_strasse)))>0
 +
and (ver_beginn_datum is not null or (ver_beginn_datum is null and Veranstaltung_internet.ver_int_permanent=1)) and ver_int_hauptkategorie is not null  and  
 +
LEN(ver_int_hauptkategorie)>0

Aktuelle Version vom 1. April 2015, 11:46 Uhr

Einstellungen

Url

https://www.keb-muenchen.de/kebimport/kebimport.php

Einstellungen

Typ: AGITOS

Ausschlusskriterien

Veranstaltung ohne Strasse, PLZ, Ort oder RAUM werden nicht übertragen

Kodierung

UTF8

SQL

select * from veranstaltungen,Veranstaltung_internet

WHERE Veranstaltungen.ver_record = Veranstaltung_internet.ver_int_veranstaltung_record 
and ver_form!='R' 

and ver_titel1 is not null and LEN(ltrim(rtrim(ver_titel1)))>0 and ver_raum is not null and len(ltrim(rtrim(ver_raum)))>0 and ver_plz is not null and len(ltrim(rtrim(ver_plz)))>0 and ver_ort is not null and len(ltrim(rtrim(ver_ort)))>0 and ver_strasse is not null and len(ltrim(rtrim(ver_strasse)))>0 and (ver_beginn_datum is not null or (ver_beginn_datum is null and Veranstaltung_internet.ver_int_permanent=1)) and ver_int_hauptkategorie is not null and LEN(ver_int_hauptkategorie)>0