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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jose luis fernandez diaz

    #1

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

    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

    #2
    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.447a ca6d@posting.go ogle.com>...
    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

    Comment

    Working...