Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A6FBA650EB3 for ; Tue, 1 Jul 2008 18:14:03 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 88430-01 for ; Tue, 1 Jul 2008 18:13:51 -0300 (ADT) X-Greylist: delayed 00:15:12.390939 by SQLgrey-1.7.6 Received: from eciweb.eldocomp.com (eciweb.eldocomp.com [205.159.99.28]) by postgresql.org (Postfix) with ESMTP id 095C5650EA1 for ; Tue, 1 Jul 2008 18:13:32 -0300 (ADT) Received: from ecimail.eldocomp.com [172.20.128.2] by eciweb.eldocomp.com with XWall v3.42 ; Tue, 1 Jul 2008 13:58:07 -0700 thread-index: AcjbvSlc3oDpPmReSAmrUhxs2aNOgw== Received: from [172.20.131.10] ([172.20.131.10]) by ecimail.eldocomp.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 1 Jul 2008 13:58:06 -0700 Content-Class: urn:content-classes:message X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4133 From: Naomi Walker To: "pgsql-admin@postgresql.org" Subject: Change a character in a text field Date: Tue, 1 Jul 2008 13:58:06 -0700 X-Assembled-By: XWall v3.42 Message-ID: <486A9A5E.9070905@mhs.mphasis.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.302 tagged_above=0 required=5 tests=AWL=-0.517, MIME_QP_LONG_LINE=1.819 X-Spam-Level: * X-Archive-Number: 200807/17 X-Sequence-Number: 29627 Is there some way with a SQL state to interrogate a text field, and=20 replace characters. For example, we would like all "|"'s to be changed to something else, on=20 a regular basis... We could unload the rows, change them, and load back, but was hoping=20 someone had a slicker way to do it in place.. Thanks, Naomi --=20 ------------------------------------------------------------------------ Naomi Walker Chief Information Officer Eldorado Computing, Inc nwalker@eldocomp.com =20 ---An EDS Company 602-604-3100 ------------------------------------------------------------------------ The more I want to get something done, the less I call it work. =20 - Richard Bach ------------------------------------------------------------------------ -- CONFIDENTIALITY NOTICE -- Information transmitted by this=C2=A0e-mail is proprietary to MphasiS and/or= its Customers and is intended for use only by the individual or entity to w= hich it is addressed, and may contain information that is=C2=A0privileged, c= onfidential or exempt from disclosure under applicable law. If you are not t= he intended recipient or it appears that this e-mail has been forwarded to y= ou without proper authority, you are notified that any use or dissemination = of this information in any manner is strictly prohibited. In such cases, ple= ase notify us immediately at mailmaster@mphasis.com and delete this mail fro= m your records.