It is implicitly declared by the smallest array used in the EXEC SQL
statement.  Thus, in the EXEC SQL DECLARE section of the PRO*C program, if
one array were declared with 100 elements and another with 50 elements and
both were used in the same EXEC SQL statement, then PRO*C would perform
array operations of 50.  If a scalar variable (i.e. non array) were also
used in the same EXEC SQL statement, then PRO*C would automatically adjust
to one-row-at-a-time, in order to accomodate the scalar variable.

PRO*C has been doing this since v1.x in the 1980s.

----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 9:48 AM


Dear List-Members,

Some of the batch queries can be improved by increasing the arraysize to
1000 ( the default in SQL*Plus is 15);  I would like to find out the
equivalent of this in Pro*C programs.

Thanks,
Govind
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Tim Gorman
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to