Re: [GENERAL] ECPG. Badly stuck

2006-07-26 Thread Michael Meskes
On Tue, Jul 25, 2006 at 02:46:02PM -0400, Jasbinder Bali wrote: > Forget about cursors. Singleton queries are also not working. Great statement. > Tried writing the follwoing code but doesn't give me any result. > Don't know if i have to do somethin else apart from what i've already done. How a

Re: [GENERAL] ECPG. Badly stuck

2006-07-26 Thread Joachim Wieland
On Tue, Jul 25, 2006 at 02:46:02PM -0400, Jasbinder Bali wrote: > Tried writing the follwoing code but doesn't give me any result. > Don't know if i have to do somethin else apart from what i've already done. There are many ways your program can fail before actually reaching the select line but yo

Re: [GENERAL] ECPG. Badly stuck

2006-07-25 Thread Jasbinder Bali
Hi ,Forget about cursors. Singleton queries are also not working.Tried writing the follwoing code but doesn't give me any result. Don't know if i have to do somethin else apart from what i've already done. include EXEC SQL INCLUDE sqlca;int main (){    EXEC SQL BEGIN DECLARE SECTION;   

Re: [GENERAL] ECPG. Badly stuck

2006-07-23 Thread Joachim Wieland
On July 22, 7:46 pm "Jasbinder Bali" <[EMAIL PROTECTED]> wrote: > I have a C program and have some ECPG code in it. > > How do i display the data that i retrieve from the postgres database > using a simple select statment or calling a stored procedure. > > Is it mandatory to use cursor or there's