Re: to_chat(bigint)

Поиск
Список
Период
Сортировка
От Bricklen Anderson
Тема Re: to_chat(bigint)
Дата
Msg-id 45C37FC3.1010400@presinet.com
обсуждение исходный текст
Ответ на to_chat(bigint)  ("Ezequias Rodrigues da Rocha" <ezequias.rocha@gmail.com>)
Список pgsql-sql
Ezequias Rodrigues da Rocha wrote:
> Hi list,
> 
> Now I noticed that it is impossible to convert a bigint field to char 
> with the function to_char. Is it correct ?
> 
> If not please tell me how to convert a bigint using to_char.
> 
Couple ways I can see immedately:

select 123123123123123123123::BIGINT::TEXT;
or
select 
to_char(12312312312312312312::BIGINT,'fm9999999999999999999999999999999999');


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

Предыдущее
От: "Ezequias Rodrigues da Rocha"
Дата:
Сообщение: to_chat(bigint)
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Nocount and scope_identity()