'Save the exception' does not work... ?

Hi all

In why I am not able to catch exceptions of code below... EMP_LOG. Ename size is 100 characters
--------------------------------------------------------------------------------------------------
DECLARE

TYPE EMPTYPE IS TABLE OF THE varchar2 (101)
INDEX OF DIRECTORY;

EMPTAB EMPTYPE.

EXCEPTION MY_EXCEPTION;
PRAGMA EXCEPTION_INIT (MY_EXCEPTION,-20001);

BEGIN

SELECT ENAME
BULK COLLECT INTO EMPTAB
FROM EMP;

EMPTAB (2): = RPAD (EMPTAB (2), 101, ' ');
EMPTAB (4): = RPAD (EMPTAB (4), 101, ' ');

FORALL I IN EMPTAB. FIRST... EMPTAB. FINALLY SAVE THE EXCEPTIONS
INSERT INTO EMP_LOG (ENAME)
VALUES (EMPTAB (I));

COMMIT;

EXCEPTION MY_EXCEPTION THEN

BECAUSE me in 1... % BULK_EXCEPTIONS SQL. COUNTY
LOOP
DBMS_OUTPUT. Put_line ('Record' |) SQL % BULK_EXCEPTIONS (i) .error_index |' original mistake ' | I have |
': '|| SQL % BULK_EXCEPTIONS (i). ERROR_CODE | » '|| SQLERRM (-SQL % BULK_EXCEPTIONS (i).) ERROR_CODE));

END LOOP;

END;

--------------------------------------------------------------------------------------------------

Rgds,
PC

Published by: PC Sep 16, 2010 12:39 AM

Published by: PC Sep 16, 2010 12:44 AM

1. it is always useful to include the error message you have met.

2. Please describe the tables EMP and EMP_LOG.

Tags: Database

