pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Filip Rembiałkowski <plk.zuber@gmail.com>
To: Nicholas I <nicholas.domnic.i@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: help
Date: Fri, 7 May 2010 17:24:30 +0200
Message-ID: <s2u92869e661005070824l8f2d7139ibe75f79b02ecedd2@mail.gmail.com> (raw)
In-Reply-To: <z2ze13d0d11005042005p21c76315ha13f12199f9cebe5@mail.gmail.com>
References: <z2ze13d0d11005042005p21c76315ha13f12199f9cebe5@mail.gmail.com>

select substring( data from '\((.*)\)' ) from table;


2010/5/5 Nicholas I <nicholas.domnic.i@gmail.com>:
> Hi,
>
> I have a table in which the data's are entered like,
>
> Example:
>
> One (1)
> Two (2)
> Three (3)
>
> I want to extract the data which is only within the parentheses.
>
> that is
> 1
> 2
> 3
>
>
> Thank You
> Nicholas I
>
>



-- 
Filip Rembiałkowski
JID,mailto:filip.rembialkowski@gmail.com
http://filip.rembialkowski.net/



view thread (36+ messages)  latest in thread

Message-ID: <s2u92869e661005070824l8f2d7139ibe75f79b02ecedd2@mail.gmail.com>
Permalink:  ../s2u92869e661005070824l8f2d7139ibe75f79b02ecedd2@mail.gmail.com/
Also on:    postgresql.org/message-id/s2u92869e661005070824l8f2d7139ibe75f79b02ecedd2@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: plk.zuber@gmail.com, nicholas.domnic.i@gmail.com
  Subject: Re: help
  In-Reply-To: <s2u92869e661005070824l8f2d7139ibe75f79b02ecedd2@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox