Autor Beitrag
Eisenmann
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26

XP
D4P
BeitragVerfasst: Do 10.06.04 13:59 
Hallo,
wie kann ich Bereiche Zusammenfassen als ob ich sie Kammern würde z.B
ausblenden Quelltext
1:
Select * From Auftrag where Kunde = "ABS" and Datum >"1.1.1900"					

zeigt mir die richtigen Datensätze, doch
ausblenden Quelltext
1:
Select * From Auftrag where Kunde = "ABS" and Datum >"1.1.1900" and Datum <"1.1.2003"					

also die Aufträge vor 2003 werden nicht gezeigt.
ausblenden Quelltext
1:
Select * From Auftrag where Kunde = "ABS" and ( Datum >"1.1.1900" and Datum <"1.1.2003" )					

Wenn ich richtig liege, wie ersetze ich die Kammern im SQL
bis dann
der Eisenmann
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Do 10.06.04 19:14 
Hallo,

ausblenden Quelltext
1:
SELECT * FROM Auftrag WHERE (Kunde="ABS") AND (Datum BETWEEN "1.1.1900" AND "1.1.2003")					

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)
Eisenmann Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 26

XP
D4P
BeitragVerfasst: Fr 11.06.04 19:41 
Hallo smiegel
hat prima geklappt, dank Dir.
Bis dann,
der Eisenmann