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

From: Kenneth C Stahl <BlueSax_at_Unforgettable.com>
Date: Thu, 09 Dec 1999 10:51:50 -0500
Message-ID: <384FD016.FAB32FC0_at_Unforgettable.com>


Enomoto wrote:
>
> In our recent experience, it seems to be mandatory to use the
> EXEC SQL BEGIN DECLARE SECTION
> when compiling C++ code, but is optional when compiling C code,
> at least for the precompilers that ship with Oracle 8.0.5.1. The host
> variables aren't recognized in later EXEC SQL statements
> when precompiling in C++ if you don't
> declare them in the SQL BEGIN DECLARE SECTION first.
>

Yes, that is true. With C++ the declare sections are required. Received on Thu Dec 09 1999 - 16:51:50 CET

Original text of this message