Why the #$%^ won't this Pro*C command work?!?!

From: <stollj_at_ncr.disa.mil>
Date: 1996/02/19
Message-ID: <4gakj0$do6_at_lal.interserv.net>#1/1


I'm a novice Pro*C user who's trying to get some basic C code (as taken from the ORACLE DOCUMENTATION!!!) to run. When I put the syntax  EXEC SQL EXECUTE..BEGIN..END;..END-EXEC; (with some simple SQL such as SELECT 1 INTO :tmp_num FROM dual; between the BEGIN & END; - where I define tmp_num as an integer before the EXEC SQL EXECUTE block), I get an 'Invalid SQL statement' error message. WHAT'S GOING ON?? WHAT AM I DOING WRONG?? PLEASE HELP!!!!!!!!!! Frustrated,

Jim Stoll Received on Mon Feb 19 1996 - 00:00:00 CET

Original text of this message