Basic loop error ....

here m entering numbers from 1 to 10 ..excluding 6 & 8 ...with the help of Basic loop ...but it's not executing ....only ...it's goes into the end now state ......
so plz .help me with the correct code .....

--create table messages (results number(4))
DECLARE
     v_counter number(4) := 1;
BEGIN
LOOP
     IF v_counter = 6 OR v_counter = 8
     THEN null;
     ELSE
     INSERT into messages(results)
     VALUES(v_counter);     
     v_counter := v_counter + 1;      
     EXIT WHEN v_counter = 10;
END IF;
END LOOP;
END;
DECLARE
v_counter number(4) := 1;
BEGIN
LOOP
IF v_counter = 6 OR v_counter = 8
THEN
null;
ELSE
INSERT into messages(results)
VALUES(v_counter);
v_counter := v_counter + 1;
END IF;
     EXIT WHEN v_counter = 10;
END LOOP;
END;
Here is the CODE ....

Similar Messages

  • I woke up this morning and google and gmail no longer work in firefox. I get the endless loop error

    I woke up this morning and google and gmail no longer work in firefox. I get the endless loop error.
    I have the latest version of firefox and it is running under win 7 pro.
    it was working great since I installed it 3 weeks ago and I use it every day.
    the error reads:
    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    This problem can sometimes be caused by disabling or refusing to accept cookies.
    However my cookies are still enabled and and i have never changed my settings

    See also:
    *http://kb.mozillazine.org/The_page_is_not_redirecting_properly
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
    *https://support.mozilla.org/kb/Cookies

  • Avoiding Logical Loop Error while defaulting values

    Hi Experts,
    We have a requirement where lets say Attribute A and Attribute B are displayed on the screen, we need to default value for Attribute B to NA if value of Attribute A is set by the user to "XYZ", else whatever value user enters in Attribute B will be set. To achieve this, we are setting the value of the Attribute B in the rule document. If we use the validation rule table like mentioned below, it throws a logical loop error:
    Attribute A
    “NA”
    Attribute B = "XYZ"
    Attribute A
    otherwise
    To avoid this, we are using a dummy attribute for Attribute A (which is not displayed on the screen) to set in the rule document as mentioned below and this attribute will be shown in the decision report:
    Attribute A Dummy
    “NA”
    Attribute B = "XYZ"
    Attribute A
    otherwise
    The issue is, we are sending the Session data to Siebel through OPA connectors. Now these dummy attributes as mentioned above (which are not displayed on UI) are not sent as part of the Session data as these are inferred attributes.
    Is there any way to:
    1. Solve the logical loop error issue so that we dont have to use the dummy attribute
    2. If we have to use dummy attributes, then how to send them to Siebel as part of session data.

    From:http://www.oracle.com/technetwork/apps-tech/policy-automation/documentation/index.html
    Oracle Policy Automation Connector for Siebel 10.4.4 Developer Help (HTML - Please be patient while the help index loads.)
    Full developer help for OPA Connector for Siebel 10.4.4, from getting started with mapping, to configuring and deploying rule projects, and handling session data being passed to and from Web Determinations. Includes information on the new Siebel integration object approach available since the 10.3 version of this connector. Note that only rulebases developed with Oracle Policy Modeling 10.4.0, 10.4.1, 10.4.2, 10.4.3 or 10.4.4 can be deployed to OPA Connector for Siebel 10.4.4.
    Specifically,  see the Topics under "Data Mapping" in the table of contents.

  • Solman 4.0 basic configuration error

    Hi Experts,
    While i'm performing initial configuration part 2 (auto configuration)  in solman 4.0, i'm getting some error. Plz help me to fix
    Basic Configuration Error
    Message no : IMG_FASTCONF015
    Diagnosis
    Solution Manager Basic Configuration Error
    Procedure
    check the messages in application log.
    object: SOLAR
    subobject: SOLMAN_CONFIG
    Thanks
    Ram

    Hi,
    Thanks for your quick reply
    Problem class important------------Basic Configuration error
    Technical Data
    Message type ---------- E (Error)
    Message Class---------- IMG_FASTCONF (IMG Quick Configuration Error Messages)
    Message number-------015
    Message variable 1-------
    Message variable 2-------
    Message variable 3-------
    Message variable 4-------
    Message Attributes
    Level of detail ----------
    Problem class-------- 2 (important)
    Sort criterion ---------
    Number--------------------1
    Thanks
    Ram

  • Infinite Loop Error - How to Remove?

    Only my "home page" will display in WampServer's Localhost, which I am using for my "testing site" in Dreamweaver CS5. All other pages in my website cannot be loaded by IE8 or IE9. Firefox and Chrome report that all webpages (except my "home page" ) have a "Redirect Loop" which prevents them from being loaded, and this is due to links which continuously loop between the same pages.
    QUESTION: How can I fix this (without starting all over to build my website)?
    I am using dynamic webpages with a template, all of which have the "php" extension. I started with HTML webpages and template, and then converted them to "php". They worked well until some time after I added a Login Form on my home page, with Dreamweaver's "User Authentication" in Server Behaviors. The "login" and "password protected" webpages worked for a while. But now it seems like the "Redirect Loop" error may be related to my "go to page if login fails".
    It may or may not be related, but around the same time my Infinite Loop problem started, the "Editable Region" of my home page stopped displaying the formating and background colour in "Design" view in Dreamweaver.  However, they do display properly in Dreamweaver's "Live View" and in WampServer's "Localhost".
    Any all help will be appreciated.

    Thank you for your reply, Nick.  I could not find the code segments which you suggested.
    I have included a link to show the text in my page, "about_us.php", which is one of the several pages I am having trouble with.
    http://www.sunisandsfl.com/text_file_from_about_us_php.html
    This is one of my "Non password-protected" pages. When I load "about_us.php" in Dreamweaver's "Design" view, there is an Error Message above the webpage which says, "An unknown error occurred while discovering dynamically-related files." The only files shown in the "Related files" bar are "Source Code", "conndbss.php" (my database connection file), and "main_sunisands.css".
    I have not yet uploaded any of my dynamic webpages to my live site (www.sunisandsfl.com).

  • Very basic loop question

    Hi everyone, I&acute;m somewhat new with programming and I have a very basic loop problem, that I can&acute;t solve.
    I have 3 ArrayLists:
    A has the project information, ordered by client, identified by a projectId, clientId and businessId
    B has the client information, ordered by business, identified by a clientId and businessId
    C has the business information, identified by a businessId.
    I need to show all the projects of a client, then the client information of a certain business, and at last the business information in a format like this:
    A -- Project1
    A -- Project2
    A -- Project3
    B -- Client1
    A -- Project4
    A -- Project 5
    A -- Project 6
    B -- Client2
    C -- Business1
    A -- Project7
    A -- Project8
    B -- Client3
    A -- Project9
    B -- Client4
    C -- Business2
    How should I program my loops? I've been trying different ways but everytime it doesn't print what I want. Help, please!

    OK, here's my code:
    for(int bussCounter= 0; bussCounter< bussArray.size(); bussCounter++)
       ValueObject bussVO = bussArray.get(bussCounter);
       String bussId = bussVO.getBussId();
       for (int clieCounter = 0; clieCounter < clieArray.size(); clieCounter++)
          ValueObject clieVO = clieArray.get(clieCounter);
          String clieId = clieVO.getClieId();
          String bussIdClie = clieVO.getBussId();
             for (int projCounter = 0; projCounter < projArray.size(); projCounter++)
                ValueObject projVO = projArray.get(projCounter );
                String clieIdProj = projVO .getClieId();
                String bussIdProy = projVO .getBussd();
                if (clieIdProy == clieId && bussIdProy == BussIdClie)
                   out.println("<tr>");
                   out.println("<td>" + projVO .getBussId() + "</td>");
                   out.println("<td>" + projVO .getClieId() + "</td>");
                   out.println("<td>" + projVO .getProjId() + "</td>");
                  out.println("<td>" + projVO .getTotal() + "</td>");
                  out.println("</tr>");
              if (bussIdClie == bussId)
                 out.println("<tr>");
                 out.println("<td>" + clieVO .getBussId() + "</td>");
                 out.println("<td>" + clieVO .getClieId() + "</td>");
                 out.println("<td>" + clieVO .getTotal() + "</td>");
                 out.println("</tr>");
       out.println("<tr>");
       out.println("<td>" + bussVO .getBussId() + "</td>");
       out.println("<td>" + projVO .getTotal() + "</td>");
       out.println("</tr>");
    }

  • Strange DAQmx Timing Source Timed Loop Error

    I have a digital edge counter fed into a timed loop. Everything works fine until I stop the loop, and stop the DAQ task. Once I restart the loop it fails with "resource is reserved". Attached is my code.
    Thanks
    Solved!
    Go to Solution.
    Attachments:
    daqloop.JPG ‏136 KB

    Here is a piece of code to illustrate the issue. If the timing source is created in the loop (it will be created each loop iteration) the error occurs. If it is moved outside the loop, and only created once the issue is resolved. Is there a way to RELEASE the timing source so that it can be created again? If the VI is stopped, this "resource" is released. I want to programatically release it.
    Note the error comes from the timed loop Error terminal that is Probed (50).
    Message Edited by bkb on 10-08-2008 09:52 AM
    Message Edited by bkb on 10-08-2008 09:53 AM
    Attachments:
    ts.jpg ‏57 KB

  • AS2.0 : Infinite recursion loop error when launching debugger

    I want to debug a project:
    When I run it from Flash, it doesn't work as expected but it
    doesn't display
    any compiling nor runtime error.
    But when I want to debug it and press the Play button of the
    debugger, it
    displays an infinite recursion loop error.
    I get this error even when I set a breakpoint at the first
    line of the
    script.
    How can I debug the debugger? lol!
    If you know Flash debugger's internal behavior, can you tell
    me how it can
    display an infinite recursion loop while a classic preview
    does not.
    Thanks.
    Henri

    What you are trying to do is not supported on Windows.
    You mention a thin client.  This has nothing to do with thin clients.  Thin clients are just dumb monitors that run a remote RDP session.
    If you are connecting to a terminal server there is a configuration in GP or in the terminal server configuration that let you specify an alternate shell.  If you are running this as a remote to a workstation then you need to specify the shell in the
    user profile.  THis can be done through group policy or via a registry edit.
    You cannot use a script for this and you cannot use an Office program without Explorer.  Office requires Explorer to run which is why you are getting that error.
    Redirecting userinit for the whole machine will likely create many bad side effects as it is a fundamental process.  It is called multiple times during logon.  Replacing it with a batch file will cause you script to be executed multiple times. 
    Usually userinit is called at least three times.  In a domain with Group Policy it can be called a dozen times.  I am pretty sure the only reason for it being in the registry is to allow for debugging.
    Another this folder.ng to knowis that userinit has to complete before many things in Office will work correctly dependin on you implementation.
    You can load the powerpoint viewer and directly launch that with the file name from the
    "startup"  .  You can also try and set the powerpoint viewer as the alternate shell.  It just might work because it is designed to run completely stand alone with no Office and is used in kiosks which generally run without Explorer. 
    You can also try to use IE to launch the ppt as it can host this with the viewer installed.  It can be set to fullscreen and it will re-launch  when exited just like Explorer does,
    ¯\_(ツ)_/¯

  • Redirect Loop Error

    Hi,
    So I use the web player at work, at home and have the spotify app on my Android phone.  I've logged into my premium account through facebook with no problems until yesterday.  Suddenly, no matter what computer I'm on, I get a "redirect loop error."  I can't log into my account to change my premium payment options and I can't log into my phone app.  I've reinstalled the app, cleared all cookies, tried from multiple different browsers and still am getting the same error.  What other things can I try?

    Hey there , welcome to the community!
    I apologize for the late reply. If you are still experiencing this issue, contact the accounts team through the online contact form since you've already tried all troubleshooting steps. If you receive an automated e-mail directing you back to the community, just reply to it and you will be connected with an agent that can assist you.

  • What is wrong with this (timed loop error)?

    I can't figure out why the timed loop is not starting and I receive an error -805 message. Any idea?
    Thanks,
    Ben64

    Hi Ben64,
    There's no obvious problem.
    I tried the same and it works perfect.
    So there must be a problem under the cover.
    I have 2 suggestions.
    1) There is a problem with your wiring -> the Error wire is not connected to the loops error out -> close timing source is executed before the loop is executed (Are you sure the loop doesn't even start ?)
    2) Labview often uses Names to identify items (queues, images, semaphores,..... timing sources(?) )
    I tried to open and close another timing source with the same name.
    Et voila : I'm able to get exactly the error code you mentioned.
    Is it possible you use the same name for a second timing source and this one is closed prior to executing the timed loop you've got problems with ?
    Best regards,
    Balze
    Attachments:
    timed_loop_2010.vi ‏37 KB

  • Control Statment in PL/SQL Basic Loop

    Hi,
    I have a PL/SQL procedure which contains a basic loop. Please refer the below sample code. In the following code, I just process each record. I would like to skip a record process if certain condition arrives. Right now My code it goes to exception block if exception is arrived during a particular record process. I should not allow control to go to exception block i.e. If condition is failed, it should go to beginning of the code.
    I know that I could use GOTO <label> statement to go back to beginning of the loop to process next record.
    My question is
    Is there any other way to continue the loop if I need to skip a record rather than using GOTO statement. I know that we can use CONTININUE statement in programming language like C, COBOL. !!. I need the best practice code in this case. Please suggest me.
    Actual Code:
    Loop
    Begin
    << if record process failed here ..control goes to Exception block..
    Exception
    End Loop
    My code using GOTO statement to cotinue the loop
    Loop
    Begin
    <Loop_Begin>>
    << if record process failed here >>
    GOTO <Loop_Begin>> /* Control never go to Exception block */
    Exception
    End Loop
    Regards,
    Thambi

    Hi,
    Thanks for the reply. I need to skip entire process , my code has aleady some statments after 'If-Endif' condition. Null statment does nothing.. it just skip the line and execute from the next statment. I have lot of statments before and after IF-END-IF condition. I don't want to execute next statment .. want to go to begining of the loop
    loop
    begin..
    if ( )
    skip and should go to begining of the loop.
    end if
    << i have some statment here >>
    Exception
    End loop

  • MSI FX5200 Infinite loop error

    Hi I’ve changed the PSU to see if this was the problem with the infinite loop error I’m getting. The PSU is AMD recommended or that is what it says on the box. How ever I fitted the PSU and re-booted the PC did a few things and them started 3DMARK03 and I was back in the infinite loop.
    // Watchdog Event Log File
    LogType: Watchdog
    Created: 2004-04-27 14:48:28
    TimeZone: 0 - GMT Standard Time
    WindowsVersion: XP
    EventType: 0xEA - Thread Stuck in Device Driver
    // The driver for the display device got stuck in an infinite loop. This
    // usually indicates a problem with the device itself or with the device
    // driver programming the hardware incorrectly. Please check with your
    // display device vendor for any driver updates.
    EaRecovery: 1
    ShutdownCount: 96
    Shutdown: 0
    EventCount: 9
    BreakCount: 9
    BugcheckTriggered: 1
    DebuggerNotPresent: 1
    DriverName: nv4_disp
    EventFlag: 1
    DeviceClass: Display
    DeviceDescription: NVIDIA GeForce FX 5200
    HardwareID: PCI\VEN_10DE&DEV_0322&SUBSYS_91901462&REV_A1
    Manufacturer: NVIDIA
    DriverFixedFileInfo: FEEF04BD 00010000 0006000E 000A1628 0006000E 000A1628 0000003F 00000008 00040004 00000003 00000004 00000000 00000000
    DriverCompanyName: NVIDIA Corporation
    DriverFileDescription: NVIDIA Compatible Windows 2000 Display driver, Version 56.72
    DriverFileVersion: 6.14.10.5672
    DriverInternalName: nv4_disp.dll
    DriverLegalCopyright: (C) NVIDIA Corporation. All rights reserved.
    DriverOriginalFilename: nv4_disp.dll
    DriverProductName: NVIDIA Compatible Windows 2000 Display driver, Version 56.72
    DriverProductVersion: 6.14.10.5672
    I get this error with three different drivers for the video card MSI the one that came with the card NVIDIA’S latest drivers and the latest drivers on the MSI web site.

    how many amps at plus 12v
     Memtest86

  • Redirect Loop Error on Everything

    Hi, I haven't been able to log into the web player or my own account on my desktop, my work computer or my phone because I keep getting the same "redirect loop" error.  I've been trying to log in to change my premium payment option because the card I had it under was cancelled.  I've tried deleting cookies on all my computers, as was suggested somewhere, but it still is giving me the same error.  How can I get into my account to change my payment options?

    Hey there , welcome to the community!
    I apologize for the late reply. If you are still experiencing this issue, contact the accounts team through the online contact form since you've already tried all troubleshooting steps. If you receive an automated e-mail directing you back to the community, just reply to it and you will be connected with an agent that can assist you.

  • The dreaded "Infinite Loop" error

    I get a "Serious error.. The Driver for the display was unable to complete drawing operation..blah..blah.. The display driver for nvidia Geforce 4 Ti 4200 with AGP 8X seems responsible....
    The log in windows sez a infinite loop error...blah..blah..
    Anyone have any suggestions?
    Thanx
    Specs
    Enermax 350w PSU
    +3.3V=32A
       +5V=32A
     +12V=17A
        -5V=1A
       -12V=1A
    MSI 865 PE Neo2 L BIOS 1.5/Intel chipset 5.0.1007
    2.4GHZ P4 533FSB
    2X256MB Infineon DDR333 (Using non dual channel)
    80 Gb WD JB
    MSI Geforce 4 Ti 4200/ nvidia 52.16
    Sound Blaster X-Gamer
    LG DVD ROM
    LG 52x32x52
    DirectX9b
    Clean Install Windows XP & Service Pack.
    Idle cpu:32C Load:48C
    Bios settings on default slow

    What is fastwrite (MB or video card?) and can you disable it any way besides buying s/w? I've looked all through my BIOS and Detonator setup, can't find this anywhere.
    My reboots are back.

  • MS-6390 and Radeon 9200SE "infinite loop" error

    I recently installed a radeon 9200SE PCI graphics card, and after about a week of perfect operation I began getting the "infinite loop" error. I've tried every fix I can find and nothing works, and upgrading my motherboard isnt an option since I can't afford it.
    Anyone have any ideas as to how I can fix this?

    tried another pci slot with it?

