Error with implicit cursor

I am writing an implicit cursor and when I run that she grant an exception that cannot use Contine.


FOR (IN) getUseDetailRec
SELECT
bill_seg_read.tou_cd, bill_seg_read. BSEG_ID,
-end v2.4 *.
reg_read.read_type_flg ReadType,
bill_seg_read.start_reg_reading StartMeterRead,
bill_seg_read.end_reg_reading EndMeterRead,
-(NVL(bill_seg_read.end_reg_reading,0) - NVL(bill_seg_read.start_reg_reading,0)) quantity.
Reg.uom_cd,
bill_seg_read.final_reg_qty
OF ps_ci_bseg_read bill_seg_read,.
ps_ci_reg reg,
ps_ci_reg_read reg_read
WHERE reg.reg_id = reg_read.reg_id
AND bill_seg_read.start_reg_read_id = reg_read.reg_read_id
AND bill_seg_read.bseg_id = getReadIntervalRec.bseg_id
AND bill_seg_read.sp_id = getElectmeterRec.sp_id
AND bill_seg_read.end_read_dttm = getExchgRec.end_read_dttm
AND reg.mtr_id = getExchgRec.mtr_id)

LOOP
-Start v2.4 *.
If in getReadIntervalRec.rs_cd ("E-R-TOU", "E-ND-TOU") and getUseDetailRec.tou_cd =' ' then

CONTINUE;
end if;

If not in getReadIntervalRec.rs_cd ("E-R-TOU", "E-ND-TOU") and getUseDetailRec.tou_cd <>' ' then

CONTINUE;
end if;

Any help or suggestion is greatly appreciated.

Thank you

CONTINUES is available in 11g only. What is your version of Oracle? Always show the version and the exact error message!

SY.

Tags: Database

