timestamp convert function

Поиск
Список
Период
Сортировка
От Nhan NGO DINH
Тема timestamp convert function
Дата
Msg-id 6.0.0.22.2.20031127093319.01d03e68@192.168.0.254
обсуждение исходный текст
Ответы Re: timestamp convert function
Список pgsql-hackers
Hi,

This is really not a problem, may be in other circumstances...
This output has been obtained from a PostgreSQL 7.3.4

===
testdb=# select to_timestamp('23:20:30.123456', 'HH24:MI:SS.US')::time;  to_timestamp
----------------- 23:20:30.123459
(1 row)

testdb=# select to_timestamp('23:20:30', 'HH24:MI:SS.US')::time; to_timestamp
-------------- 23:20:30
(1 row)

testdb=# select to_timestamp('23:20:30', 'HH24:MI:SS.US')::time;  to_timestamp
----------------- 23:20:30.123459
(1 row)
===

Bye!

Nhan NGO DINH




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

Предыдущее
От: Jonathan Gardner
Дата:
Сообщение: Viewing Parse Tree of a query from front end
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Viewing Parse Tree of a query from front end