Re: to_char()??

Поиск
Список
Период
Сортировка
От missive@frontiernet.net (Lee Harr)
Тема Re: to_char()??
Дата
Msg-id 9qd0j0$1gc3$1@news.tht.net
обсуждение исходный текст
Ответ на to_char()??  ("guard" <guard@ficnet.net>)
Список pgsql-sql
> 
> 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 по дате отправления:

Предыдущее
От: Joel Burton
Дата:
Сообщение: Re: GROUPING
Следующее
От: "Pat M"
Дата:
Сообщение: Cenceptual help needed - periodic events