Re: instr detail

From: Melvin Davidson <melvin6925(at)gmail(dot)com>
To: Igor Neyman <ineyman(at)perceptron(dot)com>
Cc: Ramesh T <rameshparnanditech(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: instr detail
Date: 2015-07-29 22:21:57
Message-ID: CANu8Fix20JpZcFaZcpES=ZUmQOG2X8Vr2D4erUqVK_3QQRa8Tg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Based om the definition of Oracle instr(), the equivalent PostgreSQL
function would be
position(substring in string).

On Wed, Jul 29, 2015 at 3:11 PM, Igor Neyman <ineyman(at)perceptron(dot)com> wrote:

>
>
>
>
> *From:* pgsql-general-owner(at)postgresql(dot)org [mailto:
> pgsql-general-owner(at)postgresql(dot)org] *On Behalf Of *Ramesh T
> *Sent:* Wednesday, July 29, 2015 12:34 PM
> *To:* pgsql-general(at)postgresql(dot)org
> *Subject:* [GENERAL] instr detail
>
>
>
> Hi All,
>
> is instr available in postgres 9.3..?
>
>
>
> in oracle instr('12.32.42','.',-1) ,any help appreciated
>
>
>
> __
>
>
>
> There are lots of string functions and operators:
>
>
>
> http://www.postgresql.org/docs/9.3/static/functions-string.html
>
>
>
> There is definitely a replacement for Oracle’s instr(…).
>
>
>
> Regards,
>
> Igor Neyman
>
>
>

--
*Melvin Davidson*
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Murali M 2015-07-29 22:42:52 Question about copy from with timestamp format
Previous Message Thomas Kellerer 2015-07-29 21:58:03 Re: Synchronous replication and read consistency