How to show timestamp with milliseconds(3 digits) in Select clause in Ver7.1 ?

Поиск
Список
Период
Сортировка
От Liang Luo
Тема How to show timestamp with milliseconds(3 digits) in Select clause in Ver7.1 ?
Дата
Msg-id 00e401c2f2dc$3aa87280$e6071cac@convergia.com
обсуждение исходный текст
Ответы Re: How to show timestamp with milliseconds(3 digits) in Select clause in Ver7.1 ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
This is the query and result:

select h323_setup_time from pv_legs_new where h323_setup_time = '2003-01-01
00:43:59.996-05';
     h323_setup_time
---------------------------2003-01-01 00:43:60.00-05

Actually, the real data of second and millisecond is 59.996-05, but it shows
60.00. I failed to load it when I use this result in other query.



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Does anyone use TO_CHAR(INTERVAL)?
Следующее
От: Roy Souther
Дата:
Сообщение: Insert race hazard condition.