DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: MERGE with BULK BINDING

  1. #1
    Join Date
    Oct 2005
    Posts
    1

    MERGE with BULK BINDING

    Hi Guys

    Can the MERGE statement in PL/SQL be used with Bulk Binding FORALL like with inserting and if so how? Or if not whats a good work around?

    Cheers

  2. #2
    Join Date
    May 2000
    Location
    ATLANTA, GA, USA
    Posts
    3,135
    Quote Originally Posted by yodah
    Hi Guys

    Can the MERGE statement in PL/SQL be used with Bulk Binding FORALL like with inserting and if so how? Or if not whats a good work around?

    Cheers
    Did you try it out? If so, what's the error you got?

    Tamil

  3. #3
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    A Merge command can be baed on a table, view or subquery, so if you could use a pipelined function to read the contents of your collection and cast it into a table then you might have some luck. Otherwise bulk insert your data into a global temporary table and base the MERGE on that.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width