Search Postgresql Archives

Syntax for converting double to a timestamp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to create a view based on this query

'select *, "timestamp"::timestamp from ccmanager_log'


This is the error I get to below, how do I use the time zone syntax

error: cannot cast tupe double precision to timestamp without time zone

What is the right syntax?


The column to be converted is also called timestamp

F Church


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux