Sign Up

Hey, Dev!
Are you looking for a forum full of active developers to help you?
So if you want to:
➡️ Get answers for your development issues
➡️ Help others
➡️ Write an article
➡️ Get rewarded for your active participation
Then this place is just for you and it is 100% FREE.

Have an account? Sign In


Have an account? Sign In Now

Sign In

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

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

OrclQA.Com

OrclQA.Com Logo OrclQA.Com Logo
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Blog
  • New Questions
  • Tutorials
    • Oracle
    • Oracle Apex
    • Python
  • Tags
  • Users
  • Badges & Points
  • About
Home/Questions/Q 5520
In Process
Bánhalmi Martin
Bánhalmi Martin

Bánhalmi Martin

  • 1 Question
  • 0 Answers
  • 0 Best Answers
  • 26 Points
View Profile
  • 1
Bánhalmi MartinContributor
Asked: February 22, 20212021-02-22T19:18:46+05:30 2021-02-22T19:18:46+05:30

How to use GTT in Oracle Apex?

  • 1

Hi!

I would like to ask, how to use Global Temporary Table in Oracle Apex? Can I somehow manage to give each user a separate database session?

Our current system works mostly with temp tables and we want to switch to Oracle Apex.

Thanks in advance!

 

oracle apex
  • 1
  • 50
  • 0
  • 0
  • Share
    • Share on Facebook
    • Share on Twitter
Answer

    1 Answer

    1. Vinish

      Vinish

      • 1 Question
      • 470 Answers
      • 45 Best Answers
      • 2k Points
      View Profile
      Vinish Legendary
      2021-02-23T06:02:57+05:30Added an answer on February 23, 2021 at 6:02 am

      You can use the Global temporary table in Oracle Apex as you were using in your old system. But between pages, if you experience issues because internal sessions got changed in Apex, you can use the normal table with two more columns to handle Apex user-wise. Below is an example:

      Add two more columns apex_user and apex_session, to your normal table. Write a process on the login page (9999) to delete the current user's data. Now, whenever you insert or update, you will update the apex_user and the apex_session with your Oracle Apex session-id (:app_session). And use these criteria to read and write the data in the whole application.

      • 0
      • Share
        Share
        • Share on Facebook
        • Share on Twitter

    You must login to add an answer.

    Forgot Password?

    Sidebar

    Ask Question
    Write a Post
    • Recent
    • Answers
    • GudDud

      Load PDF into APEX, Edit it and Print it.

      • 0 Answers
    • AnuK

      Error: Ajax call returned server error ORA-00932: inconsistent datatypes: expected ...

      • 0 Answers
    • pavlos

      How to reduce space between two Display Image items?

      • 1 Answer
    • Bheem

      Scrollable News with thumbnail

      • 0 Answers
    • Vinish
      Vinish added an answer You can reduce the number of column span for the… March 4, 2021 at 7:53 am
    • Abdulkareem
      Abdulkareem added an answer Below query is working fine SELECT city,name FROM JSON_TABLE ('[{"city":"Stockholm","name":"Lennart… March 3, 2021 at 6:16 pm
    • Vinish
      Vinish added an answer Below is the correct query: SELECT city, name FROM JSON_TABLE… March 3, 2021 at 9:18 am
    • Bheem
      Bheem added an answer Got the answer. Thank you March 3, 2021 at 9:07 am
    • afzal
      afzal added an answer STEP -1 CREATE REPORT LIKE-- select SAL AS "SALARY", NVL(COMM,0)… March 2, 2021 at 10:25 am

    Recent Blog Posts

    • Vinish

      Oracle Apex - Display External File in Region

    • Vinish

      Oracle PL/SQL Download BLOB File to Disk

    • Vinish

      Oracle Convert External File to BLOB

    • Vinish

      Oracle Apex Calendar Example

    • Vinish

      Oracle Apex - Open Modal Dialog Page Using JavaScript

    Explore

    • Home
    • Blog
    • New Questions
    • Tutorials
      • Oracle
      • Oracle Apex
      • Python
    • Tags
    • Users
    • Badges & Points
    • About

    © 2021 OrclQA.Com. All Rights Reserved. Privacy Policy