Re: How to apply a regular expression to a select statement

From: "ktm(at)rice(dot)edu" <ktm(at)rice(dot)edu>
To: JORGE MALDONADO <jorgemal1960(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: How to apply a regular expression to a select statement
Date: 2012-07-10 17:47:10
Message-ID: 20120710174710.GA15829@aart.rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, Jul 10, 2012 at 12:37:44PM -0500, JORGE MALDONADO wrote:
> Please consider the following situation.
>
> SELECT tar_clave, tar_nombre, tar_dir, tar_vdir FROM cat_tipos_artista

SELECT tar_clave, tar_nombre, url_decode(tar_dir), tar_vdir FROM cat_tipos_artista

You will need to write the url_decode() function if one does not
exist.

Regards,
Ken

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Burns 2012-07-13 21:49:34 Selecting Fields in Union in Subquery
Previous Message JORGE MALDONADO 2012-07-10 17:37:44 How to apply a regular expression to a select statement