Re: Procedures

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Procedures
Date: 2010-02-20 13:43:55
Message-ID: hlooul$d1v$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Nilesh Govindarajan 2010-02-20 13:54:59 Re: Procedures
Previous Message Raymond O'Donnell 2010-02-20 13:42:27 Re: Procedures