Back ON param in the middle of the procedure
Hello world
Hope all is well on your side. I'm stuck on a problem of PL/SQL coding. I'm using Oracle 11.2.0.3.0. Please find below the script. I have a procedure that has a DML and send me an OUT parameter. DML is run, I need to run a procedure more inside the main procedure at the same rate, but I have no need to wait inside the procedure ends. I have to return the OUT parameter, as soon as my DML statement in the main procedure is finished.
Main procedure:
CREATE or REPLACE PROCEDURE INSERT_DATE (v_rows ON NUMBER)
AS
BEGIN
INSERT INTO TEST_DATE (REF_DATE) VALUES (SYSDATE);
v_rows: = SQL % ROWCOUNT;
commit;
execute UPDATE_SP;
END;
Procedure of the child:
CREATE OR REPLACE PROCEDURE UPDATE_SP
AS
BEGIN
UPDATE TABLE SET COL1 = 'TEST ';
UPDATE TABLE2 SET COL1 = 'TEST ';
COMMIT;
END;
The two proceedings are unrelated to each other by any functionality. Once the insertion will be in TEST_DATE, we UPDATE_SP kick-off procedure. But I am not concerned by UPDATE_SP is completed, or has failed. The only thing is I don't want to wait the INSERT_DATE procedure to wait that the procedure UPDATE_SP in the end to get to the OUTPUT parameter.
Objective: I need to insert a record in TEST_DATE, back ON setting and kick off UPDATE_SP.
Please let me know if you need more information.
Thanks in advance. Answers and comments will be appreciated.
Concerning
Dev
You could create a job (either using dbms_job and dbms_scheduler) who will UPDATE_SP in a separate session of INSERT_DATE.
If you don't care if UPDATE_SP succeeds or fails, however, why you call it in the first place?
Justin
Tags: Database
Similar Questions
-
What restoration brings back old bags in the device? I was always told that icloud restoration brings all the bugs back, yet care apple lately told me than vice versa. I'm lost in a cleaner for restoration of backup: icloud or itune?
I've never heard a backup report bugs, however if you are interested in, you can always restore the device as good as new.
-
How to get back my data for the health and the watch Apps once I've restored my phone?
How to get back my data for the health and the watch Apps once I've restored my phone?
From the backup, you're going to be restoration.
If you back up to iTunes, make sure that it is an encrypted backup.
-
Is it possible to remove pictures/videos from the iphone and have yet to back them up in the iCloud?
At the moment the iCloud synchronizes only with what is already on my iPhone.
This article should help you remove photos from my photo - Apple Support stream
-
Where is the back botton arrow in the upper left corner of the Office?
Why and where is the back botton arrow in the upper left corner of the desktop, or the computer? The arrow that you can click if you want to return to the previous page of your screen?
If there is no menu bar use first 'Alt' to display the toolbars.
- Show customize them with view > toolbars > customize
then in the lower left corner of the dialog box customize, you want what he read
- Show: icons
Rear or before the wording or the arrows will be grayed out if there is anything in the tab to go back or move forward, respectively.
Photo shows approximately what you would see without the bar menu at the top, or with the bottom menu bar. Part of the image showing the appearance with the menu bar toolbars has a few customizations described in the 41-46 steps in what follows in addition to the first steps 1-10 on the page mentioned in the note of my initial response.
-
my wifi password has been changed and now I want to get back in touch with the new password HOW
my wifi password has been changed and now I want to get back in touch with the new password HOW
Hey gerritfrompretoria,
If you are not prompted to use the new password to your Wi - Fi network when trying to connect, you may have to remove the network on your system. This can be done by the following steps.
- Open system preferences in the Apple menu
- Choose the network
- Select a Wi - Fi connection on the left
- Click Advanced... in the bottom right
- Choose your network from the list of preferred networks
- Click on the '-' at the bottom of the list
- Click OK
- Click on apply
Once removed try to connect to your Wi - Fi network normally and you will be prompted for the password.
Sincerely
-
Move an item to the back/bottom side of the Board? Ultiboard
How can move a component at the back/bottom of the body, in ultiboard?
I want to put most of my components on one side of the Board, but I want a few cables in water to come on the side back (aka down) of the Board of Directors. I would like to just solder on the other side but that puts everything in the mirror, and it's embarrassing.
The Council I want here is and example of what I want to build.
Hello
When you have imported your pieces in Ultiboard, all parts will be on top.
To say the parties on the merits, simply select the (use CTRL to select multiple items)
Then right-click on it and select Properties
in this screen, go to the 'position' TAB, and there you can chosse the side 'Council '.
If you set this in the 'bottom' your hand moves to the bottom of the PCB and will be mirrored if connections are correct.
You will see pieces on the bottom against hepatitis has a color different silkscreen...
Success!
-
In HP DV4-2100 back content will make the frame of the screen.
In HP DV4-2100 back content will make the frame of the screen. The content is off screen (on the top and bottom right corners). can not access the X(close icon), minimize the icons (top right), clock on the lower right). The screen has no black box. What can be the problem. Is it because of the display cable?
It was a problem with the display cable. I got the cable changed and the problem disappeared.
-
How to set the volume slider back to ding is the default beep?
Hi for some reason any my system set the slider to ding for the system beep. I tried for days and tried everything I could find online. Any ideas how to move the cursor back to ding is the default beep?
Hi Dave,.
You can set the default Windows system to check the issue.
a. click Start. Click on Control Panel.
b. Double click sounds, speech, and Audio devices. Click the sounds tab.
c. Select Windows default under model of sounds. Click OK.
You can also create your own sound scheme.
-
I want to be able to move freely photos on a Windows Word page, but the photos keep snapping it back in place on the margins. Is it an alignment etc. function that I can disable so I can move photos with the cursor?
I want to be able to move freely photos on a Windows Word page, but the photos keep snapping it back in place on the margins. Is it an alignment etc. function that I can disable so I can move photos with the cursor?
=================================
Change the text wrapping...In Word 2007... I'm going to... Format / dressing / thanks to...
Then I can use the arrow 4 positions to drag photos anywhere
I chose.If you want to drag the photos on the page...
I don't know how to do this. John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - to proceed at your own risk -
original title: Vista settings will not save. Why?
I have a problem. When you use this computer (and this computer has Windows Vista), I noticed from lately, when I change my settings on the 2 online games, I play, I can disconnect turn it back on and notice the changes eventually reversed to where it was before.
It's getting boring because it is not happened in the past and when I noticed it happened for the 2nd game after seeing this constantly on my 1st game, it came to me that it is not the games that does this: it is the computer itself.
What should I do so that the computer can actually record setting changes I made?
Hey, Andrew,.
Most likely a configuration of settings on your computer file is damaged. You can take a look at this article that Blizzard has published:You can also ask your question on the forums of World of Warcraft: -
BLACK ink cartridge does not come back up after changing the cartridge.
I replaced the cartridge a few days ago and it was printing fine, but today, I tried to print something
and it was like all other lines... lines, it wasn't like there was just a spot of ink on the
paper anywhere in the line. After detach the cartrdige, can't do it back up again in the printer.
What could be wrong?
Hello.
It would be useful to know what model of printer you have.
See you soon.
-
* Original title: ease of backup Windows 7
I have Windows 7 and I am unable to back up files. The following message appears: "the task image is corrupt or has been tampered with. I used an ERD without result. The application discovers not a problem. At the same time, I received a message that the Bitlocker system files could not be found. I tried Windows 10 briefly then back to Windows 7. That's when I started getting the message image corrupted
Although many people have problems when back to Windows 7 after trying 10 Windows, before you reinstall Windows 7, you can consider the rest of the steps here--> https://support.microsoft.com/en-us/kb/2305420
-
How to pass the params to the screen following the previous screen in BBUI.js
Hash or? query = params doesn't work
How can I pass params to the next as query or #hash screen?
You can configure a variable on index.html
var query = 3333;
Then on your page screen set the variable that you created to the value you want to pass before changing screens
query = 4444; bb.pushScreen('mypage.htm', 'mypagename');
You can then access the varibable "query" on the next page and make any treatment it was you do
-
Recently my regular weekly back ups fail to find. Everything seems to go well until maybe halfway through the procedure when the backup stops & I get message "backup failed." Unfortunately, did not keep a note of relative error code... no useful guidance please.
I'm glad to hear that you managed to solve your problem.
Flash drives are a medium of reasonable storage but not the best. I recommend that get you a disk 2.5 "500 GB hard in a USB enclosure. They cost less than $60.00. Here's why:
- They tend to be more reliable than flash drives.
- They have a much greater capacity.
- You can (and should!) use them to store an image of your installation.
On this last point: this time you could solve your problem with system restore and FixIt. The next time you is maybe not so lucky. You may need to do a full reload of Windows which is tedious and often exceeding the capabilities of the user. By creating a picture now, you will be able to restore Windows to its current state, anything.
You begin the process of creating image via the control panel / backup and restore.
If you already have a backup flash drive then you could alternate backups between the flash and drive 500 GB. That would give you a rock solid backup system!
Maybe you are looking for
-
Mail version 9.2 (3112)
In an address I Mail problem. When a group sending, the message addresses even if this option is unchecked in the Mail preferences. What do I do?
-
My MacBook Pro recently screen will be distorted suddenly become pink
My MacBook Pro recently whole screen will be distorted suddenly became pink after photos overview or use it just open finder to open the photos it appears too
-
Lost access "sent messages". It is essential that I have again access to my 'sent messages' as history impacts futuire communicatio about events in a foreign country. I have Hotmail through Qwest Communications.
-
CAN, T GET PLANE TAKING OFF
I HAVE FLIGHT SIMULATOR X on MY COMPUTER, I ALSO HAVE JUSTFLIGHT 767-200/300 INSTALLED DISC, ALL OF MY SETTING IS CORRECT, I JUST CAN, T KEEP the AIRCRAFT at the time of take-OFF, I TRIED TO GET HELP FROM JUSTFLIGHT SUPPORT, ILS SAY MIS MY TRIM to 4
-
Buongiorno, abbiamo ST UN server: G376KY1 con 3 door. Sopra ogni porta usually e accesa una lucina verde. Da yesterday, due sopra door, the lucina verde e ad where Reed arancione. By he restaurant non abbiamo altri if. Copy the ha effettuate senza if