spring a string to rows (Postgresql 8.4)

Поиск
Список
Период
Сортировка
От Emi Lu
Тема spring a string to rows (Postgresql 8.4)
Дата
Msg-id 50EB2581.6000707@encs.concordia.ca
обсуждение исходный текст
Ответы Re: spring a string to rows (Postgresql 8.4)  (Raymond O'Donnell <rod@iol.ie>)
Re: spring a string to rows (Postgresql 8.4)  (Thomas Kellerer <spam_eater@gmx.net>)
Re: spring a string to rows (Postgresql 8.4)  (Moshe Jacobson <moshe@neadwerx.com>)
Список pgsql-general
Hello,

Is there a function to split a string to different rows?

For example, t1(id, col1)
values(1, 'a, b, c');

select id, string_split_to_row(col1, ',');

Return:
=========
1, a
1, b
1, c

Thanks alot!
Emi




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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: lc_time not working?
Следующее
От: Raymond O'Donnell
Дата:
Сообщение: Re: spring a string to rows (Postgresql 8.4)