Agitos: Unterschied zwischen den Versionen
Aus Wikibati
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) (→Url) |
||
Zeile 2: | Zeile 2: | ||
https://www.keb-muenchen.de/kebimport/kebimport.php | https://www.keb-muenchen.de/kebimport/kebimport.php | ||
+ | |||
+ | == 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_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 9. Februar 2015, 18:50 Uhr
Url
https://www.keb-muenchen.de/kebimport/kebimport.php
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_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