Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> [Q] DECLARE SECTION

[Q] DECLARE SECTION

From: Alex Vinokur <alexander.vinokur_at_telrad.co.il>
Date: Tue, 15 Jun 1999 13:05:19 GMT
Message-ID: <7k5j28$lhc$1@nnrp1.deja.com>

Hi,

I'm going to use Pro*C/C++ Precompiler in Oracle.

I work with C/C++/STL, but I didn't work with SQL. So I have many questions.

Here is a piece a code.

<C++ Code : Part#1>

EXEC SQL BEGIN DECLARE SECTION
<C++ Code : Part#2>

EXEC SQL END DECLARE SECTION
<C++ Code : Part#3>


  1. What is DECLARE SECTION used for?
  2. What is the difference between Piece#A and Piece#B?
    • Piece#B ------------

<C++ Code : Part#1>

<C++ Code : Part#2>

<C++ Code : Part#3>




Server : Oracle8
Development Platform : Pro*C/C++
        Thanks in advance,
        Alex


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Tue Jun 15 1999 - 08:05:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US