Problem with Raise keyword

exception
when others then
dbms_output.put_line('xxxxxx');
dbms_output.put_line('xxxxx');
raise;
end;
What is the use of Raise here, pls help, what does it do uin the exception part???

Don't have the WHEN OTHERS exception here if we are not thinking of handling the exception.
Go through this link : http://tkyte.blogspot.com/2008/01/why-do-people-do-this.html
And also the below example :
SQL> declare
  2    n number;
  3  begin
  4    select level into n from dual
  5    connect by level <= 2;
  6  EXCEPTION
  7  WHEN OTHERS THEN
  8  dbms_output.put_line('Error : '|| dbms_utility.format_error_stack() || CHR(10) || dbms_utility.format_error_backtra
ce());
  9  end;
10  /
PL/SQL procedure successfully completed.
SQL> edi
Wrote file afiedt.buf
  1  declare
  2    n number;
  3  begin
  4    select level into n from dual
  5    connect by level <= 2;
  6* end;
SQL> /
declare
ERROR at line 1:
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at line 4
SQL>

Similar Messages

  • Problems with ABAP Keyword Documentation after install Internet Explorer 7

    After install Internet Explorer 7 I see left frame with tree in ABAP Keyword Documentation, but don't see right frame.
    I find note 857216, but it not approach.
    Product Version SAP R/3 ENTERPRISE 47X200
    SAP GUI 620 Final Release 6206.6.62.970
    Internet Explorer 7.0.5730.11

    Once the page is opened, try to refresh the page a few times. I have seen this couple of times but just refreshing the same will solve the problem I believe.
    Regards
    Kathirvel

  • Problem with metadb keyword in profile

    I am new to use of mirroring during Jumpstart ( I just upgraded my Jumpstart server to S9-09-04), and can't get past an error that says:
    Error in file "Profiles/us087.profile", line 5
    metadb c0t0d0s7 size 8192 count 3
    ERROR: Invalid keyword
    Here is the profile in question:
    install_type initial_install
    system_type standalone
    partitioning explicit
    cluster SUNWCXall
    metadb c0t0d0s7 size 8192 count 3
    metadb c0t2d0s7 size 8192 count 3
    filesys mirror:d0 c0t0d0s0 c0t2d0s0 5120 /
    filesys mirror:d10 c0t0d0s1 c0t2d0s1 2048 swap
    filesys mirror:d20 c0t0d0s3 c0t2d0s3 5120
    filesys c0t0d0s4 free
    filesys c0t2d0s4 free
    What am I missing?
    This server was upgraded from Solaris 8 using Live upgrade, are there new packages that I need to install? It should be something simple since I can't seem to find any messages regarding this.

    <b><font color="red">pmostrom</b></font> <font color="navy">I had this problem but you need to verify which version of check you are using. I initially tried to use metadb with version 1.64 but this failed with your error.
    I then found a copy of 1.65 on a 4/04 CD under Misc which will accept metadb as a keyword. There are other issues with this version and you should look for a newer version than this.</font>

  • Problem with static keyword

    I faced Problem while using static keyword in Netbeans 6.5

    'static' doesn't exist anymore in JavaFX Script. Instead, put your functions and variable definitions outside of your class. Then they will be script level, which is roughly equivalent to 'static' in Java.

  • Constructor problem with super keyword

    When I try to compile this class, I get 1 error:
    C:\Program Files\Xinox Software\JCreatorV3\MyProjects\FixedDiameterCircle.java:6: cannot resolve symbol
    symbol : constructor CircleGUI (int)
    location: class CircleGUI
    super(100);
    ^
    1 error
    class FixedDiameterCircle extends CircleGUI
         FixedDiameterCircle()
              super(100);     
         }//end FixedDiameterCircle()
    public void setDiameter(int d)
    }//end class FixedDiameterCircle
    ---------Here's the CircleGUI.java-------
    import javax.swing.*; //import Swing components
    import java.awt.*; //import awt components
    import java.awt.event.*; //import event handlers
    public class CircleGUI implements ActionListener
    JTextField diameter = new JTextField(3); //text field for first name
    JTextField color = new JTextField(5); //text field for last name
    JButton button = new JButton("Draw"); //update button
    JPanel panel = new JPanel(); //panel for frame content pane
    JFrame frame = new JFrame("Draw"); //frame for window + title
    public CircleGUI()
    panel.add(new JLabel("Diameter")); //add a label to panel
    panel.add(diameter); //add first to panel
    panel.add(new JLabel("Color")); //add another label to panel
    panel.add(color); //add a last to panel
    button.addActionListener(this); //add a click listener to button
    panel.add(button); //add button to panel
    frame.setContentPane(panel); //set panel as frame's content
    frame.setSize(120, 120); //set frame size (width, height)
    frame.setVisible(true); //make frame visible
    }//end CircleGUI()
    public void actionPerformed(ActionEvent e)//executed when button is clicked
    int d = Integer.parseInt(diameter.getText()); //get diameter
    Circle circle; //declare Circle variable
    if(color.getText().length() == 0) //if no color entered in field
    {                                       //use JColorChooser below
    Color rgb = JColorChooser.showDialog(frame, "Choose a Color", null);
    if(rgb != null) //if Color rgb chosen
    circle = new Circle(d,rgb); //instantiate Circle from Color
    }//end if(color...
    else
    String c = color.getText(); //get color String
    circle = new Circle(d,c); //instantiate Circle from String
    }//end else
    }//end actionPerformed()
    public static void main(String[] args) //main method
    CircleGUI cGUI = new CircleGUI(); //instantiate CircleGUI
    }//end main()
    }//end class CircleGUI
    What's the problem?

    CircleGUI does not have a constructor that takes an int. You need to either add this to CircleGui:public CircleGui(int diameter) { /* do stuff */ } or just cal super() instead of super(int). Which one is better is left as an exercise for the reader.

  • Problem with Like Keyword

    Display the last name of all employees who have an a and an e in their last name using like keyword in oracle 10g...............

    870737 wrote:
    Display the last name of all employees who have an a and an e in their last name using like keyword in oracle 10g...............need to utilize "OR" in WHERE clause

  • Problems with Importing / Exporting Keywords and Meta Datas

    Hi to all!
    I recently upgraded to Aperture 3 and upgraded my referenced library.
    Today I opened the Keyword HUD and noticed some keywords splattered in my list, which seem to be any older ones, since the new numbering indicated that they are not applied to any pictures.
    So I deleted them.
    Than I noticed the <Imported Keywords> folder, opened it, and it contained also a large number of previous keywords. Also they seemed not to be in use, so I also removed them.
    Than I locked the Keyword HUD.
    Now my question: If I export a version, with the option for 'include metadata' ticked, and edit the version than in Photoshop, and after it, import it back into the Aperture library I do have the problem.
    I have tried 'Import Meta Datas' and and click 'Append'. Than it is recognizing the former keywords, which I would appreciate, but not as 'Imported Keywords'.
    If I would open the file w/ the External Editor and return it back, I guess I would not have this problem. Usually I do open the referenced RAW file, and import than the edited version back into Aperture. Keywords are stored in the Library, so I would not avail the former given keywords than, is that right?
    By the way are the keywords part of Meta Datas or not?
    Are there any workarounds?
    And had other people also problems with their keyword list after upgrading?
    Thank for any ideas / infos!
    Michael

    Added header to CSV and to Code
    $ImportFile = Import-Csv "C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Tags.csv" -Header Computer
    foreach ($Computer in $ImportFile){
    $path = "\\$Computer\c$\Epic\bin\7.9.2\Epic Print Service"
    $xml = select-xml -path "$path\EpicPullService.config.xml" -xpath //EpicPullService//Cleanup | Select -ExpandProperty Node
    if ($xml.ArchiveHours -eq '12' -and $xml.DeleteHours -eq '120') {
    $Compliance = $True
    }Else{
    $Compliance = $False
    } "$Computer","$Compliance" | Export-Csv "C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Results.csv"
    Results:
    select-xml : Cannot find path '\\@{Computer=SW1412-16985}\c$\Epic\bin\7.9.2\Epic Print Service\EpicPullService.config.xml' because it does not exist.
    At C:\Users\username\Desktop\Scripts\Powershell\Epic\SCCM CI\Check_PullServiceXML.ps1:4 char:8
    + $xml = select-xml -path "$path\EpicPullService.config.xml" -xpath //EpicPullServ ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (\\@{Computer=SW...vice.config.xml:String) [Select-Xml], ItemNotFoundException
        + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SelectXmlCommand
    If it is not a CSV file then just get it with Get-Content
    Get-Content C:\Users\UserName\Desktop\Scripts\Powershell\Epic\SCCM CI\Tags.csv |
        ForEach-Object{
            $computer=$_
            $path ="\\$computer\c$\Epic\bin\7.9.2\Epic Print Service\\EpicPullService.config.xml"
    ¯\_(ツ)_/¯

  • Problems with keywords?,

    Hello everybody,
    Recently I updated my iPhone 4S to iOS 6.
    Since then I keep having problems with the keywords hardware.
    At sudden moment it stops working and how many times I keep trying the words won't come.
    Example;
    When I want a heart i type : wx
    Normally: Goodbye: wx '<3' ==> <3
    Now: Goodbye wx
    and there ain't no heart coming, I tried new keywords but they didn't work either.
    The only solution I have, is to restart my iPhone. But this is NOT DONE.
    I hope it's not a matter of waiting till iOS 6.1.
    If somebody has a solution, tip or a remark, you can answer me here or @ my email adress: [email protected]
    Thanks and greetz !

    Never mind! (I think) - it turns out that I had a metadata preset to include those keywords - I have since cleared that box and now none of those offending keywords show up

  • Bug with Lightroom 4? - Big problem in the keyword list!!

    Hello guys,
    I am Rafael Rojas, a nature and landscape photographer. This is my first post, trigered by a quite bothering problem I am having with my LR...So hello everybody!
    I upgraded to LR 4 a week ago. Today I realized many of the keywords I have installed in Lightroom do not appear on the keyword list (basically all keywords after the letter S). Moreover, half of the keywords which appear on the list are not editable: that is, I cannot assign them to the selected image (by clicking on the left box), or I cannot double click them or right click them to get the Edit panel. All the rest of keywords (those which appear on the list on top), can be edited and there is no problem.
    When I export the keywords as a .txt file (in metadata, export keywords) I can see that all the keywords are there. When I try to write some of them on the box LR recognize them and adds them automatically. However, I just cannot see them on my keyword list or just cannot edit them.
    The reason I want to edit the keywords is because many of them got desactivated while upgrading (something more people have reported). Right now, I cannot send my images to my stock galleries, since many of my important keywords are not active, and I just cannot edit them...
    Can you help me please?
    thanks so much!!
    rafael

    Well, 64 bits.
    And yes, it seems when I erase one keyword, the list "shows" one more below...so it seems the problem is related to a certain limit in number.
    That would be still a problem I could live with, the big problem tough is that many of the keywords got "deactivated" alone by Lightroom (see problem here described http://www.backyardsilver.com/2012/02/strange-behavior-with-capitalized-keywords/) and that means I NEED to edit some keywords which are really important and which are not active. Otherwise, when I export the images those keywords are not embedded...
    Any thoughts?
    Rafa

  • Problems with non-ascii keywords

    I have some problems with non-ascii keywords that makes the whole keyword feature useless for me. I don't know if I'm doing something wrong or if there something I'm missing completely.
    The problem is that when I enter something like "grön" iPhoto sometimes refuses me to type in "grön" on another photo and "eats" the "ö". And if I select the matching keyword from the popup list iPhoto has changed the originally "grön" to "gr¨ön" (if that comes out right on the web). Here are a few screenshots to show what happens
    If someone knows what happens I would really appriciate some hints on how to avoid this.
    Note that adding/editing keywords works just fine in Aperture.

    There is a long standing issue with iPhoto and non-ascii characters. I know of no solution.
    iPhoto menu -> Provide iPhoto Feedback and report it as a bug.
    Regards
    TD

  • Problems with keywording in Bridge CS4

    Hi,
    I am using Bridge CS4 to add keywords and captions (descriptions) to my photos. However, I have noticed that when I change the photos from location, from one folder to another, Bridge cannot recognize the keywords anymore (no problem with the captions). The same happens if I change the name of the folder where the photos are in. This problem happens if I do those folder changes outside Bridge AND also INSIDE Bridge.
    However other programs (Picasa, Windows7 AND surprisingly Photoshop CS4) will recognize the keywords after those folder changes.
    Can someone help me with this Bridge problem ? is this a well known bug ?
    Anthony

    i have tried with 2 out of the 3 options. I cannot purge the cache, i will then loose all the information (labels, ratings,...) on my big database (160,000 images). (http://kb2.adobe.com/cps/331/331083.html)
    It did not work ;-(
    Another very strange thing, i noticed that the 10% of pictures that were not affected by the problem are in 99% of the cases vertical (portrait pictures)...
    Thanks for trying to help !
    Anthony

  • Problems with Keywords in Lightroom 5.6

    I've been experiencing a HUGE problem with Lightroom since updating to 5.6. Keywords are not being applied correctly to selected photos. Sometimes they apply to the last selected SET of photos even though I've purposely done a "Select None" and then selected a single photo. Sometimes they are being applied to an entire collection even though the entire collection has not been previously selected. I can usually get the keywords applied to the correct photo (or photos) if I shut down Lightroom and then restart it -- apply the keywords to one photo or group of photos, rinse, repeat. That is highly aggravating. Sometimes that doesn't even work and the keywords either don't apply at all or apply to all the photos in the grid view, whether that is a collection or a folder...

    Have you tried deleting the preferences?  See Preference and other file locations in Lightroom 5.  Note that on more recent versions of Mac OS, you should reboot after deleting the preferences, since the operating system can cache them. 
    Sprinkling this magic fairy dust often fixes weird LR behavior.

  • Problems with "Keywords - contains all" in smart collection

    I imported multiple pictures from a shoot; each has keywords, and they all have a common keyword phrase, say "my common keyword phrase". I created a smart collection with "Keywords" using "contains all" and parameter "my common keyword phrase". It worked as expected - those images were included in the smart collection.
    However, I just imported a new picture that has "my common keyword phrase" in it, and the smart collection is not updated. The smart collection has no other AND or OR triggers.
    I can access all the images with this keyword phrase by accessing them via the keyword list in Library - all the images do show up. But what am I likely doing wrong with the smart collection? I am using LR 4.3.1 under Win7 (64-bit). Thanks!
                    Dilip

    Have you tried deleting the preferences?  See Preference and other file locations in Lightroom 5.  Note that on more recent versions of Mac OS, you should reboot after deleting the preferences, since the operating system can cache them. 
    Sprinkling this magic fairy dust often fixes weird LR behavior.

  • I just order 8 calendars from iPhoto and they came to me fine. Now I need to order two more but when I go thru the process I get a message  saying:unable to assemble calendar. There is a probleme with the photo with the file name"(Null)"   more........ .

    Would someone be able to explain to me the following issue with Iphoto?
    I ordered 8 same calendars for my soccer team and received them fine. Although a couple of pictures on it are a little off (out of focus). I need to order two more of the same calendars but when I go thru the process ireceive an error message saying:
    "Unable to to assemble  calendar" There is a problem with the photo with the file name "(Null)" The full resolution version of this photo either cannot be located or is corrupt. Please replace this photo or delete it from your calendar.
    How can  I fine this "corrupt" photo? How did it go thru with the first batch of calendars but won't go thru now?
    Thank you for your help.   

    Apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start
    with Option #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Genius needs to help! problems with my video card and system

    Hey guys! I'm going to post my specs first so that you get a good idea of what I'm running on:
    MSI Neo2 LS 865PE.....MAT=Slow
    Pentium4 2.4C.....FSB=233=2.8C hyperthreading enabled ~>1.55V
    Corsair TwinX 1gig PC3700.....memory on "AUTO" in BIOS with timings at 3,4,4,8 ~> 2.7V
    Radeon 9700NP.....stock speeds ~>1.7V
    AlienX case with 2 fan400 watt power supply and 6 case fans
    Zalman Alum/Copper heatsink fan
    1:I've had this motherboard for a few months now. I upgraded my video card from a nVidia Ti4200(128meg) to a Radeon 9800 a month ago, but I couldn't get it working at 8X AGP, no matter what voltages I threw at it. I returned it for a Radeon 9700NP hoping that it would work, but it still won't.
    I'm using BIOS 1.9 and since there is no option to select your AGP speed, I could only try using ATI's drivers. Once booted into Windows, there is a slider you can move to select you AGP speed. On my machine It says that It has performed some tests and has concluded that AGP 4x is the best for my system....but my system supports AGP 8X!
    I've moved the slider over to 8x (which requires a reboot) at least 5 times with each card but the slider refuses to move past 4xAGP after the reboot.
    2: My second problem: I had an old stick of KingMax PC3200 and decided to buy 3 more sticks. Unfortunatly, the 3 I bought did not match the one I had, so I only put 2 of the new sticks I bought into my system. Immediatly, My system would crash, lock up, files were corrupt, and I got PLENTY of blue screens of death with a long message containing: 0x0000007  with all these other numbers and "0"s. I did a search online and found out I had a hardware incompatibility problem. I never got this with my old stick of ram.
    I returned the 3 sticks of Ram and replaced them with the Corsair. Put my new Radeon 9700 in, formatted my hard drive....and within 24 hours, my system locked up 3 times, rebooted itself 5 times, and gave me the same BSOD as mentioned above with the same long message.  
    I didn't change anything except for the memory and the video card. I've been wanting to overclock, (thats why i bought the faster memory   ) but I'm not sure what to do at this point.
         I have my FSB at 233 but I'm scared to go any higher because of previous system instability at stock speeds. My RAM was running on 400 and MAT=Turbo with the most relaxed timings at 3,4,4,8.
    I've given myself hours of sleepless nights formatting when my system wouldnt boot into windows; overclocking....etc. I NEED HELP. PLEASE. PLEASE. Anything could work at this point.  
         I'm trying to get more info on how to run my system at a 5:4 ratio, also.  
    If anyone has problems like me or knows what could be the problem with my system, please reply to this post, it would help me a lot. I've been trying to fix these problems for a few months now so anything is greatly appreciated.  

    Thanks a lot to you guys that responded. I brought my computer home this past holiday and I want to let you know where I stand as of now. I guess this thread is like my blog for my computer. I want to clear some things before my first post makes everyone confused.
    1- I have only 2 sticks of memory in my system: the Corsair PC3700 TwinX 512x2
    I returned the 3 KingMax I bought, and still keep my old stick just in case.
    2- I am using the 400 watt power supply that came with the case. I read some reviews of the case and I know the reviewer did not have problems with the power supply. In my BIOS, there are some voltages it is weak on. Lets say: it it should be 5.00+, my power supply will be feeding it 4.96v or something like that, but I dont know, or think, that is a major problem...
    3- My computer will refuse to boot if memory speeds are set at anything below 400. SO....if I want to use a 5:4 ratio and have to set my memory speeds to "333" in BIOS, my system refuses to boot.
    4- This morning, I did manage to overclock my FSB to 250. Specs are as follow:
    Memory Timing @3,4,4,8,4.....speed set at "AUTO".....MAT at "SLOW"
    MY 2.4C's FSB was raised to 250 = 3.0gig  
    AGP/PCI frequency: 67.xx/3x.xx (cant go any lower)
    CPU voltage: 1.5500
    Memory voltage: 2.75
    Video Card voltage: 1.7
         Everything was fine for the whole day until I heard something click in my computer around midnight, and then seconds later, my computer froze and made a continuous beeeeeeeeeeeeeeeeeep. (you can imagine)
         This "click" and system crash has been plaguing me for months now. I dont know whay it happens. I was just using AIM when I heard the click and my heart stopped.
    My memory speeds have been set to "AUTO" even at the FSB of 250. But I don't know if this still means my system is at a 1:1 ratio. I know the BIOS then adjusts the memory to work at 500 if my FSB is 250...so I assume it is?    I love 3gig, but somehow I feel that 2.8 is faster, since the FSB=233 running parallel to my memory, also at 233
    A FSB of 250 is good enough for me, that's what I've been waiting 6 months for. If anyone knows how to set other ratios to achieve a FSB of 250+, please let me know, but as I said, my memory won't boot if its set at "333"

Maybe you are looking for