Re: Problem with timestamp - Pls help
От
Tom Lane
Тема
Re: Problem with timestamp - Pls help
Дата
Msg-id
20527.1063986150@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Problem with timestamp - Pls help "Kumar" <sgnerd@yahoo.com.sg>
Re: Problem with timestamp - Pls help Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: Problem with timestamp - Pls help Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: Problem with timestamp - Pls help Tom Lane <tgl@sss.pgh.pa.us>
Re: Problem with timestamp - Pls help Tom Lane <tgl@sss.pgh.pa.us>
Re: Problem with timestamp - Pls help Tomasz Myrta <jasiek@klaster.net>
"Kumar" writes: > I wanted to update one column of my table with now() or timestamp. And I wa= > nt that timestamp of format ------------------------ > 2003-09-19 18:39:08.13 It sounds like you simply want to limit the fractional precision of the value. Why don't you just declare the column as timestamp(2) ? All this fooling around with substrings is inefficient and doesn't have much to do with your real intent anyhow. regards, tom lane
В списке pgsql-sql по дате отправления