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

From: Peter Sylvester <peters_at_mitre.org>
Date: 1996/02/21
Message-ID: <peters-210296072143_at_psylvester.mitre.org>#1/1


In article <4gakj0$do6_at_lal.interserv.net>, stollj_at_ncr.disa.mil wrote:

> 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

How about posting a snipet of the problem code?

-- 
Peter Sylvester
MITRE Corp.
Bedford, MA
(peters_at_mitre.org)
Received on Wed Feb 21 1996 - 00:00:00 CET

Original text of this message