global scope & pl/sql variable in open_form with the new session

Hello

What will be the global scope of the Oracle variable shape & variable declared in a pl/sql pckage, if the value of these variables is updated from the form interface Oracle, if the form is opened using open_form with the new session or a session Active.

My requirement is, I developed an application with custom user login name & password - not the Oracle username and password.
But I need follow the user actions on forms - action insert/update / delete, for this user_name i included as one of the column in the table base and shape, initialize this field with the login user name.

I have implemented this in the detent of the base table. But to remove them, I don't get the username which were deleted, only for the user who created this folder, because that: NEW is not in the scope according to the delete trigger. So for the delte, I created a variabe in a PL/SQL package and created two procedure to set and get the username to this variable, and form, before you delete using the set method I assign the user name of the current connection to the variable and in the trigger using the get() method get the user name from the variable , Until now it works very well, my doubt is what will be the value of the variable, if two different users delete action of in same time, if the first user name will be replaced by second or this variable will be different session, if I opened the forms using the SESSION parameter. Also can I use Oralce forms global variable instead of the PL/SQL varibale.

I thank in advance.

The scope of a package-db variable is per database session. So different forms-session or even different DB - inside a session of forms "will not overwrite" between them.

Tags: Oracle Development

Similar Questions

  • How do monitors vecteurscopes and waveform with the new update in first Pro CC?

    How do monitors vecteurscopes and waveform with the new update in first Pro CC?

    Press the COLOR at the top of the interface or go to the window workspace and select Lumetri Scopes.

    If you are a reverence for the old spans: there have been removed in favor of the Lumetri Scopes.

  • Creative Suite CS 5.5 is compatible with the new Mac OS maverick

    Can someone out there please tell me if Creative Suite CS 5.5 is compatible with the new Mac OS Maverick.

    It seems that Adobe are ready to sell products, but they make pretty darn almost impossible to ask a simple question.

    Hi ARTSAUCE,

    Please visit: http://helpx.adobe.com/x-productkb/global/mac-os-mavericks-compatability.html

  • Problems with the new w standby servers / db different characterset?

    Currently, the existing system is incorrectly configured with bad characters, we will migrate to the new servers. can put us in place a Data Guard configuration, where the news of the day before is built with the correct character set?

    Published by: PeteORA16xxx on March 29, 2011 08:31

    If you want to change the character set, it would be something like this:

    Guess Oracle 11

    Select * from nls_database_parameters;

    Run the utility CSSCAN.

    If TI errors because it is not installed, install it using this script: (your path may vary)

    U01/app/Oracle/product/11.2.0/RDBMS/Admin/csminst. SQL

    Run the utility CSSCAN

    and take 1) comprehensive database

    It should invite you to new and existing database character set.

    After he finishs

    SHUTDOWN IMMEDIATE

    START TO RESTRICT

    Run the csalter.plb script

    U01/app/Oracle/product/11.2.0/RDBMS/Admin/csalter. PLB (once again your path may vary)

    This will update the contents of the Oracle data dictionary.

    After he finishs

    SHUTDOWN IMMEDIATE

    STARTUP

    Finally, check the current character set.

    Select * from nls_database_parameters where parameter = "NLS_CHARACTERSET";

    If the choice I would rebuild the primary on the new server with the new character set. If you don't have this option and test often. You new servers give you the possibility to duplicate your primary current and test this situation without risk. If you make your backups on your primary now and that trashes the day before you can consider having a RMAN duplicate for standby in hand plan. If you happen to use the same directory on both servers here structure is a simple plan of RMAN duplicate:

    http://www.Visi.com/~mseberg/duprman.html

    I would test heavy. I never trust character sets, but to be honest, they got better. In theory, this should work and just move forward, but I've never had to do.

    I hope you post your experience.

    Best regards

    mseberg

  • ORA-01035: ORACLE only available for users with the RESTRICTED SESSION privilege

    Whenever I have to connect as user sys as sysdba, I can connect at ease.

    But every time that I try with a user (one for monitoring tool). I get a message, database is in restricted mode.

    SQL > connect patrol05/patrol $05

    ERROR:
    ORA-01035: ORACLE only available for users with the RESTRICTED SESSION privilege

    WARNING: You are more connected to ORACLE.

    Your database was opened with restricted session.
    As sysdba, run the following command to session restrcited dissable the option:

    alter system disable restricted session;
    

    Best regards
    Norbert

  • My iPhone 6 installed 10.0.2 stops when it gets to 40% of autonomy.  In addition, it seems to pass power WAY to fast with the new software.  Does anyone else have this problem?

    My iPhone 6 installed 10.0.2 stops when it gets to 40% of autonomy.  In addition, it seems to pass power WAY to fast with the new software.  Does anyone else have this problem?

    Hello brooksm549,
    Thank you for using communities of Apple Support.

    I got your message which, since updating your iPhone 6 to iOS 10.0.2 your iPhone stops when it is 40% and the power to empty very quickly. I understand your concern with the iPhone turn off and drains the battery. I recommend you to review the use of the battery to see what app contributes more to the battery drain. The following article will provide you with steps on how to check the use of the battery:

    On the use of the battery on your iPhone, iPad and iPod touch

    When you know about the soft uses more battery, you can change your settings in order to optimize the battery life:

    Maximize the life of the battery and battery life

    Best regards.

  • I had a problem with my iPad 2 Air when I changed my Apple ID password, the problem is, it shows me a Massage says ENTER the PASSWORD, and then said your PASSWORD will be used when the signature with the new device, but when I but the code it shows fail m

    This problem happened to me and it belongs to iCloud and I have used so important, please can someone help me?

    Hello. The access code on your iPad is the code four or six numbers you will need to enter to unlock the device. It has nothing to do with the verification of your Apple ID or two-step. Are you able to unlock your phone? If you are, then please describe the steps that lead to your problem. Since you have changed your Apple ID password, you will need to go to two settings > iCloud and settings > iTunes and app store and sign out of your Apple ID, then connect back with the new PW.

  • iTUNES Podcast App on the iPhone with the NEW IOS 10

    With the new update, I find that my podcast with iTunes app speeding up shows. Anyone else having this problem?

    Podcasts allowing control of playback speed. You probably activated accidentally.

  • help with the new option of memories

    Sorry for my English

    Please help me with the new option of memories

    no memories option appears me

    I have an iphone with IOS 10.02 5

    Hello

    Try this support article > enjoy your memories in pictures - Apple Support

  • Sierra not coordinated with the new version of the iMac

    After reading what hoops I have to jump if for my 8 year old Mac Pro 4.1 to run Sierra, I wonder why launch the Sierra was not coordinated more closely with the new Apple Desktop launch (s).

    I read that this iMac 27 "5K is the best choice to replace my Mac Pro for graphics and video. Is my correct info and what is the new one be released? A small idea.

    Can your Mac Pro4, 1 switch to the Sierra if you update your Mac Pro 4.1 for Mac Pro5, 1 one EFI firmware.

    On the updates of the EFI and SMC firmware for Mac computers with processor Intel - Apple Support

  • Why can't edit my contacts to search with the new ios 10.0.1

    Why can't edit my contacts to search with the new ios 10.0.1

    It seems they have changed the way search works after the update. You can always edit contacts by opening the Contacts app, then open the contact you want to change. We do not know why they made the change, but unfortunately it is out of our reach. I don't know that they had a reason for this. If this is not the case, they will probably patch in an another mini update.

  • Restrictions does not not after ISO put 10.0.1 update with the new iPhone 7

    Restrictions does not after ISO put 10.0.1 update with the new iPhone 7 any which option of ranking app I don't choose no changes are made.  All the patches?

    Thank you

    Hello Launcher,

    Thank you for bringing your question about Restrictions here in Apple Support communities. My understanding of your question is that you change the Restrictions, but no change is noticed. I tried the same on my iPhone 6 Plus running iOS 10 and noticed a similar situation. Please allow me the opportunity to explain how the Restrictions is designed to work. First, I put my limitations for applications, do not allow Apps and together 4 +, which basically means everything beyond 4 + will be blocked from buying. Then I went to the App Store and the first app that caught my attention was NCIS: hidden crimes. This app is rated 12 + and is definitely an application I would not want my toddler to help. It is that Restrictions come into play. When I type on NCIS: hidden Crimes, the Get option is grayed out. Restrictions does remove all apps, songs, books, etc. from view, but it will prevent the purchase, download, and install all applications rated above the setting you choose when you set up restrictions. It's the help article that discusses the Restrictions and prevent purchases: Use Restrictions in order to avoid buying on iPhone, iPad, or iPod touch.

    I checked on the restrictions help articles, and I understand where it can be a bit confusing. In the help article Use Restrictions on iPhone, iPad and iPod touch, it says "You can use Restrictions, also known as parental control, to block or limit specific applications and features on your iPhone, iPad or iPod touch." This means in fact that apps, features or services (rated above that helped you, or if you have turned off completely) can he no longer appears on the device if the restriction is activated and starts blocking them. I also tested this by activating Restrictions and turned the cursor for Safari to off. When I went back to the home screen, Safari doesn't show any more and I could no longer use it.

    I hope this helps to clarify how the Restrictions. If my understanding of the issue was not accurate to the issue that you are experiencing, I will be happy to pursue this issue with you. Please indicate exactly what you took measures, and what expectations you had or the some restrictions, applications, features, or services you are restricted. Thanks again and have a great rest of your day!

  • Can I use an SD card with the new MacBook?

    Looking to buy a new MacBook. From what I can tell there is no SD card reader.  I don't see any accessory adapter for SD readers either.  Is it possible to use an SD card with the new MacBook?  Thank you!

    Only I can find is for iOS devices > > http://www.apple.com/shop/product/MJYT2AM/A/lightning-to-sd-card-camera-reader?f node = 91

    On the SDXC - Apple Support and SD card slot

    I hope someone will find an adapter for you.

  • Cannot control portable iTunes with the new remote application

    Hi all

    Hey I just got the new remote application and it seems to have the ability to control your applets. The former used for you to control iTunes on your laptop remotely.  Is it possible to do this with the new application?

    Thank you

    Pete

    I have three Remote apps made by Apple on my iPhone, to control iTunes has a blue icon on a white background with a white play button. Keynote remote has a picture of a desk, and the Apple TV remote is grey and black with the logo of Apple TV. You want the first.

    TT2

  • Why Firefox always opens with the last session tabs?

    When I open firefox always opens with the last session tabs? How can I solve this problem?

    You can check if you have a user.js file in the Firefox profile folder that affects the pref browser.sessionstore.resume_session_once true value.

    The user.js file is present than if you or another software has created this file and normally it wouldn't be here.
    You can check its contents with a text editor (right click: 'Open with'; do not double-click).
    The user.js file is read whenever Firefox is started and initializes the preferences to the specified value in this file, so the preferences set via user.js can be changed temporarily for the current session.

    You can remove the user.js file if you do not create this file yourself.

    You can use this button to go to the Firefox profile folder currently in use:

    Windows hides certain default file extensions.
    Among them are .html, .ini and .js, .txt, so you can see only file name without the file extension.
    You can see the type of actual file (file extension) in the properties of the file via the context menu in Windows Explorer.

Maybe you are looking for