UPDATE CURRENT Problem

I am using Oracle8i Release 8.1.6.0.0, and now I encounter an
error when running the following PL/SQL Block:
1 declare
2 cursor c1 is
3 (select k1, f1 from geotab1)
4 for update of f1;
5 cursor c2 (key_k1 in geotab1.k1%type) is
6 (select f2 from geotab2
7 where k1 = key_k1);
8 begin
9 for rec in c1 loop
10 open c2 (rec.k1);
11 fetch c2 into rec.f1;
12 if c2%found then
13 update geotab1
14 set f1 = rec.f1
15 where current of c1;
16 end if;
17 close c2;
18 end loop;
19* end;
update geotab1
ERROR at line 13:
ORA-06550: line 13, column 10:
PLS-00801: internal error [22602]
ORA-06550: line 13, column 10:
PL/SQL: SQL Statement ignored
Note that the field k1 is the primary key of geotab1, and k2 is
the primary key of geotab2. When I replace the "where current of
c1" with "where k1 = rec.k1", the error is fixed and the program
block update geotab1 correctly.
I suppose the "where current of" clause works, but I have no
idea on the meaning of the internal error [22602]. What's going
wrong? Should I patch the Oracle Server?

Thank you for your advice. Unfortunately, the problem still
persists when running the first block of PL/SQL you suggested:
1 DECLARE
2 CURSOR c1 is
3 (SELECT k1, f1
4 FROM geotab1)
5 FOR UPDATE OF f1;
6 var_f2 geotab2.f2%type;
7 BEGIN
8 FOR rec IN c1 LOOP
9 BEGIN
10 SELECT f2 INTO var_f2
11 FROM geotab2
12 WHERE k1 = rec.k1;
13 UPDATE geotab1
14 SET f1 = var_f2
15 WHERE CURRENT OF c1;
16 EXCEPTION
17 WHEN NO_DATA_FOUND THEN
18 NULL;
19 END;
20 END LOOP;
21* END;
DECLARE
ERROR at line 1:
ORA-06550: line 13, column 10:
PLS-00801: internal error [22602]
ORA-06550: line 13, column 10:
PL/SQL: SQL Statement ignored
I've fixed some syntax errors and remove the commit statement
inside the codes. It seems not the problem of cursor variable.
The second block of PL/SQL you suggested seems to be a better
solution, and I should have use this logic before. Instead of
using the exception NO_DATA_FOUND, I will insert "IF SQL%
NOTFOUND THEN ..." after the UPDATE statement if I want to trap
the condition. (NO_DATA_FOUND was not raised when no record was
updated.)
By the way, thank you very much for your advice.

