ORA-01423: error encountered while checking for extra rows in exact fetch

ERROR at line 1:
ORA-01423: error encountered while checking for extra rows in exact fetch
ORA-01722: invalid number
ORA-06512: at "Department.get_emp_name", line 57
ORA-06512: at line 14
Hi
The above are the error messages I am running into and I am not sure what it means at all. I do have a query which select few rows into cursor
cursor c_requested is
select * from departments where emp_id in (1, 2, 3)
now from these rows I again creating a query dynamically
open c_requested;
loop
fetch c_requested into deptID, name, authorized; -- declared variables
exit when c_requested%NotFound;
sqlstring := 'Select name from employees where deptID = ' || deptID || ' and Authorized = ' || authorized;
begin
execute immediate sqlstring into description; -- declared variable
exit;
exception when no_data_found then
description := 'FILTER_OUT';
end;
end loop;
close c_requested;
This code is inside a function get_emp_name(). When I execute this function I am getting the above errors. I really appreciate all your help. Please let me know if you need more information.
Thank you very much

Thank you very much damorgan,
I looked through my code and figured out what was wrong. I had a varchar2 column in the table where I was passing a value 999 instead of '999'. Thanks again.
I have one more question. I am using cursor to loop through.. here is my code
rowcount integer;
cursor c_emp is
select * from employees where empID in (....);
begin
open c_emp;
rowcount := c_emp%RowCount;
loop
end loop;
dbms_output.put_line(rowcount);
end;
I am getting rowcount = 0 even though there are many values in it. I am not sure if I am using the where clause properly. Any help would be appreciated.
thank you.

