Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6537043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:34:11+00:00 2026-05-25T10:34:11+00:00

create or replace aArr is TABLE of varchar2 index by binary_integer; create or replace

  • 0
create or replace aArr is TABLE of varchar2 index by binary_integer;
create or replace bArr is TABLE of varchar2 index by binary_integer;

create or replace prc(oname aArr, iname bArr) as
begin

--Now i have two arrays
-- i want to insert or update into table using these two arrays
-- How can i do that with out using the loops.
-- is there any bulk insert or update.

end

Now I have two arrays. I want to insert or update into table using these two arrays. How can I do that with out using the loops? Is there any bulk insert or update?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:34:11+00:00Added an answer on May 25, 2026 at 10:34 am

    If you have PL/SQL associative arrays, you can use bulk processing to insert the data into underlying database tables using FORALL.

    The oracle documantation is here:
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14261/forall_statement.htm

    The syntax is similar to:

    FORALL x IN INDICES OF <associative_array_name>
       -- DML (INSERT or UPDATE etc)
    

    It’s a bit of a generic answer but you have asked a very generic question.

    Hope this helps…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two types CREATE OR REPLACE TYPE my_record_type IS OBJECT ( name varchar2(30)
I have two tables like this create table A_DUMMY ( TRADE_ID VARCHAR2(16) TRADE_DATA VARCHAR2(500)
create or replace procedure createtables Authid current_user as begin execute immediate 'create table newcustomer
Let's say I have a user defined table type: create or replace type SrcCodeTbl
I have a user-defined type: create or replace type my_message_type as object (relatedid varchar2(50),
I have a stored procedure create or replace procedure GETFILE(TableName in VARCHAR2) is No_Rows
I have the following type and function: CREATE OR REPLACE TYPE SERIAL_NUMBER_TABLE AS TABLE
I have function like : create or replace function dedup_temp return varchar2 as TYPE
I have created this type: create or replace type PRODTABLE as table of PROD_OBJ;
CREATE OR REPLACE PROCEDURE file_trial IS V1 VARCHAR2(32767); F1 UTL_FILE.FILE_TYPE; BEGIN F1 := UTL_FILE.FOPEN('C:\TEMP','AVI','R',256);

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.