Re: Search and Replace

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Search and Replace
Дата
Msg-id 20030108145623.GA27870@wolff.to
обсуждение исходный текст
Ответ на Search and Replace  ("Randy D. McCracken" <rdm@srs.fs.usda.gov>)
Список pgsql-sql
On Wed, Jan 08, 2003 at 09:02:47 -0500, "Randy D. McCracken" <rdm@srs.fs.usda.gov> wrote:
> 
> UPDATE publications SET url = 'www.srs.fs.usda.gov' WHERE url =
> 'www.srs.fs.fed.us';

For simple cases you can do this with available string functions.
For more complicated cases, you can write a simple application
that selects records (which means you will need a unique key returned)
based on a regular expression and then the application will issue
updates for the matching records.


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

Предыдущее
От: "Randy D. McCracken"
Дата:
Сообщение: Search and Replace
Следующее
От: Richard Rowell
Дата:
Сообщение: to_date() confusion