Similar Messages

  • Could someone please advise on my current problem? Apparantly I can no longer download tones to my phone or account to be used as such since the tones are being downloaded as songs that cannot be transferred or placed in the tones area for the phone...

    Could someone please advise on my current problem? Apparantly I can no longer download tones to my phone or account to be used as such since the tones are being downloaded as songs that cannot be transferred or placed in the tones area for the phone or in iTunes. Prior to the last update, this was always an option. I have also noticed that the Ringtones and Alert Tones are not showing up in my recent purchases as well to allow for me to place them back on my phone and there for require for them to be purchased again... Any help would be greatly appreciated!

    I've discovered that all tones purchased will be downloaded as ringtones, BUT they can be utilized as tones and assigned as alert tones on the iPhone...

  • Easier and better ways to solve current problems with Acrobat?

    Is there no better and easier way to solve the problems (installation, re-installing and crashing) with Acrobat? I really think that the ball is in Acrobat's corner right now, because I should not (for example) need to deactivate and re-activate my subscription in order to get AcrobatPro XI to work on my computer, let alone deinstalling an older version that (for now) does work, risking that in the end neither of them work. I need the (great) AdobeCloud applications to do my work as a freelancer, and I really cannot afford this kind of trouble with my applications, nore loose time repairing them. These are difficult times as it is.
    Regards,
    Marc

    Sorry, I can't. When I installed it there was no message that said I had to deinstall the old version first, and with other Adobe CC applications there had been no trouble at all, so I installed it with The previous version still on my computer.
    After installing, neither of them would start up properly, so I deinstalled version XI, after which the old version worked again, but my Adobe Application Manager does not let me download the XI version a second time, so I cannot try again.
    Regards,
    Marc
    Op 7 dec. 2012 om 00:41 heeft David Kastendick <[email protected]> het volgende geschreven:
    Re: Easier and better ways to solve current problems with Acrobat?
    created by David Kastendick in Acrobat Installation & Update Issues - View the full discussion
    The description of the issue you originally presented isn't something that I've seen happen to Acrobat when installed as a part of Creative Cloud.
    Could you provide a specific description of the behavior that occurs when you launch Acrobat XI now?
    Thanks,
    David
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/4902597#4902597
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4902597#4902597
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4902597#4902597. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Acrobat Installation & Update Issues by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Update rule problem - validation of "sales/cost w/ tax" keyfigure

    BW Gurus,
        Hi to all, i have this update rule problem at "sales/cost w/tax" keyfigure here is the senario.
        Our Goverment mandatory implemented an additional 2% tax from the original 10%, this will affect our report on sales, and also the BW "sales/cost w/ tax" key figure.
        My question is How can I validated the effectivity of the new tax? i have tax 10% from previous sales and 12% on the current sales. What "date field" can I use to validated this. I am using /BIC/CS2LIS_13_VDITM stucture to get the data i need.
    Thanks in Advance
    Joven

    Hi,
    Till to day how are extracting the data for tax(original 10%) is it available directly in 2LIS_13_VDITM ?
    Usually all taxes( condition types) can be extracted by the data source 2LIS_13_VDKON.Discuss with SD team, they may give the condition type used for different taxes.
    With rgds,
    Anil Kumar sharma .P

  • IOS 8.0.2 update causing problems with wifi connectivity..please help

    latest update having problems ...please help..!!!!!!!!!!

    Just a quick snapshot of my chain of events.  I’m currently on my fourth iPhone 6 Plus 64GB here in London, UK. Every time I have spoken to AppleCare and told them that I have gone through all the Wi-Fi troubleshooting methods possible they have asked me to get a brand new retail replacement as I’m within my 14 day return period.  I’ve been experiencing the following issues:
    Wi-Fi disconnects and switches to 4G (Restart required for temp fix)
    Wi-Fi is still active but there is no traffic or activity– often when in sleep mode for long periods of time.  (Toggle Wi-Fi on/off for temp fix)
    Wi-Fi disconnects and cannot find any networks (restart required for temp fix)
    This has been occurring on both iOS 8 and 8.0.2
    The issues are the same on both my 2.4Ghz and 5Ghz networks
    This is affecting my ip6+ and 5s (5s used to work perfect on ios7 on same networks) – My MBP-R and all other devices run perfectly on my network.
    I spoke to AppleCare again yesterday and asked for their advice as its now my fourth iPhone in just under a month. This time they said that apple were fully aware of the Wi-Fi problem and that new repair tickets were not being raised for their engineers as they are already working hard to get this resolved. They also said they could see all the issues raised on the apple discussions boards which they usually don’t admit too! I asked what to do next and the advisor apologised and said this is clearly a software glitch and will be resolved in the next update. I asked for a timescale but unfortunately none was given.
    As stated above I have tried all the troubleshooting methods discussed on forums and on tech websites but the only thing that gives me a stable connection without any disconnects (especially on my 6 plus) is turning cellular/mobile data off when I know I’m going to be on Wi-Fi for a sustained period of time (e.g. at home or work). I appreciate this is annoying but it’s the best temp fix until an update comes out.
    Hope it helps everyone who is having issues with their devices that have cellular functionality.
    Any comments welcome

  • Hi i have i phone 4s and ios 7.0.2 is updated and problem is wifi and last 3 days i have  problem anbout wifi and im connected  and its automatic turn off and then on ...... will you help me

    hi i have i phone 4s and ios 7.0.2 is updated and problem is wifi and last 3 days i have  problem about wifi and im connected wifi and its automatic turn off and then on ...... will you help me

    Apple guys are deleting posts. I have found my posts have been deleted. Apple should MUST let us downgrade at least to previous release from current which was working fine.

  • K7N2G-ILSR Live update 3 PROBLEMS

    Trying to download the following 2 updates using Live Update 3 and can't get it done.  It will download about half of the files then just stop, seems to me that the MSI's servers are timing out.  Sometimes I can download more of the update package than other times but never the complete deal.  The download seems to stop at around 3.5MB of 6.53MB for the nForce System Drivers Update ver 3.75.  I looked to download the following 2 updates manually on MSI's website but can't find these 2 updates.  Where can I get these updates?   Does MSI have an FTP site where I can grab these files??  I have 1.5Mbps cable connection and don't have problems downloading from any other places.  Thanks for the help!
    NVIDIA nForce System Drivers
    Item Name NVIDIA nForce System Drivers Update  
    Current Ver. 2.78 Online Ver. 3.75 Size 6.53MB
    NVIDIA nForce2 VGA Driver
    Item Name NVIDIA nForce2 VGA Driver Update  
    Current Ver. Unknown Online Ver. 6.14.10.4524 Size 19.14MB

    just get nvidias drivers as they are newer any way nVidia Drivers

  • Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started. How do I set FF back to open tabs in 1 window

    Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started 2 days ago. How do I set FF back to open tabs in 1 window?
    There is no plus sign and going into optins and changing settings has not worked. I have uninstall FF and reinstall-keeping my personalization-and that was no help.
    Right clicking on FF Icon to open a new tab, or going up to FF drop down tab and clicking on new tab both do not work.
    Help everything opens a new window not a new tab. there seems to be no way to reset this or to chose a different optin. I just downloaded new tabs at end addon and it didn't do a thing.

    as a first troubleshooting step - does it work like normally when you open & run firefox in [[Safe Mode|safemode]] by pressing the shift key while you open firefox (all other instances have to be closed before)...

  • New in gx740 bios? (+ current problems)

    So since the sticky topic is non-replyable, im wondering if someone knows what will be changed?
    Here are current problems:
    Closing lid and reopening will make the screen to stay black. Cant turn on anymore- need to hold power button for 5 secs - not found a fix yet.
    Advanced overclock menu is not available in bios menu...please enable - not found fix.
    Hybernation wont work and sometimes wont wake out of sleep if ati powerplay is enabled.
    Sound is sleeping for 3 seconds with realtek drivers-must be disabled in the realtek menu battery icon.
    Utorrent and this notebook dont like each other - getting random bsods over time when utorrent is started - no fix found, but guess a other torrent client will work.

    Please have a look at the questions I asked:
    Quote
    What is your current BIOS Version?
    Which operating system are you using?
    Have you considered a reinstallation of your operating system?
    Have you tried an EC Reset at any point?
    And not have a look at your answer:
    Quote
    No, that wont fix it. I had this when i got the notebook.
    I have no idea to which of the above questions your answer is referring to.  Whatever the answer to that is, three more questions remain unanswered.
    Quote
    Why do companys ALWAYS give the easy answers, like reinstall...
    First of all, I did not give you a "company answer".  This is a user-to-user forum. I don't work for MSI, I am just a user like yourself.  Secondly, an OS reinstallation is a very effective step when it comes to troubleshooting (consider it a control case).
    Quote
    Does someone has knowledge of the next bios version?
    No.  I don't even know what you mean when you say "next" as you did not say anything about your current version.

  • 10.4.11 combo update install problem

    Has anyone else had trouble installing the combo update from 10.4 to 10.4.11?? Mine almost finishes and says it encounters an unknown error and cannot finish the install. Says it moves the update to trash and says try again from the finder...
    HELP!!

    Updating
    Certain steps appear to minimize the risk of an update producing problems.
    Number one is to make sure you have a bootable clone backup of your computer in case you do need to back out of it again. This is the only guaranteed way of not having to worry about the results of an update.
    Some like to boot from their installer discs or an external backup and verify (and if necessary repair) their internal drives as well as drive permissions. This is done with Disk Utility. You can verify a drive while booted from the same drive but sometimes this produces spurious errors. Repairing a drive (if necessary) has to be done while booted from another disk.
    [Resolve startup issues and perform disk maintenance with Disk Utility and fsck|http://docs.info.apple.com/article.html?artnum=106214]
    [Using Disk Utility in Mac OS X 10.4.3 or later|http://docs.info.apple.com/article.html?artnum=302672]
    [Disk Utility's Repair Disk Permissions|http://docs.info.apple.com/article.html?artnum=25751]
    You can also go to the step of booting into safe mode to do the install.
    [Mac OS X: Starting up in Safe Mode|http://docs.info.apple.com/article.html?artnum=107393]
    [What is Safe Boot, Safe Mode? (Mac OS X)|http://docs.info.apple.com/article.html?artnum=107392]
    [Safe Boot takes longer than normal startup|http://docs.info.apple.com/article.html?artnum=107394]
    I like to download the update onto my computer and install it from there rather than let Software Update do it. I know a few people who had problems with doing the update via software updater found a manual install to work.
    Repair permissions again afterward.
    It helps to only install one update at a time and to run the computer for a while to make sure it is behaving well.
    The more cautious even like to unplug third party peripherals (see [comment by BDaqua|http://discussions.apple.com/message.jspa?messageID=9040746#9040746]).
    Almost all of the above steps (except backup) have been questioned (e.g., [Permissons repair|http://www.macworld.com/article/52220-3/2006/08/repairpermissions.html] as to necessity. Probably many people have done successful updates without doing them. I say they can't hurt, they can very likely do good (especially if your computer isn't regularly maintained), so why not do them to be safe?
    [BDaqua's comments on updating problems|http://discussions.apple.com/message.jspa?messageID=8948595#8948595]
    [Baby Boomer's comments on updating problems|http://discussions.apple.com/message.jspa?messageID=9025760#9025760]
    [Klaus1's post on updating and removing updates|http://discussions.apple.com/message.jspa?messageID=10257902] and [another one|http://discussions.apple.com/message.jspa?messageID=10402175]

  • SQL Server 2005 Update mechanism problem

    Hi Gurus,
          We're faced with one SQL Server 2005 update mechanism problem. Here is my problem:
          According to our requirement, an add_on interface program is designed to execute creation of production order by calling Bapi.
          There are 3 steps in this add_on program:
          Step 1: Create production order
          Step 2: Change the information of production.
          Step 3: Some other
          After the step 1 has finished immediately step 2 is called, Howerver the information which should have inserted into database table couldn't be found from database. (Maybe because the time between two steps is too short to finish inserting)
          In order to ensure the complete of the transaction, before the step 2 executed, the information in step 1 should have inserted into database.
           Is there any solution to solve this problem?
           I guess whether there is any parameter which control the time of writing buffer into database...
    Any advice is appreciated.
    Thanks & Best Regards,
    Derek Yang

    Hi
    I have the same problem, but that post didnt help me
    This is the error I have:
    My snapshot agent hangs.. waiting for a response from the server.. and timeouts.
    This only hapens for a publication that has a filter based on HOSTNAME()
    The other publications work fine
    Error messages:
    Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    Command Text: sp_MSsetup_partition_groups
    Parameters: @publication = XXXXXXX
    Stack: at Microsoft.SqlServer.Replication.AgentCore.ReMapSqlException(SqlException e, SqlCommand command)
    at Microsoft.SqlServer.Replication.AgentCore.AgentExecuteNonQuery(SqlCommand command, Int32 queryTimeout)
    at Microsoft.SqlServer.Replication.AgentCore.ExecuteDiscardResults(CommandSetupDelegate commandSetupDelegate, Int32 queryTimeout)
    at Microsoft.SqlServer.Replication.Snapshot.MergeSnapshotProvider.SetupPartitionGroups()
    at Microsoft.SqlServer.Replication.Snapshot.MergeSnapshotProvider.DoRegularMergeSnapshotPreparations()
    at Microsoft.SqlServer.Replication.Snapshot.MergeSnapshotProvider.DoPreArticleFilesGenerationProcessing()
    at Microsoft.SqlServer.Replication.Snapshot.SqlServerSnapshotProvider.GenerateSnapshot()
    at Microsoft.SqlServer.Replication.SnapshotGenerationAgent.InternalRun()
    at Microsoft.SqlServer.Replication.AgentCore.Run() (Source: MSSQLServer, Error number: -2)
    Get help: http://help/-2
    Server XXXXXXXXX, Level 11, State 0, Procedure , Line 0
    Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. (Source: MSSQLServer, Error number: -2)
    Get help: http://help/-2

  • Update/Insert Problem with Oracle Warehouse Builder

    Hello,
    i have update/insert problem with owb.
    Situation: I have a source-table called s_account and a target table called w_account_d. In the target table are already data which was filled trough the source table inserts. Now anyone make changes on data on the target table. This changes should now give further on the source table with an update operation. But exactly here is the problem i can´t map back the data to source because that will create a loop.
    My idea was to set a trigger but i can´t find this component in owb or is anywhere hidden?
    Also i have already seen properties as CDC or conditonal loading in the property inspector of the table, but i have no idea how it works.
    Give it other possibilities to modeling this case? or can anyone me explain how i can implement this eventually with CDC?
    I look forward for your replies :)

    Hi
    thanks for your answer. I follow your suggestion and have set the constraints of both tables into the database directly.Nevertheless it doesn´t work to begin. In the next step i found by right click on a table the listpoint "configure" - I goes to "unique key" --> creation method and set here follow options: Constraint State = ENABLE, Constraint Validation = Validate. That error message that appears before by the deployment disappears yet. Now i start the job to test if the insert/update process works right. Finally it seems to work - but not really.
    My Testscenario
    1. Load the data from source table about the staging area to data warehouse table: Check - it works!
    2. Change one data record in source table
    3. Load the source table with changed data record once again to staging area: Check - it works!
    4. Load new staging area table with the changed data record to data warehouse table: Check it works! BUT, BUT i can not recognize if it is insert or update operation, then under the design window by jobs execution windows is reported "rows selected 98", Rows inserted" is empty and "rows updated" is empty. So i think works not correct, then my opinion if it works correct it should show be "rows updated" 1.
    What can yet now still be wrong or forgotten? Any ideas?
    *By the way think not 98 rows there is not important if you make an update or insert which performance. It is an example table the right tables have million of records.*
    I look forward for your answers :)

  • Tried to buy Aperture 3 and got an error message Aperture can't be installed on "Macintosh HD" because Mac OS X version 10.7.2 or later is required. You can update Mac OS X using Software Update.  Problem is, I had already updated my IMac to Lion OS

    Tried to buy Aperture 3 and got an error message Aperture can’t be installed on “Macintosh HD” because Mac OS X version 10.7.2 or later is required. You can update Mac OS X using Software Update.  Problem is, I had already updated my IMac to Lion OS

    iPhoto 9.3 requires OS X 10.7.4 now. You can use your actual version of iPhoto or upgrade to Lion (or wait to Mountain Lion)

  • Dynamically update current year in AssemblyCopyright

    I need to dynamically update current year in AssemblyCopyright section under Assembly.info.vb
    Thanks
    Bindu

    I am just curious why you need to do this?
    Are you updating the .exe? If not, why do you need to change the copyright date?
    Cant you update the whole .exe file with the new copyright?
    I suppose if one knew how to do this they could change the copyright name for any app on the system as well? Would that be malicious?

  • Updates currently deployed development component

    Hi All,
      I have NWDI installed and been using for quite some time. I upgraded it to SP19. I have like 10 DC's and let us say i changed only one DC and check in and release, import, assemble and import into test system. In the log file, I see that all my 10 components are updated, shouldnt it just update the corresponding DC, why is it updating all the others too? i think this started happening to me after this version upgrade.
    The snippet of how it looks like in the "SDM log"
    Selected development component 'appl/broad'/'mycomp.com'/'MYTRACT_C'/'1032'/'2' updates currently deployed development component 'appl/borad'/'mycomp.com'/'MYTRACT_C'/'1032'/'1'.
    Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/head'/'mycomp.com'/'MYTRACT_C'/'1027'/'2' updates currently deployed development component 'appl/head'/'mycomp.com'/'MYTRACT_C'/'1027'/'1'.
    Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/structure'/'mycomp.com'/'MYTRACT_C'/'1029'/'2' updates currently deployed development component 'appl/structure'/'mycomp.com'/'MYTRACT_C'/'1029'/'1'.
    Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/loginpar'/'mycomp.com'/'MYTRACT_C'/'1026'/'2' updates currently deployed development component 'appl/loginpar'/'mycomp.com'/'MYTRACT_C'/'1026'/'1'.
    Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/iviewsepa'/'mycomp.com'/'MYTRACT_C'/'1041'/'0' updates currently deployed development component 'appl/iviewsepa'/'mycomp.com'/'MYTRACT_C'/'1038'/'0'.
    Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/confidential'/'mycomp.com'/'MYTRACT_C'/'1023'/'2' updates currently deployed development component 'appl/confidential'/'mycomp.com'/'MYTRACT_C'/'1023'/'1'.
    Info:Jan 24, 2007 1:24:42 PM  Info: Update: Selected development component 'appl/trexanon'/'mycomp.com'/'MYTRACT_C'/'1024'/'2' updates currently deployed development component 'appl/trexanoni'/'mycomp.com'/'MYTRACT_C'/'1024'/'1'.
    could you please look at that in your installations, if possible and let me know how it behaves?
    thanks

    Hi,
    Even if one DC is changed/activated, during the transport, the assembly happens to the entire component, which means all the DCs in that SC. Its the assembled "software component" that gets transported to the QA system. And thats the theory behind rolling out a software unit in NWDI. Its normal AFAIK.
    Hope that helps,
    Thanks,
    Rajit Srinivas

Maybe you are looking for

  • Error in Starting Managed Server

    Hi, I have installed Oracle webcenter Portal 11g on my local machine. Started admin server successfully url: http://localhost:7001/console When i tried starting Managed server WC_Spaces,WC_Portlet,WC_Collaboration & WC_Utilities. Am getting error as

  • Kernel Panic 10.4.8. with MacPro 3.0 and VMWARE Fusion Beta/ Parallels (?)

    Hello, got I couple of times different Kernel panics in AppleIntel8254XE. Seams to me, that this is Macos 10.4.8 related, and same as in http://forum.parallels.com/thread7375.html . 1.) Sun Jan 14 00:14:06 2007 panic(cpu 0 caller 0x0035BEAC): freeing

  • How do I stop pages opening in a new tab that I haven't clicked on?

    This page keeps opening in a new tab on my browser even though I have not clicked on anything. It is very annoying and manages to open the new tab and put it as the active tab. I have pop ups disabled and new tabs which open are not supposed to take

  • Problem in passing parameters between flow task in a dynamic region

    Hi, I have a problem with the passing of parameters between task flow when it is executed within a dynamic region. To implement this, I followed the Baranovskis Andrejus Blog "JDeveloper 11g and ADF Task Flow Parameters" and everything works perfect

  • How to calculate number of cutomers that have bought more than variable qnt

    Hi BW Gurus! My InfoProvider has following structure: CalDay     BusinessPartner1 Customer SoldQnty 01.02.2005                    1               3       100 02.02.2005                    2               4       50 03.02.2005                    1