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

  • SEARCH
  • Home
  • 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 7592961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:02:33+00:00 2026-05-30T21:02:33+00:00

I woul like to access Apex_application.g_fXX values from within the database stored procedure, either

  • 0

I woul like to access Apex_application.g_fXX values from within the database stored procedure, either by passing the whole array as an input parameter or by reading session state from within the database. Is this possible? My reason for trying to do this is that I want to move all heavy processing to the database.

TIA, Tamas

  • 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-30T21:02:34+00:00Added an answer on May 30, 2026 at 9:02 pm

    Sure, why wouldn’t it work?

    CREATE OR REPLACE PACKAGE "APXPA_TEST" IS
       PROCEDURE process_something;
       PROCEDURE process_something2(i_values IN apex_application_global.vc_arr2);
    END "APXPA_TEST";
    /
    CREATE OR REPLACE PACKAGE BODY "APXPA_TEST" IS   
       PROCEDURE process_something
       IS
       BEGIN
          FOR i in 1..apex_application.g_F02.COUNT
          LOOP
             apex_debug_message.log_message('processing '||apex_application.g_f02(i)||'...');
          END LOOP;
       END;
    
       PROCEDURE process_something2(i_values IN apex_application_global.vc_arr2)
       IS
       BEGIN
          FOR i IN 1..i_values.COUNT
          LOOP
             apex_debug_message.log_message('processing '||i_values(i)||'...');       
          END LOOP;
       END;
    end "APXPA_TEST";
    /
    

    I made a page with a tabular form based on EMP. I created a page process with process point On Submit - After Computations and Validations, before the MRU.

    apxpa_test.process_something;
    apxpa_test.process_something2(apex_application.g_f02);
    

    G_F02 holds ENAME

    Now run the page and enable debug. Then just submit the form (you don’t need to edit anything), and go to view debug. Pick the last entry. Scroll to the point where it goes over the page processes: you’ll see the output there. (i only used deptartment 10)

    Processes - point: AFTER_SUBMIT
    ...Process "some process" - Type: PLSQL
    ...Execute Statement: begin apxpa_test.process_something; apxpa_test.process_something2(apex_application.g_f02); end;
    processing KING...
    processing CLARK...
    processing MILLER...
    processing KING...
    processing CLARK...
    processing MILLER...
    ...Process "ApplyMRU" - Type: MULTI_ROW_UPDATE
    ...Process "ApplyMRD" - Type: MULTI_ROW_DELETE
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating public/private keys to access to my VPS. I would like to understand
I have to transfer a big array from one server to another using a
how to trigger keyboard specif key.Code event with jQuery? I woul like to trigger
I would like to format numbers, so numbers woul format like this: 1=1 10=10
I'm starter with cryptography I woul like to use BouncyCastle .dll for c# but
Iam connection to services trougth my app, I woul like to check if the
I have problem with ant. I woul dlike to use conditions in ant. But
Hey everyone, I have written a script that downloads a zip file from a
I am developing a application in which if i click a button it woul
Does Microsoft have a URL in th e internet from which we can get

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.