spring a string to rows (Postgresql 8.4)

Поиск
Список
Период
Сортировка
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)