Re: is there a way to get hh:mm:ss given seconds

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: is there a way to get hh:mm:ss given seconds
Дата
Msg-id web-1571826@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на is there a way to get hh:mm:ss given seconds  ("Narendra A" <narendraa@subexgroup.com>)
Ответы Re: is there a way to get hh:mm:ss given seconds  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-sql
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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_restore cannot restore index
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: is there a way to get hh:mm:ss given seconds