Similar Questions

  • I have rebuilt my laptop Gateway MX6625, did not drive recovery, is went to the gateway web site, all the drivers have worked except the multimedia sound. The gateway was no help, they told her, but the there does not work

    I have rebuilt my laptop Gateway MX6625, did not drive recovery, is went to the gateway web site, all the drivers have worked except the multimedia sound. The gateway was no help, they told her, but the there does not work

    Hello JesusVigo,

    Thank you for visiting the Microsoft answers community.

    Have you tried to use the disk of Windows XP, or Windows Update running default drivers to search for best driver for your sound card?

    Also, I found only 1 driver on your system gateway Web site is located here.

    Hope this helps Chris.H
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Why the object_not_found exception does not work?

    Posters,

    I have the following statement in a package.procedure:

    -- (...)
    Start

    Select dbms_metadata.get_dependent_ddl ('INDEX', 'OWNER', sTableName)
    in the cDDL - clob for index DDL
    of the double
    -- (...)

    exception
    When dbms_metadata.object_not_found then
    null;

    end;
    -- (...)

    Execution is stopped in the select, not enter the exception and the following message is displayed in PL/SQL Developer MicroHelp:

    + "ORA-31608: specified object type INDEX not found." + "

    I did it another way by adding the following clause:

    -- (...)
    Start

    Select dbms_metadata.get_dependent_ddl ('INDEX', 'OWNER', sTableName)
    in the cDDL - clob for index DDL
    of the double
    where exists (select 1+)
    of all_indexes+.
    where table_owner = 'OWNER'+.
    and table_name = sTableName); +
    -- (...)

    exception
    + When no_data_found then +.
    null;

    end;
    -- (...)

    It works, but: why the object_not_found exception does not work?

    Thanks in advance for everyone!
    Philips

    Oh I just noticed:

    What happens if instead of this:

    Select dbms_metadata.get_dependent_ddl ('INDEX', 'OWNER', sTableName)
    in the cDDL - clob for index DDL
    of the double

    you say:

    cDDL: = dbms_metadata.get_dependent_ddl ('INDEX', 'OWNER', sTableName);

    ?

  • Satellite X 200-219 - the touchpad does not work as it should

    Hi all

    I recently bought a 2nd hand Toshiba Satellite x 200-219. Had some problems with it that I have overcome now, except one... The touchpad does not work as it should. I think that the cable has been damaged at some point.

    So I'm wondering if I should use the same ribbon cable to connect the keyboard to the motherboard or can I get one of a different model of PC Toshiba laptop?

    I tried searching on the net for advice but have resulted in nothing so thought I would try the forums.

    Any help you can give will be greatly appreciated.

    Thanks in advance,

    Lee

    I think you can use the items to the satellite X 205 series since this seems to be the same series as X 200:
    Found some related parts the touchpad:
    Satellite X 205 / X 200 touchpad Board with cable: reference number: K000047950
    Satellite part number for the TOUCH PAD FFC X 205 / X 200: K000047980

    But why you n t come into contact with a Toshiba authorized service provider in your country and order the part necessary and compatible?

  • just has got rid of the virus and responsible for all the disks but given the wifi does not work

    WiFi doesn't work do not

    just has got rid of the virus and responsible for all the disks but given the wifi does not work

    Hello

    Check with the system manufacturer or the actual WiFi device manufacturer and ask in their forums (if any)
    for problems known.

    Actually, try updating your driver:

    Control Panel - network - write down of the brand and the model of the Wifi - double click top - tab of the driver - write
    version - click the driver update (cannot do something that MS is far behind the pilots of certification). Then
    Right click on the Wifi device and UNINSTALL - Reboot - it will refresh the driver stack.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    Download - SAVE - go where you put it - right click – RUN AS ADMIN.

    You can download several at once however restart after the installation of each of them.

    After watching the system manufacturer, you can check the manufacturer of the device an even newer version. (The
    manufacturer of system become your backup policies).

    Repeat for network (NIC) card and is a good time to get the other updated drivers as Vista like
    updated drivers.

    I would also turn off auto update for the drivers. If the updates Windows suggests a just HIDE as they
    are almost always old, and you can search drivers manually as needed.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • BlackBerry Smartphones ALT/O command to display the messages does not work on 7.10; Anyone know another shortcut?

    ALT/O command to display the messages does not work on 7.10; Anyone know another shortcut?  I know that I can get all messages sent via Options, but too heavy to do it and then cancel it.

    do an advanced search using the options. Once you are satisfied with it, you can save it and assign it to Alt - O.
    If you do this, remember to remove any other shortcut search which may exist.

  • "@specTypeName @" placeholder for extensibility of the Email does not work for the master specifications

    Hi all

    • I installed E-mail Feature Pack 4.1 extensibility 6.2 PLM.
    • I use "GSMEmailFileBasedVariablesFormatPluginFactory" to send e-mail notifications when work flowing from one status to another.
    • I am successfully able to generate notifications by e-mail for all GSM specifications with the content specified by me except the master specifications.

    "@specTypeName @" placeholder for extensibility of the Email does not work for the specifications of the master.

    Can you please help me solve the problem?

    FYI,.

    ' @specTypeName @ ' placeholder works in all other GSM specifications.

    Thank you

    Nefertari

    For the resolution of this problem, please see the following knowledge base document:

    Document 2079386.1 - Notifications by email for the specifications of the master only lack the Type of specification field

    Thank you

    Stephen, Oracle Support

  • pressure of the stylus does not work in Photoshop cc 14

    Hello

    IM using Photoshop with a Wacom Cintiq 12 Wx.

    In the properties of the system, all right, that the stylus pressure works correctly, as well as in other programs, but Photoshop.

    But in the pen of Photoshops settings, there is a small exclamation mark just before the pressure of the pen settings, indicating that the pressure of the stylus does not work.

    I don't know what to do, please help!
    If you need information, bad write everything down, which is necessary... (I don't know what exactly what is needed).

    Thanks in advance.

    1. create a Notepad and type:

    # Use WinTab

    UseSystemStylus 0

    Save it as a text file named PSUserConfig.txt

    2. Open Run command and type appdata, and press ENTER key

    3. go to the location:

    Roaming - Adobe - Adobe Photoshop CC2014 - Adobe Photoshop CC2014 settings

    4. move the file PSUserConfig.txt to the folder settings Adobe Photoshop CC 2014

  • Trace the path does not work in photoshop

    I am doing a logo and the route of the path was working fine. I took the file in illustrator to do something, it has exported in photoshop and now the route of the path does not work. I can right click and select 'Show the way', but it is not fixing the brush stroke. I searched the net and cannot find any solution.

    Can anyone help?

    Hi, I've never really understood why this happened, because no body responded with anything. But what I did is save the file and it opens again in photoshop and it started working. I guess the only thing I can suggest is to check the layer is rasterized or duplicate a new screen and see if it works like that.

  • iPhone 5: objective of the camera does not work after update iOS 10

    Hello everyone.

    I swear to you that I have no idea how do... after a few weeks since the release of iOS 10, yesterday I force myself to be updated - the situation with iOS 9.3.2 became crash and unbearable lag every second. The fact is that I update, I like the system and use it for a few hours. Check the camera this morning, I see that the focus does not work. Now I also see AE / AF Lock, light changes whenever I tap on one side or the other, but not to focus. Not even close or far, nothing to do. I have not tried in the settings to do a full erase, I had no way to restore it since I do not have a backup.

    I tried to clean the lens - already cleaned, I tried to give him a few small nicks and follow the many guides online. I rebooted and everything done. Nothing has changed.

    The last photo was taken last night and has been developed. So I don't think it's a hardware problem and if so, how has it happened? A few hours ago the iPhone is fallen, but tell me if it makes sense. If it's a software problem, what could I do?

    I would avoid the assistance. It is a used iPhone, never jailbroken. I don't have a lot of confidence with the help, in 6 or 7 years he never went - iPhone always bought used and always worked very well.

    PS: I have no way to get into DFU, as iTunes does not see my iPhone. Up to iOS 9 that I had no problem even if I had enough of the device with the cable isn't original, but barely now lets load ("This accessory may not work").

    Hello

    I also have an iPhone 5 and I tested the question and mine is fine, how bad was the fall that you mentioned? Sometimes problems can come and go. Also try to reformulate your device.

    After this answer please.

    Thank you Will

  • Fast forward on the videos does not work on tvos 10

    Hello

    After updating to the latest tvos, 10, fast forward on the videos does not work. I can only fast forward when I press on the right place on the pavement and fast forward 10 seconds in time.

    Someone else has the same problem? Is this a bug in update?

    Hello. It seems to work as described here https://help.apple.com/appletv/#/atvb7944597f press next to move to 10 sec, press and hold to fast forward. They have it changed again?

  • My update of the software does not work

    My update of the software does not work and I can't return to the main he keeps on telling me to restart the computer and then go through the software update settings, then it ends by does not and then it tells me to restart and restart and restart again and again

    What updates you trying to install?

  • I can't select or copy text on Firefox for Android 26.0.1 (device: Samsung Galaxy Note 2) OS: Android 4.3. Long press on the text does not work. )

    Can't select or copy text on Firefox for Android 26.0.1.
    Device: Samsung Galaxy 2 Note.
    OS: Android 4.3.
    Long press on the text does not work.

    I would ask someone to check that...

    I'm glad to hear that your problem has been resolved by using the beta version.

    If you have not already the case, please mark this thread as solved by the solution of marking.

    This will help other users experience similar problems helps to find faster and more efficiently.

    I hope that you will continue using our products and we thank you for contacting the Mozilla Support.

  • using firefox 24, yahoo toolbar disappears and the keyboard does not work on some websites

    We have installed firefox 24, yahoo toolbar sometimes disappears. On some web site when trying to enter a password, the keyboard does not work until you double click of the mouse on the registration form. This on two different systems of windows 7. Each thin seemed to work fine before the update prior to the installation of 24.

    Hello

    Try Firefox Safe mode to see if the problem goes away. Safe mode is a troubleshooting mode, which disables most of the modules.

    (If you use it, switch to the default theme).

    • Under Windows, you can open Firefox 4.0 + in Safe Mode holding the key SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac, you can open Firefox 4.0 + in Safe Mode holding the key option key when starting Firefox.
    • Under Linux, you can open Firefox 4.0 + with leaving Firefox then go to your Terminal and running Safe Mode: firefox-safe-mode (you may need to specify the installation path of Firefox for example/usr/lib/firefox)
    • Or open the Help menu and click on the restart with the disabled... modules menu item while Firefox is running.

    Once you get the pop-up, simply select "" boot mode safe. "

    If the issue is not present in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one. To do this, please follow article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. It might help others who have the same problem.

    I hope this helps!

    Curtis

  • Yahoo speaker icon Chinese big5 dictionary web to pronounce the Word does not work on firefox 26,27.

    http://tw.dictionary.search.Yahoo.com/search;_ylt=A3eg.nXHREBSxRUAzBh7rolQ?p=test & fr = SFP
    the speaker icon of web for the Word does not work on firefox 26,27. It works on firefox 24,25.

    Hello mizuc, thanks for reporting that - I can reproduce the problem and get an error in the web console:

    Media resource http://___.mp3 could not be decoded.
    

    Edit: I have filed bug 919572 for this question

Maybe you are looking for