Re: to_char()??

From: missive(at)frontiernet(dot)net (Lee Harr)
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: to_char()??
Date: 2001-10-16 00:42:52
Message-ID: 9qfvqb$28mv$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Mon, 15 Oct 2001 09:56:26 +0800, guard <guard(at)ficnet(dot)net> wrote:
> thanks
>
> I have run "select substr('hi there', 3, 5)::varchar(5) as xx;"
> but get error message
> Error: ERROR: parser: parse error at or near ":"
>

Works for me on 7.1.2 and pre-7.2
What version are you using?

select version();

That still leaves it unclear in my mind what exactly you want
from your query.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Frank Zhu 2001-10-16 03:41:32 Text/Image, JSP tomcat. How can I operate the text and image type field in Postgresql? only in java/jsp
Previous Message Ross J. Reedstrom 2001-10-16 00:34:16 Re: to_char()??