Agitos: Unterschied zwischen den Versionen

Aus Wikibati
Wechseln zu: Navigation, Suche
(SQL)
Zeile 24: 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

Version vom 1. April 2015, 11:45 Uhr

Einstellungen

Url

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

Einstellungen

Typ: AGITOS

Ausschlusskriterien

Veranstaltung ohne PLZ 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