Similar Messages

  • Oracle Error occured, while checking for Already Committed data

    Hi,
    In my 1 day old workspace I see more than 3000 errors logged in the owb_error_log_table with text as shown below , can someone from Oracle please advise what the problem seems to be ?
    Oracle Error occured, while checking for Already Committed data : 76291.DBObject.TABLE_1.2.en_GB
    Oracle Error occured, while checking for Already Committed data : 76291.DBObject.TABLE_1.1.en_GB
    Oracle Error occured, while checking for Already Committed data : 42483.PlatformConfiguration.ORACLE.1.en_GB
    Oracle Error occured, while checking for Already Committed data : 42483.PlatformConfiguration.ORACLE.2.en_GB
    There are many more examples of other errors as well. Google returns nothing for these error....am I the first one to face these errors. We are using 11gRelease2 on RHEL.
    They all have a error text of ORA-01403: no data found
    tks in advance.

    I haven't been able to pin it down to a specific action that causes these errors. I have been having various other problems when importing tables ...the screen just freezes and nothing happens. When I queried this table from sql developer to check if I can spot anything and I found these errors.
    The screen freezes when I add a new oracle location - the test works fine - but when I click OK to the add oracle location screen it just freezes and nothing happens.

  • HT1338 when I click on software update it says ''An error occurred while checking for updates.'' Why does it say that?

    So I bought a Powerbook G4 from a pawn shop and yes, I did check to see if it was still good. everything works fine but I need an update because I have OS X 10.3. So I connect to the internet and then I click on ''Software Update'' and I wait. But then a message opens saying ''An error occurred while checking for updates'' And I don't know why. HELP!!!

    Something temporarily wrong with your internet connection?
    Be aware that this is a very large file to download, it needs a strong consistent internet connection.
    Have the iPhone on the charger cable too.
    In the meantime read the threads in this forum about the visibility item and some other possible issues on the 4 and 4S (although a large number of people have these issues, it is still a minor percentage, but anyhow, be aware).

  • "software update"  "An error occurred while checking for updates"

    When I click on "Software Update", an error results, "An error occurred while checking for updates".  It is definitely connected to the internet.  I was gifted a G5 and I installed a new hard drive and loaded the OS, OS X 10.3.5.  That version of Safari does not display pages correctly.  E.g., support.apple.com/downloads just clocks on the righthand side of the page.
    Because cannot access that link, cannot manually update the OS - I was thinking this version is "old" and as a result, unable to connect to apple's update server.  Thanks.

    Thanks,  I upgraded with your info.
    Ultimately, I am trying to access mail.google.com but receiving  the following error with opera v9.5.x: Some important features may not work in this version of your browser, so you have been redirected to the Basic HTML version.
    Safari gives the following: Some important features may not work in this version of your browser, so you have been redirected to the Basic HTML version.
    I can access ask.com and using opera to type this response.

  • ERROR 801881e1 while checking for phone update

    i get the following ERROR 801881e1 while checking for my phone update. I really want some solution. pls help if anyone knows about this. i really want the amber update.

    Try this ..
    Go to settings-->keyboard-->add keyboard and select any .. let it download to the phone .. 
    Now check for the update ...
    If it goes thru' fine, you may remove the added keyboard by again going to settings-->keyboard and long press on the one you want to .. then select 'remove' ..

  • Ios 5.1 OTA update gives error message ( unable to check for update - an error occured while checking for a sofware update ), can anyone help ?

    i am trying to download the latest ios 5.1 but the OTA update gives me a error message ( unable to check for update - an error occured while checking for a sofware update )
    the same thing happens in my ipad too.

    Thank you! I've been trying all day to get this to work! and finally i found the answer!
    amensistech wrote:
    I found a fix for this.
    Go to Wifi    Settings and then select your Wifi Network. Tap the blue arrow to go into Wifi settings and then select the DNS tab.
    Set the DNS to 8.8.8.8 and then go back to the software update page.
    This time it shall work.
    I tried it on an iPad 1 running iOS 5.0.1 but I am sure this shall help.
    Do rate me and reply if it works.

  • An error occured while checking for a software update!

    unable to check for update,an error occured while checking for a software update! thats the one who appear to my setting please help me!

    Hi there,
    You may find the article below helpful.
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    -Griff W.

  • HT201210 how do I correct - Unable to Check for Update  an error occured while checking for a software update.

    error message:  Unable to check updates.  an error accured while checking for a software update.

    It is all in your WIFI.
    I have 2 internal Wifi networks at home. In one (family) the software update works immediately, in the other one (guess) it gives me the same error "Unable to Check for Udpate" ... The guess network I did set up carries some restrictions being the reason why the update does not work.

  • Wanted to update my ipad wirelessly,went to general,software update,then massage appears:unable to check for update an error occured while checking for software update. How do I fix that?

    Wanted to. Update my ipad2 wirelessly,went to general,software update,then message appers:"unable to check for update an error occurred while checking for a software update." how do I fix that?

    Try set DNS to 8.8.8.8 (do not change the other numbers)
    http://i1224.photobucket.com/albums/ee374/Diavonex/53526605.jpg

  • HT4623 I Can't able to download IOS 7. I n my software update it is giving an error " Unable to check for updates. An error occured while checking for software update". What can be done for this error?

    I Can't able to download IOS 7. I n my software update it is giving an error " Unable to check for updates. An error occured while checking for software update". What can be done for this error?

    Me too having the same thing what's the solution for this how can I update

  • My phone won't let me update software. message is-unable to check for update. An error occurred while checking for software update. What is wrong?

    My IPhone won't let me update software. Mess is- unable to check for update. An error occurred while checking for software update. What is wrong?

    amm wait..first download the latest software (7.1.1) from the verified page..
    then after the download completes.. back up ur device !
    then after the back up completes.. turn off ur device
    after that process jst hold down the home button for about 10 seconds and without leaving the button connect the usb cable to the pc. this process takes ur phone to the recovery mode!
    now on the itunes press (shift ) and then click on update it opens some opener of the files now select the latest software that u've jst downloaded from the internet now there go..

  • HT4972 my ipad says an error occurred while checking for software updates

    my ipad says an error occurred while checking for software updates
    my ipad while trying to install updates has stalled it says installing but it is unable to download content??

    Try rebooting your iPad and then see if you have any success updating.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • HT4623 whenever i try to update my software , i got a massage "unable to check for update,an error occurred while checking for a software update'

    whenever i try to update my software , i got a massage "unable to check for update,an error occurred while checking for a software update'

    Your Tag states... iPhone 4S, iOS 6.1.3
    Your Device is currently up to date.

  • When i do a softwre update it comes up with an error occurred while checking for a software update

    can you help

    I had a jailbroken ipod touch 4th generation, 8 Gigabyte model with about 150mb left of free storage. I tried checking for an update on my ipod touch using the OTA A LOT OF TIMES but it said, "an error occured while checking for a software update." I finally backed up my ipod to iCloud and iTunes and updated my ipod using my desktop PC. I now have an UNJAILBROKEN ipod running IOS 5.1.

  • HT4623 my iphone software update states :an error occurred while checking for a software update?

    My software update states "an error occurred while checking for the update?

    Are you doing on the device under Settings or in iTunes?    Try updating through iTunes if you can.

Maybe you are looking for

  • PA40 - Termination/Leaving Action - problems delimiting IT0014

    Hi all, For an upgrade from ecc 4.7 tot ECC 6.0 (ehp 4) I am testing some actions. I've tested the Hire action and this test was successful. No Iu2019m testing the Termination/Leave Action. When I want to save the Organizational Assignment screen I g

  • I just got a new pc running windows 7 and don't know how to transfer my itunes library from my old computer using windows xp

    i just got a new pc running windows 7 and cannot get my i tunes library from my old windows xp i have an ipad,ipod nano .ipod touch ,will any of these do it? My library is one i downloaded from cds not purchased thanks'

  • Errors found while migrating commands using OATM

    hi, Found errors after migration using OATM in error report log,Please find the below snapshot. We are having 11i(11.5.10.2) Applications on 11gr2 (11.2.0.2) database. Object Object SubObject Schema name type type Migration Error ALR ALR_VALID_RESPON

  • Dynamic mapping in XI

    Hi, I have the folowing situation:  I have to transforme a material code from a non-sap system into a material code of a sap system. The relation betwean the codes are dynamic. How can I do this en XI ? The translation tool in XI, let me do transform

  • Computer Not Listed in HP Parts Store

    Hello, I have a HP Pavillion P7-1254 (details = http://h10025.www1.hp.com/ewfrf/wc/product?product=5192660&lc=en&cc=us&dlc=en&tmp_track_link=ot_we/p...).  The motherboard in this computer contains 4 SATA data outlets, 3 of which are being used by the