Search Postgresql Archives

Re: Formatting time for INSERT INTO

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

 



On Apr 25, 2012, at 4:01 PM, Rich Shepard wrote:

>  The table has a column 'coll_time' of type time without time zone. New
> rows for the table are in a .sql file and the time values throw an error at
> the colon between hours:minutes. Do time values need to be quoted?

Yes, (date)time values need to be quoted as if they were strings.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[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