Re: to_char()??

Поиск
Список
Период
Сортировка
От guard
Тема Re: to_char()??
Дата
Msg-id 9qdfnh$1jte$1@news.tht.net
обсуждение исходный текст
Ответ на to_char()??  ("guard" <guard@ficnet.net>)
Ответы Re: to_char()??  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Re: to_char()?? Works for me.  (Christopher Sawtell <csawtell@paradise.net.nz>)
Список pgsql-sql
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 ":"

--

"Lee Harr" <missive@frontiernet.net> ���g���l���s�D
:9qd0j0$1gc3$1@news.tht.net...
> >
> > how to
> > select substr('hi there',3,5) as xx   -->>  xx change char type
> >
>
> How about:
>
> select substr('hi there', 3, 5)::varchar(5) as xx;
>
> or is this not what you mean?
>




В списке pgsql-sql по дате отправления:

Предыдущее
От: "guard"
Дата:
Сообщение: to_char()??
Следующее
От: "Aasmund Midttun Godal"
Дата:
Сообщение: Re: Indexes