Connecting Tech Pros Worldwide Forums | Help | Site Map

Bulk-bind input and output host arrays to index-by tables

jose luis fernandez diaz
Guest
 
Posts: n/a
#1: Jul 19 '05
Hi,

In the chapter 4 'Collections and Records' of the 'PL/SQL User's Guide
and Reference Release 8.1.6' book there is the next paragrap:


"For example, PL/SQL supports implicit (automatic) datatype conversion
between host arrays and index-by tables (but not nested tables). So,
the most efficient way to pass collections to and from the database
server is to use anonymous PL/SQL blocks to bulk-bind input and output
host arrays to index-by tables."

Can anybody show me a pro*c/c++ example program with a embebed
anonymous PL/SQL block that bulk-bind input and output host arrays to
index-by tables ?


Thanks,
Jose Luis

Ye Liu
Guest
 
Posts: n/a
#2: Jul 19 '05

re: Bulk-bind input and output host arrays to index-by tables


Hi, Jose.

As far as I have experienced, you cannot use bulk bind if you have out
type parameter or cursor parameter. Any one comments on that.

Thanks,

--ye

jose_luis_fdez_diaz_news@yahoo.es (jose luis fernandez diaz) wrote in message news:<c2f95fd0.0312190719.447aca6d@posting.google. com>...[color=blue]
> Hi,
>
> In the chapter 4 'Collections and Records' of the 'PL/SQL User's Guide
> and Reference Release 8.1.6' book there is the next paragrap:
>
>
> "For example, PL/SQL supports implicit (automatic) datatype conversion
> between host arrays and index-by tables (but not nested tables). So,
> the most efficient way to pass collections to and from the database
> server is to use anonymous PL/SQL blocks to bulk-bind input and output
> host arrays to index-by tables."
>
> Can anybody show me a pro*c/c++ example program with a embebed
> anonymous PL/SQL block that bulk-bind input and output host arrays to
> index-by tables ?
>
>
> Thanks,
> Jose Luis[/color]
Closed Thread