Re: Procedures

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Procedures
Дата
Msg-id hlooul$d1v$1@ger.gmane.org
обсуждение исходный текст
Ответ на Re: Procedures  (Nilesh Govindarajan <lists@itech7.com>)
Список pgsql-general
Nilesh Govindarajan wrote on 20.02.2010 14:28:
> Okay here's my query -
>
> select c.cid, c.subject, n.title from comments c, node n where c.nid =
> n.nid and c.status != 0;
>
> This is the query to check list of comments requiring admin approval and
> also the article titles on which this is posted.
>
> I want to see this result on the screen at psql prompt. Since it may
> return multiple rows, a cursor has to be employed here.

Hmm, I don't understand your question.

When you run the query, psql will display the result...

Thomas



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

Предыдущее
От: Raymond O'Donnell
Дата:
Сообщение: Re: Procedures
Следующее
От: Nilesh Govindarajan
Дата:
Сообщение: Re: Procedures