Similar Questions

  • Implicit cursor with Oracle 9i R2

    Hello

    I tried to use an implicit cursor:

    FOR rowProduct, SELECT ProductID, ProductName FROM T_Product
    LOOP
    Dbms_output.put_line(rowProduct.ProductID ||) '. Name = ' | rowProduct.ProductName);
    END LOOP;

    And the procedure fails to compile with error:

    Error (55,22): PLS-00103: encountered the symbol "SELECT" when waiting for him
    one of the following values: (- + case mod new null < an ID > < a)
    quotation marks double identifier defined by the > < a variable binding > reverse avg County
    current max min prior sql stddev sum variance execute forall fusion < a
    SQL statement > timestamp date of the time interval < a string literal
    specification of character set > < number > < a SQL string between single quotes >
    lead the symbol "(" has been replaced by "SELECT" to continue.


    I had to declare the cursor first and use FOR rowProduct IN csrProduct to make it work.

    Question: Is it because the implicit cursor was not integrated into Oracle 9i R2?

    Thanks in advance for any help.

    You just join the query in parentheses, i.e.

    FOR rowProduct IN (SELECT ProductID, ProductName FROM T_Product)
    LOOP
      ...
    END LOOP;
    

    Justin

  • Defective boot to a black screen with white cursor and DDDP errors.

    I have a Pavilion h8-1020, which began to show a black screen with a cursor flashing after the initial splash screen.

    I ran all the options except a complete reset utility mode.  I downloaded the Dell Diagnostics Deployment Package and booted from it.

    I ran the tests and got these errors

    4 c 00:0522 - system Interrupt controller or device has failed

    These all failed

    4600:021E - SMBIOS unidentified LM78A

    4600:021E - Fan1 SMBIOS

    4600:021E - SMBIOS chip fan 2

    I put an old HD and it starts to boot to the operating system while it recharges.  It is further than he gets with the original drive.

    Any thoughts would be appreciated.

    Thanks, BC.

    It's the Dell forum, so why you post questions on a computer HP here?

    The Dell diagnostics probably will work correctly with the HP hardware so that the results are meaningless.

    Ask your questions on the HP forum...

  • Satellite L550 - black screen with mobile cursor on startup

    Hello world

    I have a Win7 of Toshiba Satellite Pro l550-17u with a startup problem, black screen with a cursor, but not going beyond.

    Tried to reset the default values on initial F2 menu configuration
    Tried to boot in safe mode and the safe mode with networking
    I tried Repair computer option
    Tried the restore advanced user
    Tried to load the recovery disk
    Tried to boot the laptop directly from the disc
    Tried to remove the battery, but made no difference

    When I get the white screen with the cursor, I tried a few things mentioned.
    Ctrl + alt + delete to get the Task Manager, but nothing.
    Pushin' Win + R to open the Run dialog box, but it does not work.
    Click on SHIFT 5 times quickly to get ticky key opened to get to the Control Panel, but it did not work for me.

    Last night did not turn on my laptop turned off but when opened I received a message that my system has recovered from a serious error, you click on close and then it turned off my laptop had this problem since.

    Next step i think I can reinstall the memory but don't really want to start taking it to bits.

    I also have a large amount of data I really want out of the hard drive. any suggestions?

    Any help or suggestions much appreciated

    Hello

    To be honest, for me it looks like a Windows problem. Maybe something messed with the registry and Windows can start t more

    I think that you must restore windows recovery disk Toshiba you wrote that you have tried to load the restore disc but what happened after that? Can start the installation of recovery? If so, you should do this.

    Backup, you can do if you buy an external HARD drive enclosure. Remove the HARD drive and install in the case of HARD drive. Now you can connect to another computer.

  • HP G72-227 WM won't boot to Windows 7. Goes to a black screen with a cursor.

    My laptop is a little older than a year.  Operating system is Windows 7 Home Premium. When you try to start, F11 to get to Recovery Manager does not work. It's just a black screen with a cursor.  The version of the BIOS F.17. Conducted tests of diagnostics and everything going on.  Lost my boot drive. Borrowed from a friend but it is not going to fix the problem. When you run the Startup Repair tool, it is said that if you have recently attached a device to this computer, such as a camera or portable music player, remove it and restart your computer.  There is no device connected but it keeps coming back.  System Restore has tried the borrowed boot disk and it does not restore the message gives that an unspecified error occurred during system restore. (0x8000ffff).

    Hello

    If you still have the startup disk that you have borrowed, boot from it again, select repair your computer and choose the command prompt.  When this charge, enter the following commands and press on enter after everyone – including spaces as shown.

    Bootrec.exe

    bcdedit/export C:\BCD_Backup

    c:

    Boot CD

    BCD attrib s h - r

    Ren c:\boot\bcd BCD.old

    Bootrec /RebuildBcd

    Bootrec /fixmbr

    Bootrec /fixboot

    Remove the startup disk and try to restart the laptop.

    Kind regards

    DP - K

  • SQL procedure does not work with 'current cursor' Oracle 11 g

    Hi all
    I've written a procedure that should update all rows for a single column on a given table.
    Here is the code:

    CREATE OR REPLACE PROCEDURE "xxx". "" loop_update_autowert_x ".
    (
    number of startwert
    column_name VARCHAR2,
    table_name varchar2
    )
    AS

    stmt varchar2 (2000);
    stmt2 varchar2 (2000);
    number of zaehler;
    number of sum_gesamt;
    TYPE obj_ref_type IS REF CURSOR;
    obj_cur obj_ref_type;
    Start
    stmt2: = ' select rownum, rowid of | table_name | "for update";
    Obj_cur OPEN FOR stmt2;
    dbms_output. Enable (1000000);
    dbms_output.put_line (' ist Startwert: ' | startwert);
    dbms_output.put_line (' ist column name: ' | column_name);
    dbms_output.put_line (' ist Table name: ' | table_name);
    loop
    extract the obj_cur in zaehler, my_rowid;
    exit WHEN obj_cur % NOTFOUND;
    sum_gesamt: = zaehler + startwert;
    stmt: = "update". table_name | 'set ' | column_name | ' = ' || sum_gesamt | "WHERE the current of obj_cur";
    dbms_output.put_line (stmt);
    immediately execute stmt;
    end loop;
    close obj_cur;
    end;

    the error I get is:
    Anmeldung bei der data base Oracle Test2.
    ORA-03001: Funktion nicht solution
    ORA-06512: in "xxx.loop_update_autowert_x", line 29
    ORA-06512: In line 10
    Startwert ist: 5
    Column name ist: one
    Table Name is: T
    Update T set a = 6 WHERE the currents of obj_cur
    Process finished.
    Abmeldung von der data base Oracle Test2.

    have anyone an idea what is wrong or this construction with the clause "cursor open for the statement" is not possible with the current cursor location

    thx for help
    Best regards
    Hans-Peter

    When informed of the cursor works with static cursors and static sql only.

    ----------
    Sybrand Bakker
    Senior Oracle DBA

  • Black screen with blinking cursor after the passage in MSC mode

    I followed the recommendation to disable startup secure in the Bios then move the UEFI Bios to the CSM. But when I go to set up what I see is a black screen with a stable cursor in it. And it doesn t go in the Bios.

    The black screen remains.
    I turn off the laptop and once again now, but I still have a black screen with a cursor that is stable and that s it.

    It's like that and it doesn t go to windows even go into the Bios, I can t.
    What should I do?

    Help, please...

    Hello

    After the passage of the CSM and disabling secure boot UEFI mode, you will not be able to boot from the HARD disk as the installation of Windows 8 requires secure boot and the mode of the UEFI.

    Now you can boot from the disc or other media bootable (USB flash key) to install the Windows 7 system.

    I guess you've made these changes installed Windows 7. Right?

    By the way: what model of laptop you have exactly?

  • How to fix the error with the code: 0xe7210001 failed to load powrprof, object: cls

    Hello

    Dose anyone know how to fix the error with the code: 0xe7210001, message: unable to load powrprof, object: CLSD-no-it is found;
    OR: Fingerprintsoftware OR error: replicas THotkey.exe message window and the computer freezes

    Maleware scanned and virus, also in safe mode, found no infection, reinstalled driver fingerprint, but nothing has changed.

    grateful for the help!

    Hello

    > message: unable to load powrprof, object: CLSD-no-it is found;
    In my view, this would mean that there is a problem with Toshiba Power Saver
    What laptop Toshiba, you have exactly?

    Maybe reinstall Power Saver could help. You can find it on the official website of Toshiba.

  • How can I know if Migration Wizard works... I have the gray wheel on the new mac and it is after a msg error saying there was an error with iCloud (in red)

    How can I know if Migration Wizard works... I have the gray wheel on the new mac and it's after a msg error saying there was an error with iCloud (in red). What is happening with a MacBook Pro refurbished, I just got today. Thanks for any help.

    The guarantee gives the right to the free phone support for the first 90 days of ownership.

  • Satellite L350-214 - error with the software Reeltime

    Hello

    I have a Satellite L350-214 with Windows 7 Pro and have encountered an error with the software Reeltime, I uninstalled and reinstalled and still get the error below. Any help or assistance would be great

    Tony Miller

    Log name: Application
    Source: Windows Error Reporting
    Date: 2010-11-30 12:27:58
    Event ID: 1001
    Task category: no
    Level: Information
    Keywords: Classic
    User: n/a
    Computer: Tony-TOSH
    Description:
    Fault bucket 1223018385, type 5
    Event name: CLR20r3
    Answer: No available
    Cabin ID: 0
    Signature of the problem:
    P1: tosreeltime.exe
    P2: 1.0.0.0
    P3: 4a769d0e
    P4: WindowsBase
    P5: 3.0.0.0
    P6: 4b5950b7
    P7: a86
    P8: 18
    P9: System.InvalidOperationException
    P10:
    Attached files:
    C:\Users\Tony\AppData\Local\Temp\WER7C9E.tmp.WERIn ternalMetadata.xml
    These files are available here:
    C:\Users\Tony\AppData\Local\Microsoft\Windows\WER\ ReportArchive\AppCrash_tosreeltime.exe_25c5a6496c7 ad44943ce88637e3389e8a80bd45_07f0c745
    Symbol of the analysis:
    Recheck for solution: 0
    Report ID: d5b71327-fc74-11df-a596-00266c333aed
    State: 0
    The event XML:



    1001
    4
    0
    0 x 80000000000000

    37886
    Application
    Tony-TOSH



    1223018385
    5
    CLR20r3
    Not available
    0
    tosreeltime.exe
    1.0.0.0
    4a769d0e
    WindowsBase
    3.0.0.0
    4b5950b7
    A86
    18
    System.InvalidOperationException



    C:\Users\Tony\AppData\Local\Temp\WER7C9E.tmp.WERIn ternalMetadata.xml

    C:\Users\Tony\AppData\Local\Microsoft\Window s\WER\ReportArchive\AppCrash_tosreeltime.exe_25c5a 6496c7ad44943ce88637e3389e8a80bd45_07f0c745


    0
    d5b71327-fc74-11df-A596-00266c333aed
    0


    My system specs

    Hey,.

    If you get this error Reeltime, you should try Ccleaner. There may be a registry problem and CCleaner might solve this problem. This great freeware and easy tool which you can download here:
    http://www.Piriform.com/

    Check this box!

  • There is a transparent circle at the bottom of my screen with my cursor inside and my touchscreen is unresponsive especially.

    There is a transparent circle at the bottom of my screen with the cursor of the mouse inside and my touch screen has become mainly unresposive.

    With respect to the cursor, I followed instructions stating that "USB input device" under "Human Interface Devices" in Device Manager should be disabled, I found. This seems to have resolved this issue, but I can leave this option off or something will not work?

    Regarding my touch screen becomes mostly unresponsive, sometimes I can scroll in my Firefox browser and very very occasionally I can touch the screen to access something but not normally.

    My laptop is a Sony VAIO

    Product name: SVT1312B4E

    ModelSVT131A11M

    Any help would be appreciated.


  • Tecra M2 - black screen with blinking cursor

    Hi guys,.

    Im hoping someone out there might be able to help me fix my laptop.
    Ive read a few posts, but not sure they can help me.

    When I swicth on my Tecra M2, I just end up with a black screen with blinking cursor top-left, or I get a screen filled with a mix of 0 and 1.
    Sometimes the home TOSHIBA screen appears with the boot options, other times it doesn't.

    I can't boot from a CD and it does not start on the HARD drive. Ive took the HARD drive on and the CDROM outside but it does the same thing that suggests to me that its does not get via the BIOS as far as the boot sequence.

    This sounds like failure of the BIOS for you and you know a way to fix it? Ive tried to take the battery, turn off and start again, but the same thing happens.

    Any advice would be appreicated.

    Thank you

    Ross

    Hello

    The cursor blinking in the upper left corner is known to me.
    I got a same problem or question may be similar.
    My laptop (from another manufacturer) didn t start but only the cursor appeared.

    In my case, the HARD drive was dead, and the operating system could not be loaded.
    In your case, the HARD drive may be dead, but usually the laptop must be able to boot from the CD/DVD drive so I m wondering why you are not able to boot from the disk
    However, the first of all what you need to check if the HARD drive is listed and recognized by the BIOS.

    Press ESC, then F1 to access the BIOS.
    You can also set the BIOS to default settings too.

    If the HARD drive is not recognized, you should replace the HARD disk.

  • C850 satellite will not start - black screen with mouse cursor while

    the screen while starting up is black with the cursor display white mouse - but won't start

    the computer is only 3 months with windows 8

    Please help me

    Thank you

    You mean underscore flashing/blinking in the upper left corner?
    It is above all an indicator of malfunction of the HARD drive.

    In your case, I recommend contacting the Toshiba authorised service provider because the laptop is 3 months old. In this case the warranty is still valid and you must have it repaired for free.

  • Satellite L510 shows white screen with a cursor frozen only

    {color: #000000} After turning on my Toshiba Satellite L510 the splash screen displays an image, then the pass empty with a cursor frozen in the upper left corner.
    I am currently using Windows 7, but the computer will not load in front of the start screen.

    I tried to reboot using the F8, safe mode key, but no response from the computer.
    I tried to restart using the "F2", but no response from the computer.
    I tried to reboot with F12, but no response from the computer.
    I tried to use tips from Toshiba Support page, but no response from the computer.
    I also tried Ubuntu to start loading system, but there is no response from the computer.

    Because there is some personal information on the hard drive that has not been saved, I hesitate to do a system restore in the fear of losing all my data.

    Someone had similar problems recently?
    Anyone has a good solution to retrieve my personal files and restore the computer to a good working order?
    Thank you in advance.

    Kind regards
    Beautiful {color}

    Hey Buddy,

    I think that you can't do anything more. In my opinion, you did everything write and now it s time for professional help because it seems to be a malfunction of equipment that should be checked to a service center.

    You should contact the guy and ask for help. I think that everything can be clarified with them.

    In addition, you can access data from another PC. You only need an external HARD drive enclosure that creates an external HARD drive.
    And maybe you can keep the HARD drive at home if the service center don t need.

  • Satellite A100-906 - black screen with a cursor

    Hi all

    There is a problem with my Satellite A100-906:

    After having lit - Toshiba page appears - that the loading Windows XP page - more than a black screen with a cursor (the touchpad moveable)... and nothing more.

    That's what I tried without success:

    Detach the battery for over an hour
    Start the computer with battery detached
    Change the default BIOS settings
    Start in Safe Mode - the same black screen with 'safe mode' legends in the 4 corners of the screen.

    Please help with this.

    Hello

    According to your message, the screen of the laptop BIOS is visible and also the Windows screen.
    I think that it s not a hardware problem but a software problem.
    Maybe your operating system is confusing until you think about using the Toshiba Recovery disk and to restore the system?
    I mean you already tried the passage without danger and she didn't so in my opinion, the next step should be the new installation of the OS
    Check it out!

Maybe you are looking for