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

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

Yes - he's using Oracle.  I think Narendra is rather confused...

Chris



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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: is there a way to get hh:mm:ss given seconds
Следующее
От: q
Дата:
Сообщение: query/transaction history/logs