From: Josh Berkus <josh@agliodbs.com>
To: narendraa@subexgroup.com
Cc: pgsql-sql@postgresql.org
Subject: Re: is there a way to get hh:mm:ss given seconds
Date: Tue, 09 Jul 2002 22:46:49 -0700
Message-ID: <web-1571826@davinci.ethosmedia.com> (raw)
In-Reply-To: <000001c227c7$80d8eb30$19ba10ac@narendraa>
Narendra,
> I tried all these. This is what I get
> SQL> SELECT "interval"(cast(422 as varchar) || ' seconds');
> SELECT "interval"(cast(422 as varchar) || ' seconds')
> *
> ERROR at line 1:
> ORA-00906: missing left parenthesis
> SQL> select '422 seconds'::interval;
> select '422 seconds'::interval
> *
> ERROR at line 1:
> ORA-00923: FROM keyword not found where expected
Those don't look like PostgreSQL error messages. I think you are using
some other database.
-Josh Berkus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, narendraa@subexgroup.com
Subject: Re: is there a way to get hh:mm:ss given seconds
In-Reply-To: <web-1571826@davinci.ethosmedia.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox