how to sort an array and remove duplicate in plpgsql

Поиск
Список
Период
Сортировка
От David Gagnon
Тема how to sort an array and remove duplicate in plpgsql
Дата
Msg-id 038a01c759b0$9f38e290$7401a8c0@cesart.local
обсуждение исходный текст
Ответы Re: how to sort an array and remove duplicate in plpgsql  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-general

Hi all,

  I’m messing up with this problem for a while and I searched the web without success.  I have an array of timestamp and I needed sorted and I need to remove duplicate value.  The Select statement offers the SORT BY and UNIQUE that may help me but so far I didn’t find the way to plug my array variable into the select and get back the sorted array in return.

Any help or clue will be really appreciated!

Regards

David

 

 

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

Предыдущее
От: peter pilsl
Дата:
Сообщение: proper export table to csv? multilineproblem.
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: how to sort an array and remove duplicate in plpgsql