Re: to_char()?? - Mailing list pgsql-sql

From missive@frontiernet.net (Lee Harr)
Subject Re: to_char()??
Date
Msg-id 9qfvqb$28mv$1@news.tht.net
Whole thread Raw
In response to to_char()??  ("guard" <guard@ficnet.net>)
List pgsql-sql
On Mon, 15 Oct 2001 09:56:26 +0800, guard <guard@ficnet.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.




pgsql-sql by date:

Previous
From: Szabo Zoltan
Date:
Subject: index problem
Next
From: Szabo Zoltan
Date:
Subject: Re: to_char()??