Re: Migration from DB2 to PostgreSQL-TIMESTAMP(arg1,arg1)

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Migration from DB2 to PostgreSQL-TIMESTAMP(arg1,arg1)
Date: 2013-06-27 18:53:35
Message-ID: 51CC8A2F.40906@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 6/27/2013 4:51 AM, sachin kotwal wrote:
> #select timestamp(current_date);

try... current_date::timestamptz
or.... cast current_date as timestamptz

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sergey Konoplev 2013-06-27 20:54:49 Re: Triggers NOT running as table owner
Previous Message John R Pierce 2013-06-27 18:49:24 Re: installer woes, 9.1 on windows 2008 R2