Autor Beitrag
Tower
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 99



BeitragVerfasst: Di 16.08.05 12:44 
Hallo!

Ich habe folgendes, kleines (hoffe ich) Problem:

Eine Interbasetabelle enthält die Spalte "DarstellenAls" vom Typ "DOM_TEXT127", die folgendermaßen definiert ist:

ausblenden Quelltext
1:
2:
3:
CREATE DOMAIN DOM_TEXT127 AS 
VARCHAR(127) CHARACTER SET WIN1252 
COLLATE WIN1252


Das Problem dabei ist jetzt, dass ich diese Tabelle in einem Grid darstellen und nach obiger Spalte sortieren will - und dabei wird nach der Groß-/Kleinschreibung unterschieden!
Da leider niemand kapiert, warum "paprika" HINTER "Xylophon" einsortiert wird, würde ich das gerne ändern.

Liegt das an dem WIN1252? Wenn ja, hätte ich wohl ein Problem, weil dieser Zeichensatz vorgegeben ist...
Tower Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 99



BeitragVerfasst: Mi 14.09.05 09:03 
Keiner 'ne Idee? :(
Martin1966
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1068

Win 2000, Win XP
Delphi 7, Delphi 2005
BeitragVerfasst: Mi 14.09.05 09:17 
Vielleicht hilft dir dieser Beitrag ja weiter: Sortierung unter Interbase???

Lg Martin
MisterBum
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 107



BeitragVerfasst: Mi 14.09.05 09:17 
Kannst du in die Sortierabfrage kein UPPER() einbauen, d.h.

ausblenden Quelltext
1:
2:
3:
SELECT * 
FROM Tabelle
ORDER BY UPPER(Feldname);