Re: string reverse fucntion?

From: Richard Huxton <dev(at)archonet(dot)com>
To: AI Rumman <rummandba(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: string reverse fucntion?
Date: 2010-02-09 11:31:38
Message-ID: 4B71479A.8090306@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 09/02/10 09:51, AI Rumman wrote:
> I am using Postgresql 8.1.
>
> I have to reverse a string like 'abc' to 'cba'.
>
> Is there any function to do this?

Nothing built-in, but you can write your own easily enough in plpgsql -
google a bit for examples.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2010-02-09 11:37:08 Re: Order by and strings
Previous Message Boszormenyi Zoltan 2010-02-09 11:27:05 ERROR: could not load library "...": Exec format error