Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group