Re: Pro*C - EXEC SQL BEGIN DECLARE SECTION;

From: Kenneth C Stahl <BlueSax_at_Unforgettable.com>
Date: Tue, 07 Dec 1999 13:18:17 -0500
Message-ID: <384D4F69.85CA67F9_at_Unforgettable.com>


Clint Eastwood wrote:
>
> HiYa
>
> what is the purpose of this in the code? I have compiled with and
> without it, and it seems to make no difference, in fact looking at the
> processed .c file it's just commented out.
>
> I know that in PL/SQL the format
> DECLARE
> ..
> BEGIN
> ..
> END;
>
> is mandatory syntax, is EXEC SQL BEGIN DECLARE SECTION; in Pro*C just to
> make folk feel at home?
>
> thanks
>
> See Ya
> (when the bandwidth gets better ;-)
> Chris Eastwood Please remove undies for reply
> Photographer, Stunt Programmer
> Motorcyclist and dingbat

[Quoted] starting with PRO-C 2.0 (I think) the EXEC SQL BEGIN DECLARE SECTION became optional in many cases. If you can compile without it, then do so. In older versions it was mandatory. Received on Tue Dec 07 1999 - 19:18:17 CET

Original text of this message