pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bhuvan A <bhuvansql@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Pattern Matching on Columns
Date: Thu, 17 Jan 2002 10:46:54 +0530 (IST)
Message-ID: <Pine.LNX.4.20.0201171044440.12728-100000@Larry.bks> (raw)


Thu Jan 17 10:26:49 IST 2002
----------------------------

Hello,

How can i apply a delimiter, in pattern matching on database columns?

say, in my table i have a column of type 'text' and each of its value
is MULTIPLE lines.

Now, i would like to search for a string in (say delimiter is '\n')
that column and it should result in that many MATCHED LINES instead of
that many matched columns.

How can i achieve this? Thankx in advance.

NOTE: Kindly apologize for any inconvenience.


======================================================================
 I like work; it fascinates me; I can sit and look at it for hours.
======================================================================

Regards,
Bhuvaneswar.




view thread (2+ messages)  latest in thread

Message-ID: <Pine.LNX.4.20.0201171044440.12728-100000@Larry.bks>
Permalink:  ../Pine.LNX.4.20.0201171044440.12728-100000@Larry.bks/
Also on:    postgresql.org/message-id/Pine.LNX.4.20.0201171044440.12728-100000@Larry.bks

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: bhuvansql@yahoo.com
  Subject: Re: Pattern Matching on Columns
  In-Reply-To: <Pine.LNX.4.20.0201171044440.12728-100000@Larry.bks>
  References: <Pine.LNX.4.20.0201171044440.12728-100000@Larry.bks>

* 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