Autor Beitrag
flowstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 123

WinME
D6 Enterprise
BeitragVerfasst: Fr 21.11.03 15:58 
Ich möchte mein Query nach dem Datum sortieren. Wie geht das? Ich habe jahr monat und tag in einzelnen Spalten gespeichert. Geht das oder muss ich es als Datum direkt speichern?
iKilledKenny
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 394
Erhaltene Danke: 8

Win XP
D5 Prof, C# Express 2005
BeitragVerfasst: Fr 21.11.03 16:07 
wenn du deine query mit einem sql command initialisierst, dann hilft da ein "order by" weiter

viele grüße
alex
neojones
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Fr 21.11.03 16:38 
ORDER BY jahr, monat, tag

Dann wirds aufsteigend sortiert. Geht aber auch mit einem DATE-Field.

_________________
Ha! Es compiliert! Wir können ausliefern!
flowstar Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 123

WinME
D6 Enterprise
BeitragVerfasst: Sa 22.11.03 15:37 
Danke