Re: Modifying text data?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Modifying text data?
Дата
Msg-id 20020313082255.I81426-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Modifying text data?  (e_arizon_benito@yahoo.com (Enrique Arizón Benito))
Список pgsql-general
On 8 Mar 2002, [ISO-8859-1] Enrique Ariz�n Benito wrote:

> Hi,
>  I'm trying to modify text fields in an "automatic" way so to be able
> for example, to change any 'Canada' substring occurrence with the
> UPPER CASE equivalent "CANADA", with the added option 'Canada'
> appearing anywhere inside the text field.
> While it is very easy to find matching registers by using regular
> expresions, (SELECT * from my_table where my_columm ~* 'canada'; in
> previous example) I find no way to change them afterwards, but
> manually updating each register.
>
>  Thanks in advance for any suggestions!

You might want to look into pl/perl, soundslike something that'd be easy
to do there.


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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: Storing Credit Card Info?
Следующее
От: "Bob T"
Дата:
Сообщение: dxf file format