ECPG (usage of simple select statement)

From: "Jasbinder Bali" <jsbali(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: ECPG (usage of simple select statement)
Date: 2006-07-21 03:28:16
Message-ID: a47902760607202028m279050c1y4c5362ebe2393921@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I'm using ECPG in my C code and I want to display the result of a simple
select statement.

If i write something like
EXEC SQL select * from abc ; (which as of now is not working)

wouldn't this display the result staright away or its always mandatory to
use a cursor and then do printf() for
each row retrieved?

Thanks,
Jas

Browse pgsql-general by date

  From Date Subject
Next Message Greg Philpott 2006-07-21 03:35:51 Re: setting serial start value
Previous Message Michael Fuhr 2006-07-21 02:49:23 Re: setting serial start value