How to apply a regular expression to a select statement

Поиск
Список
Период
Сортировка
От JORGE MALDONADO
Тема How to apply a regular expression to a select statement
Дата
Msg-id CAAY=A7-N1qJhx6hRpsneFUjdKdxXAC8Dpb0_it1rn12_yieesQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to apply a regular expression to a select statement
Список pgsql-novice
Please consider the following situation.

SELECT tar_clave, tar_nombre, tar_dir, tar_vdir FROM cat_tipos_artista

The field "tar_dir" was URL encoded before inserting the record into the database. What I need is to URL decode it right within the SELECT statement and I think that, maybe, this can be achieved by applying a regular expression in such a statement. I will very much appreciate if someone tells me if this is possible and how.

Respectfully,
Jorge Maldonado

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

Предыдущее
От: "Della-Croce, Gregory"
Дата:
Сообщение: A very simple question about rollback/commit
Следующее
От: "ktm@rice.edu"
Дата:
Сообщение: Re: How to apply a regular expression to a select statement