Hallo !
ich habe folgendes (unlogisches) Problem:
SELECT Preis1
FROM WH_Preis
WHERE ArtNr = 'HDS5106'
AND GueltBis >= CURRENT_DATE
AND GueltAb <= CURRENT_DATE;
MySQL Tabelle WH_Preis:
Artnr VARCHAR (Inhalt: HDS5106)
GueltAb DATE (Inhalt: 2001-07-01)
GueltBis DATE (Inhalt: 2001-12-31)
Alle Felder usw. sind richtig geschrieben. Die Abfrage müsste doch funzen !!!! Lass ich eine Datumsabfrage (egal ob GueltAb oder Bis)weg funktioniert es.
Hilfe !!!
Gruss
Bernard