How to capture the result of the INSERTION/update in a variable?

Hi friends, look at this:

SQL > UPDATE MyTable SET MyColumn = 100;
-1000 lines to update

How do I capture the message "1000 rows updated" in a variable in a stored procedure?

Concerning

after update stmt writing below stmt in the procedure;

dbms_output.put_line (' lines = ' |) TO_CHAR(SQL%ROWCOUNT));)

Published by: J2EE_Life on April 26, 2012 08:40

Tags: Database

Similar Questions

  • How to find the insertion, update the schema

    Hello


    I want to follow insert, update, or delete to onparticular the database schema.


    your early repsone is appreciated.



    Thanks in advance.

    user647572 wrote:
    Thank you for your kind reply... It is very useful to me...

    Sorry, but I use under request and

    EXTENDED_TIMESTAMP as a timestamp, type of zone data...

    SELECT SQL_TEXT
    Of
    DBA_COMMON_AUDIT_TRAIL
    where EXTENDED_TIMESTAMP between to_date ('20101016 10:30 ', 'HH24 YYYYMMDD')
    and to_date ('20101016 11:00 ', 'HH24 YYYYMMDD')
    AND OBJECT_SCHEMA = 'JISPBILCORBILLINGPRD501. '
    AND UPPER (SQL_TEXT) AS UPPER ('INSERT%')

    It takes more time to display the result.

    This is a normal situation. See the table in the sys.aud$, what folder contains this table?
    You can delete old audit as records

    DELETE FROM sys.aud$ WHERE timestamp# < SYSDATE -40;
    

    >

    Please give me suggestion on this subject...

  • How to capture the values

    Hi friends,

    I came across one of the scenarios, i.e.

    In my application, I have a report page and a form page, the report and the form are based on the unique table...

    If a record is inserted medium, means it will be inserted in the report...

    in the region of report I have an button called then if I clicked the next button means a form page must open to capture all values which is inserted in the report of each field of the form...

    How to capture the values of the ratio to form shortly after clicking on the button NEXT in the region of report...

    Help me solve this question friends,

    Thank you
    Saro...

    Hello

    For the Next button , which is located in the region of report,

    change the Action: to redirect to the page and give the respective page number: (i.e.) the target...

    And specify the value of these items: what are all the elements of the target.

    with these values: describe the elements of the source where you will take the values of the corresponding points...

    Izz all wells
    GTA...

  • How to capture the value of type column report

    It would be a great help that you might suggest the following

    (i) Java script that I wrote on the standard status column (in a tabular report) fails.
    This happens because of the standard status column, if I use the text field then called Javascript function and showing correct results.

    Now, here, I want to know how to capture the value of the column standard report, since javascript fails due to
    the column values of standard report unrecognized.

    Example:

    Columns of the report as a table:
    ```````````````````
    Standard report column: salary
    TextField report column: new treatment
    Report column standards: difference

    I've written the javascript on column New_salary function which returns the value of the salary column to calculate the difference.

    For this column of report types, the javascript function does not work, that is to say, it does not show the difference., since it is not read
    the value of the column Salary (which is the Standard type of report column)
    Once I have change the Salary column to text (display as saved state) javascript field works fine.

    All entries on how to capture the standard value of the column, so that I can access the value of the javascript function.

    Thanks in advance
    Vijay

    Hi Vijay - I had problems with the forum as well (and my workspace OTN so)!

    You have two questions, I think.

    First of all, that the old wage is not an input element, you can not get to it by referring to an ENTRY tag. you will need to change that to something like:

    var s1 = d[k-1].firstChild.nodeValue;
    

    This means that there is nothing else in the cell apart from the text - as in < td > < table > 123. If there is something else there that stops you getting the value using the above, you can go through these nested tags referring to objects further firstChild-

    var s1 = d[k-1].firstChild.firstChild.nodeValue;
    

    As I don't see your page, you need to check yourself to see firstChild how much you need. This example assumes that you had something like: < td > < b > 123 < /b > < table >

    Second, the values of s and s1 are strings. You must convert these numbers to be able to perform calculations. You have two javascript functions to do this: ('string') parseFloat and parseInt ('string'). One contains decimals, the other is not - but know that one is not very accurate (it can change "123.456' in ' 123.455999999995' or something similar - not very good! '").

    So, your calculation should be:

    var diff = parseInt(s) - parseInt(s1);
    

    Andy

  • How to capture the data of type string with agent script and then compared to an alarm

    Hello...

    How to capture the string with agent of script data and then create a rule to compare the string data to generate alarm?

    Thank you!...

    Start here:

    http://en.community.Dell.com/TechCenter/performance-monitoring/Foglight-administrators/w/Admins-wiki/6155.custom-script-agent-1-leverage-an-existing-monitoring-script-to-push-data-into-Foglight

  • How to move the insertion point from editText ScriptUI?

    Hello.

    How to move the insertion point from editText ScriptUI?

    Please tell me the JS code.

    Thank you.

    I don't think you can. You can control the selection of text in an editText widget, but not the position of the insertion point.

  • How to capture the value of profile in AM

    Hello

    How to capture the value of profile in AM.

    Krishna

    Here is the code that you can use

      String profileValue=  getOADBTransaction().getProfile("profile Name");
    

    Thank you
    -Anil

  • How to open the window updates "Adobe Application Manager"?

    How to open the window updates "Adobe Application Manager"? Or I can or should I...?

    I am a brand new Member of cloud.  I heard about the update of the retina.  Assuming that's where updates seems logically I went first to the application "Adobe Application Manager".  Without closing the "Adobe Application Manager" I open Photoshop and went to the Help menu and select "Updates."... » ; a second window in the Application already handler open "Adobe".

    I chose the update of all.

    The result is less to:

    DW CS6 12.1 creative cloud

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Dreamweaver CS6 12.0.1 update to address critical issues

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Photoshop 13.1 for creative cloud

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Adobe InDesign CS6 update 8.0.1

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    CS6 Adobe Bridge Update 5.0.1

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Adobe Illustrator CS6 update (version 16.2.0)

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Office DPS CS6 2.05.1 tools updated

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Dynamic links Media Server CS6 update 1.0.1

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Photoshop Camera Raw 7.2

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Update handler 6.0.4 extensions

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Adobe Media Encoder CS6 Update 6.0.2

    There was an error of installation of this update. Quit and try again later. Error code: U44M1I200

    Now, I closed "Adobe Application Manager" and reopened "Photoshop" and again selected "updates... " on the Help menu.  The "Adobe Application Manager" opened again with just a window this time and the updates happened correctly.

    I was hoping a updates would be the "Adobe Application Manager", I don't think so.

    So, if I were you I would not select "Updates."... "in an Adobe application unless the " Adobe Application Manager " is closed until they fix IT...

    Current version: Adobe® Application Manager - Version 7.0.0.128 (7.0.0.128) notes the two windows in the "Adobe Application Manager" in the attached image.

    Screen Shot 2012-12-11 at 2.23.03 PM.jpg

    If you read my entire post you would have seen that after closeing "Adobe Application Manager" updates completed normally next time I chose "updates... "in the Help menu in Photoshop.

  • How to stop the Firefox update page to load whenever I run the FF 3.6.16 application

    How to stop the Firefox update page to load whenever I run the application FF 3.6.16. I use it on an iMac G5 ALS.

    See the following for a few suggestions:

  • How to disable the background update in the window 10?

    Anyone know how to disable the background update or surveillance? I already turn off the window updated administrative tools and all I know which include antivirus. However, my internet speed always very slow.

    My internet package comes with a slow speed and I couldn't go in the Web page when it has updated or programs using my internet connection in the background. Can I only surf the internet when there is no update in behind.

    I would be grateful if anyone of you could let me know how to solve this problem. Thank you

    Coolcola, welcome to the forum.

    Here's a guide that should help you solve your problem.

    Please click on the button + Thumbs up if I helped you and click on accept as Solution If your problem is resolved.

  • I need to know how to enable the windows update service

    My PC has windows automatic update service disabled and I need to update my Vista Home premium but I can't because the error that I get when I try to activate updates, it's "the service does not work.

    So that Windows install important updates as they are available, turn on automatic updating. Important updates provide significant benefits, such as improved security and reliability. You can also set Windows to automatically install recommended updates, which can address non-critical problems and help enhance your computing experience. Optional updates are not downloaded or installed automatically. To learn more about the types of updates that Microsoft publishes, see this Knowledge Base article on the Web Microsoft Help and Support site.

    1. Open Windows Update by clicking on the button start , clicking all programs, and then click Windows Update.

    2. In the left pane, click on change settings.

    3. Choose the option you want.

    4. Under recommended updates, select the include updates in downloading, installing or informs me of the box updated recommended, and then click OK. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    If this isn't what you mean, then maybe see this thread:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_other-windows_update/Vista-error-Windows-Update-service-is-not-running/ea17bdc9-125E-4130-A099-af547130d313

    or

    How to reset the Windows Update settings?
    http://support.Microsoft.com/kb/971058

  • How to prevent the automatic updates

    How to prevent the automatic updates which closes the window and restart the computer in Windows 7, Vista OP?  I'm usually right in the middle of something when this happens.

    Hello

    change how to get updates to allow you to choose what you and when you install to stop it happening again

    http://www.bleepingcomputer.com/tutorials/tutorial140.html

    Download updates but let me choose whether to install them - if you select this option, Windows will download the updates on your computer, but not install them automatically. If you want to install updates, then you must install them manually. You should only select this option if you have a reason to not install updates automatically. Only advanced users should use this option.

    Check for updates but let me choose whether to download and install them - if you select this option, you'll be alerted when there are new updates available for download and install. You can then choose to download and install the updates that you want. This option should really be reserved for people who know exactly which updates they need, or those who have little access to the Internet.

  • How to get the new update for the help and support

    OT:how to get the new update of the abd support help

    How to get help and support update

    Hello rickstemberger,

    Please click the number of the KB article for more information on how to add Windows Vista Help files.
    KB Article ID: 917607 -I can not open Help files that require the Windows Help program (WinHlp32.exe)

    Microsoft stopped including the 32-bit help files viewer in versions of Windows starting with Windows Vista and Windows Server 2008.
    However, with article 917607, you can download the appropriate version of the Windows Help program (WinHlp32.exe) and add them
    the operating system.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • I asked for information on how to stop the automatic updates on my operating system to windows 7. I received information about windows 8.

    * Original title: stoppng updated Automatic windows 10

    I asked for information on how to stop the automatic updates on my operating system to windows 7.  I received information about windows 8.  Help, please.

    Change your windows update settings,

    Click on the Start button and type in the search box

    Windows updates

    Click on this list to the top

  • How to check the Lightroom updates.

    How to check the Lightroom updates.  I have a version 6.2.1 stand-alone.  When I go to the help tab and click on updates, she wants to connect to the CC.  I don't want to join the CC.

    Also, I hate the new interface to import.  It makes some assumptions about what you want to import.  I have to go through several steps just to import a picture of my office. I had no problem with the former.  Why was changed?  I hope that Adobe comes to their senses and and simplifies the interface to import again.

    LR 6 wants you connect to check your license, not join CC.  You have the latest version of this day, and you check the updates correctly.  You can also see the announcement on this forum area to see what is the latest version of LR.  You can disable the new Panel to add Photos into LR / preferences / general.

Maybe you are looking for

  • A white blank screen as they were returning to the page of the site server page.

    I'm trying to manage my site webapp hosted on Intext Cloud FX. The scenario that I face is the following 1. I submit to the payment server servlet https://abc.com/paymentcall page.2. the server responds with an interim page (form with hidden fields),

  • How to REVERSE backup iCloud?

    I feel like I've been hacked! At some point I must have clicked on OK to backup my Outlook on pc when setting up my new iPhone 6. Therefore, the backup file on my PC has been replaced by an empty file. I want to go back to the good old days to sync m

  • Start the computer to a black screen after you uninstall a game.

    Original title: cannot start the operating system. OK I installed this game, so he has not ran smoothly and I uninstalled it. When it was above him asked if I wanted to restart the pc. I did and when I restarted it loaded the 1st screen and it became

  • Account of Lifelog

    I can make the connection between my Nexus5 and the SWR10 band. Day and night mode and vibrations when arrive the message works well.However, when you create accounts Lifelog, I can't click the Foreard Button After you enter the weight, age, height a

  • How can I prevent the Win7 installing display drivers just after starting?

    My main use of this particular computer is Microsoft's Flight Simulator X. It's a title 3-4 years and it works better on the 182.5 nVidia drivers than it does on the last drivers out there. I just got an ATI card and I'm replacing a nVidia card. I un