Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: pro*c host variables
Bhavin Shah a écrit :
>
> Is there a way of getting around host variables
> in "included" files.
>
> I define a class in a header file, and need host
> variables within the class. (1 set / class created)
> However, I cannot put them there since a precompiler
> error is generated saying that you cannot have
> sql statements in #included files.
>
You can't with #include ... , but you'll certainly can with EXEC SQL
INCLUDE ...
> ...
>
> Bhavin
-- Pierre CHARPENAYReceived on Thu Aug 24 2000 - 02:37:10 CDT