niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » PostgreSQL
ECPG (usage of simple select statement)
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Jasbinder Bali
*nix forums beginner


Joined: 14 Jun 2006
Posts: 23

PostPosted: Fri Jul 21, 2006 3:28 am    Post subject: ECPG (usage of simple select statement) Reply with quote

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
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 2:38 pm | All times are GMT
navigation Forum index » Databases » PostgreSQL
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Select statement Shamna Sybase 0 Mon Sep 17, 2007 6:03 am
No new posts Can't Select External Table from CSV File Resant Server 1 Fri Jul 21, 2006 2:45 am
No new posts A simple bash script JPB Suse 2 Fri Jul 21, 2006 2:19 am
No new posts Simple ?? NIS problem Gary Solaris 4 Thu Jul 20, 2006 10:27 pm
No new posts ECPG usage Jasbinder Bali PostgreSQL 0 Thu Jul 20, 2006 7:56 pm

Loans | Nora Roberts | Leopard Geckos | Free Credit Reports | Bad Credit Loan
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1094s ][ Queries: 16 (0.0470s) ][ GZIP on - Debug on ]