Re: [GENERAL] Embedded SQL in 'C' (cursors)

1999-06-04 Thread James Thompson
On Thu, 3 Jun 1999 [EMAIL PROTECTED] wrote: > Does anyone know how to open a cursor for 'C" ..? > If you download the source code for postgresql there are test programs located in the src/interfaces/ecpg/test directory. These files are about the best learning tools I found for ecpg usage. IIR

[GENERAL] Embedded SQL in 'C' (cursors)

1999-06-03 Thread nathan
Does anyone know how to open a cursor for 'C" ..? I have checked the previous postings but cannot locate the proper syntax here is a snipit : void ShowTable_type(){ EXEC SQL BEGIN DECLARE SECTION; char *Atid; // variables to retrieve the table info char *Adesc; EXEC SQL END DECLARE SECT