Re: select substr???

Поиск
Список
Период
Сортировка
От Tim Johnson
Тема Re: select substr???
Дата
Msg-id NBBBLHOPPPPCHCIABAFGOEDEDKAA.tim@celestialdesign.co.uk
обсуждение исходный текст
Ответы Re: Re: select substr???  (Peter Eisentraut <peter_e@gmx.net>)
Re: Re: select substr???  ("Albert REINER" <areiner@tph.tuwien.ac.at>)
Список pgsql-sql
Hi,

I have postgres 6.x (where x is something).

I have the following list of data

data
--------
ABC*
ABC
ABC-
ABC+
ABC
QWE~
ASD+
ASD#
KLASDHK-
KLASDHK+
KLASDHK
KLASDHK*


what I want to do is 'select distinct(data) [ignoring non alphanumeric
characters] order by data'

is there a way to do that? Changing the data stored in the table is not an
option as the suffixes are needed elsewhere..

Please help !!

Thanks,
Tim.



В списке pgsql-sql по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Casting numeric to text
Следующее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: Casting numeric to text