Ich habe in der Datenbank die Zeichen * Ascii Code 45 und - Ascii Code 42.
Führe ich einen order by mit Sortierung durch erscheint zuerst * und dann -.
psql=# select ascii(index), cast(index as varchar(254)),cast(text as varchar(254)) from table
psql=# where name = ‘Translation’
psql=# order by index asc fetch first 5 rows only;
ascii | index | text
-------±-------±---------
45 | - | -
42 | * | Alle
48 | 01 | 01
48 | 02 | 02
48 | 03 | 03
(5 Zeilen)