pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Naomi Walker <nwalker@mhs.mphasis.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Change a character in a text field
Date: Tue, 1 Jul 2008 13:58:06 -0700
Message-ID: <486A9A5E.9070905@mhs.mphasis.com> (raw)

Is there some way with a SQL state to interrogate a text field, and 
replace characters.

For example, we would like all "|"'s to be changed to something else, on 
a regular basis...
We could unload the rows, change them, and load back, but was hoping 
someone had
a slicker way to do it in place..

Thanks,
Naomi

-- 
------------------------------------------------------------------------
Naomi Walker                          Chief Information Officer
Eldorado Computing, Inc               nwalker@eldocomp.com
  ---An EDS Company                   602-604-3100
------------------------------------------------------------------------
The more I want to get something done, the less I call it work.
   - Richard Bach
------------------------------------------------------------------------

-- CONFIDENTIALITY NOTICE --

Information transmitted by thisĀ e-mail is proprietary to MphasiS and/or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that isĀ privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this e-mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at mailmaster@mphasis.com and delete this mail from your records.



view thread (6+ messages)  latest in thread

Message-ID: <486A9A5E.9070905@mhs.mphasis.com>
Permalink:  ../486A9A5E.9070905@mhs.mphasis.com/
Also on:    postgresql.org/message-id/486A9A5E.9070905@mhs.mphasis.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-admin@postgresql.org
  Cc: nwalker@mhs.mphasis.com
  Subject: Re: Change a character in a text field
  In-Reply-To: <486A9A5E.9070905@mhs.mphasis.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