Re: Combine Date and Time Columns to Timestamp

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Combine Date and Time Columns to Timestamp
Date: 2013-01-19 14:37:34
Message-ID: alpine.LNX.2.00.1301190636570.32614@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 18 Jan 2013, Adrian Klaver wrote:

> test=> SELECT ('2012-10-29 '||'10:19')::timestamp;
> timestamp
> ---------------------
> 2012-10-29 10:19:00

Thanks, Adrian. I suspected it was simple but I could not find a reference
to the syntax.

Much appreciated,

Rich

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-01-19 14:59:37 Re: Cannot install postgres 9.2, less than 32 MB of memory
Previous Message Alexander Reichstadt 2013-01-19 13:10:08 Cannot install postgres 9.2, less than 32 MB of memory