pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Johnston <polobo@yahoo.com>
To: 'Fabio Ebner - Dna Solution' <fabio.ebner@dnasolution.com.br>
To: pgsql-sql@postgresql.org
Subject: Re: String Search
Date: Thu, 4 Oct 2012 15:57:28 -0400
Message-ID: <022001cda26a$7c13d500$743b7f00$@yahoo.com> (raw)
In-Reply-To: <506DE640.3050702@dnasolution.com.br>
References: <506DE640.3050702@dnasolution.com.br>

> -----Original Message-----
> From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-
> owner@postgresql.org] On Behalf Of Fabio Ebner - Dna Solution
> Sent: Thursday, October 04, 2012 3:41 PM
> To: pgsql-sql@postgresql.org
> Subject: [SQL] String Search
> 
> Anyone know the best way to do one select in String field?
> 
> tks

You are going to need to phrase a better question.  

In the meantime please read the documentation on the various built-in string
functions available.  I've provided links to the function index page (look
for "string functions") as well as PostgreSQL's full text search capability
since both are "string" related.

http://www.postgresql.org/docs/9.2/interactive/functions.html

http://www.postgresql.org/docs/9.2/interactive/textsearch.html

My best guess is you want to learn about substring functions and/or regular
expressions.

David J.






view thread (2+ messages)

Message-ID: <022001cda26a$7c13d500$743b7f00$@yahoo.com>
Permalink:  ../022001cda26a$7c13d500$743b7f00$@yahoo.com/
Also on:    postgresql.org/message-id/022001cda26a$7c13d500$743b7f00$@yahoo.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: polobo@yahoo.com, fabio.ebner@dnasolution.com.br
  Subject: Re: String Search
  In-Reply-To: <022001cda26a$7c13d500$743b7f00$@yahoo.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