Agitos: Unterschied zwischen den Versionen

Aus Wikibati
Wechseln zu: Navigation, Suche
(SQL)
(SQL)
Zeile 8: Zeile 8:
 
  WHERE Veranstaltungen.ver_record = Veranstaltung_internet.ver_int_veranstaltung_record  
 
  WHERE Veranstaltungen.ver_record = Veranstaltung_internet.ver_int_veranstaltung_record  
 
  and ver_form!='R'  
 
  and ver_form!='R'  
and ver_titel1 is not null and LEN(ltrim(rtrim(ver_titel1)))>0  
+
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_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_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 13. Februar 2015, 12:48 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