From: Milen A. Radev <milen@radev.net>
To: pgsql-sql@postgresql.org
Subject: Re: Substitute
Date: Wed, 21 Mar 2007 05:02:56 +0200
Message-ID: <etq779$8ld$1@sea.gmane.org> (raw)
In-Reply-To: <46007447.8010202@correolux.com.mx>
References: <46007447.8010202@correolux.com.mx>
Judith написа:
> Hello everybody....
>
> somebody knows, how I can substitute in a query if a field contains a
> character that I want to be shown with other character?
>
> for example if I have a \n I want to shows me a ~ in the result of the
> select
>
Look for 'replace' here -
http://www.postgresql.org/docs/8.2/static/functions-string.html.
--
Milen A. Radev
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: milen@radev.net
Subject: Re: Substitute
In-Reply-To: <etq779$8ld$1@sea.gmane.org>
* 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