"Tadej Kanizar" <Tadej.Kanizar@xxxxxxxxxxxxxxxx> writes: > I've got a timestamp field.. and it returns sth like "2006-01-04 > 21:33:17.156". How can I get the same result, just without the .156? Cast to timestamp(0). regards, tom lane
"Tadej Kanizar" <Tadej.Kanizar@xxxxxxxxxxxxxxxx> writes: > I've got a timestamp field.. and it returns sth like "2006-01-04 > 21:33:17.156". How can I get the same result, just without the .156? Cast to timestamp(0). regards, tom lane