help:steps needed to get the content of table from the database.. .

From: "Smitha V(dot) Babu" <smitha(dot)v(at)sonata-software(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: help:steps needed to get the content of table from the database.. .
Date: 2003-06-18 08:58:25
Message-ID: B0DA2772AD4CD711A8F300C04F1524A6F6C527@BG1MAIL
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Hi all...
I am using libpq interface to create a C application which is taking the
needed data from
a database....

I created a database and added 3 tables to it named weather, cities and
teamdatabase.
I make the connection with database ...
After that i tried to execute the command SELECT * FROM weather by giving as
res = PQexec(conn,"SELECT * FROM weather");

what are the steps needed to get the content of table from the database...

can any one of you give me few guide lines....

Thanking in advance
With regards
smitha

*********************************************************************
Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.
*********************************************************************

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Harry Broomhall 2003-06-18 08:59:55 Re: Commit within a PL/PGSQL procedure
Previous Message Dani Oderbolz 2003-06-18 08:47:58 Re: grant select on all tables of a schema