[Info-Ingres] Embedded SQL

kodaliece at gmail.com kodaliece at gmail.com
Wed Mar 21 03:37:24 CDT 2007


Hi,
I am trying to use embedded SQL to work with the Ingres database.
Following is the simple program I have written:

EXEC SQL INCLUDE SQLCA;
EXEC SQL WHENEVER SQLERROR STOP;
EXEC SQL CONNECT causp;
EXEC SQL DELETE FROM indexes WHERE id = 40;
EXEC SQL DISCONNECT;

But these embedded sql statements are not getting recognized and are
resulting in errors.
I am using Microsoft Visual Studio 2005 to write the programs. Can
anyone please tell me how to overcome this?

Thanks in advance
Mohan



More information about the Info-Ingres mailing list