Maybe you are looking for

  • Computer library shows up... but just loads forever

    I've seen multiple people saying that their home sharing no longer works, since the last updates. I can still access my itunes library and see all the content, but when I try and play anything... it gets stuck loading. Any ideas? I've restarted both

  • Switch from Comcast back to AT&T - Now Fax is not working on my HP Officejet J5700 All-in-one

    To HP Support: My home phone was with Comcast.  My fax was working fine.  I have since switched my home phone to AT&T and now my fax is not working. Question - what do I need to do to get my fax to work like it did previously? Please advise and thank

  • Where can I find a MAC Laptop that was around between 2001 and 2003

    I'm trying to recreate some data files that were created on a MAC laptop or G4 between 2001 an 2003. In addition to the laptop, or G4 if necessary, I need the OS of that time, the other OS support software and a copy of AOL from that period.

  • Continuous DAQ with multiple Channels using 6023E

    I am trying to countinuously aquire data from 8 channels using a 6023E (without loosing data). For some reason it allways gives me error -10092. Meaning the card requires a certain time between each scan. If i set the scan rate to something that work

  • Reading ocr characters

    I am reading characters from lcd  by using ocr. in vision assistant......I can train only small lcd segment values properly..for bigger lcd the segments has been divided into 2 to 3 search area...so i cant  able to read properly