Re: [SQL] substring

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nuchanard Chiannilkulchai <nuch(at)valigene(dot)com>
Cc: pgsql-sql(at)hub(dot)org
Subject: Re: [SQL] substring
Date: 1999-04-27 14:36:43
Message-ID: 8408.925223803@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Nuchanard Chiannilkulchai <nuch(at)valigene(dot)com> writes:
> The problem is : select position ('_' in a ) from table_a does not
> work.
> ERROR: No such function 'strpos' with the specified attributes

Hmm, I don't see that under either 6.4.2 or current sources.

What data type is your column a? I tried text and char(n) and neither
one gave an error...

regards, tom lane

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 1999-04-27 15:07:32 Re: [SQL] Arrays and count()
Previous Message Tom Lane 1999-04-27 14:31:01 Re: [SQL] Strange behavior