Error of closure with variable

Dear all,

Please help me. I want to loop recording. I have two diet. First of all, I do without variable and no mistake. Second, I do with variable and error occurs. below my syntax:

First of all:
------
declare
x varchar (50);
Start
-x: = 'choose the double dummy;
C1 in loop (double dummy selection)
dbms_output.put_line (C1. Dummy);
end loop;
end;

result:
-------
X

--------
Second:
declare
x varchar (50);
Start
x: = 'choose the double dummy;
C1 (looping x)
dbms_output.put_line (C1. Dummy);
end loop;
end;

result:
-------
Encountered the symbol "LOOP" when expected...

If you want to use a dynamic SQL statement, you would need something like

SQL> ed
Wrote file afiedt.buf

  1  declare
  2    l_cursor sys_refcursor;
  3    l_sql_stmt varchar2(100);
  4    l_dummy    varchar2(1);
  5  begin
  6    l_sql_stmt := 'select dummy from dual';
  7    open l_cursor for l_sql_stmt;
  8    loop
  9      fetch l_cursor into l_dummy;
 10      exit when l_cursor%notfound;
 11      dbms_output.put_line( l_dummy );
 12    end loop;
 13    close l_cursor;
 14* end;
SQL> /
X

PL/SQL procedure successfully completed.

Justin

Tags: Database

Similar Questions

  • Captivate 8 javascript error cannot find the variable cp

    I created a responsive project with Captivate 8 trial (windows).  The presentation will be to load and play locally, but when you go from a server, the presentation hangs on the preloader. He won't play in any browser. Safari on Mac Error Log shows the following errors:

    Cannot find variable cp

    Error /Du file / line
    cpInitindex.html: line 17
    initializeCPindex.html: line 25
    constructDIVsindex.html: line 59
    (anonymous function)index.html: line 71
    bCPXHRLoader.js: line 37
    (anonymous function)CPXHRLoader.js: line 37

    A patch would be appreciated to Adobe.  We are trying to launch a project of e-learning of Captivate on July 31, 2014.

    After reading blog after blog, I discovered the Captivate team changed the variable "cc" to "CP" in the API.  With the previous version of Captivate installed 7 caused the error for the variable javascript missing "cp".  Uninstall the previous version of Captivate and publish the presentation, once again resolved the conflict.

  • With variable presentation month() function

    Hi all

    How can I use the MONTH() function in column answers, with variable presentation? I need to get the date month.
    I tried MONTHS (' @{tmp_date}' as date) but it doesn't work I get the error message.

    Thank you

    Hello

    If you select a single date value... go invite... then...
    Just keep filter on is invited to date column criteria of special relationship...

    Now, in the criteria take the same date column and apply * months ( column date ) *.

    So this column has the value selected and taken months of that particular date...

    try it this way...

  • Firefox Version 27 Action Menu error in Reporting Services. An error has occurred with the extraction of data.

    Hello, since I've updated for Firefox 27.0.1 on Windows 7, I have a problem with Reporting Services on a Sharepoint site. It is a site of Sharepoint 2010 with SQL Server Reporting Services 2012 Sharepoint integrated mode. I was already on Firefox version 26 and didn't meet with this problem.

    When a report is opened and you use the Actions link on the Reporting Services toolbar, I get the following error messages.

    An error has occurred with the extraction of data. Please, refresh the page and try again.

    I tried updating to the beta version of Firefox 28 but the same error occurs. I see that someone else is having the same problem here. http://SharePoint-community.NET/forum/topics/reporting-service-and-Firefox-27

    Any help would be appreciated. Thank you!

    Ryan

    Firefox version 28.0 has corrected this problem. Thank you!

  • I have an error: a drive with a mount point is required - what it means?

    I have an error: a drive with a mount point is required - what it means?

    Please explain EXACTLY what you were doing before this message appears.

  • recorder with variable unit

    Hallo!

    I tried to use the recorder with variable units. It does not it? Can I change the units of the recorder of the version of the runtime somehow?

    Thanks for your advice.

    Hilby

    Hello again!

    I found the solution:

    Even when it is not possible to use a variable in the context menu, it is possible to put a global string in the recorder manually. I put "${Unit_Ch1}" on the ground for the unit, and it worked.

    Have a good day everyone.

  • Diagnostics Windows network, the error reads 'Problem with wireless adapter or access point' and fails to solve the problem.

    «Problem with access point or wireless adapter»

    Hi, I just bought a new laptop & I have the extreme difficulty to stay connected to the internet. When I run Windows Network Diagnostics, error reads 'Problem with wireless adapter or access point' and fails to solve the problem. Help, please... Thank you, Maria

    HI Maria,

    ·         What operating system is installed on your computer?

    ·         You have installed the latest drivers for wireless network card?

    Follow the suggestions below for a possible solution:

    Method 1: Start your computer in a clean boot state in order to check if the applications of third parties or startup items is the origin of the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

     

    Note: After troubleshooting, make sure that you configure the computer to start as usual as mentioned in step 7 in the above article.

    Method 2: See these articles for solve wireless problems:

    Why can't I connect to the Internet?

    http://Windows.Microsoft.com/en-us/Windows7/why-can-t-I-connect-to-the-Internet

     

    How can I troubleshoot network card?

    http://Windows.Microsoft.com/en-us/Windows7/fix-network-adapter-problems

     

    Windows wireless and wired network connection problems

    http://Windows.Microsoft.com/en-us/Windows/help/wired-and-wireless-network-connection-problems-in-Windows

    Let us know if that helps.

  • Windows Live Messenger error: A conversation with (user name) could not be started. Please try again.

    When you try to send a text message to a number using Windows Live Messenger I get this error: "a conversation with (user name) could not be started. Please try again. "I can't send a text message to a phone using Windows Live Messenger. What is the problem?

    Ask in the Windows Live Solution Center Portal Messenger.

  • What are alternatives to restore my error active desktop with touching registry?

    What are alternatives to restore my error active desktop with touching registry in windows xp?

    Hi Zahid,

    Thanks for posting your query in Microsoft Community.

    According the information you have provided, I understand that you have found an active desktop error Windows XP.

    I will certainly help you in this matter.

    Were there any changes made to the computer before the show?

    Most of the time active desktop errors are related to the corruption of the registry.

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    How to back up and restore the registry in Windows

    http://support.Microsoft.com/kb/322756

    Please follow the steps and check if it works very well.

    After I installed Windows Internet Explorer 7 on a computer that is running Windows XP with Service Pack 2, a "Restore my Active Desktop" button appears on the desktop

    http://support.Microsoft.com/kb/929200

    Reference link:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-desktop/Windows-XP-will-not-restore-my-Active-Desktop/f664bfe4-0acd-4B11-8918-eb779bb2cc07?page=1

    Using the windows-related issues feel free to post on the Microsoft Community Forum.

  • HP Officejet Pro 6830: My 6830 Pro Officejet a error Messege "problem with printhead. Through troubleshooting all.

    My HP Officejet Pro 6830 worked normally and then all of a sudden it started giving the error messege "problem with printhead.  It does no more than print all.  It doesn't let me do any troubleshooting procedures.  I use a wireless network on windows 10 64-bit operating system.  My printer is covered by the warranty.  What can I do to fix this?

    You will need to contact HP for the service, they will probably send you a replacement printer.

    From a post of Sunshyn2005, contact technical support HP see the following link to create yourself a file number, then call and it can help to expedite the appeal process:

    Step 1. Open the link: www.hp.com/contacthp/
    Step 2. Enter the product number or select Auto detection
    Step 3. Scroll up to "still need help? Fill out the form to select your contact options.
    Step 4. Scroll down and click on: contact HP options - click Get phone number
     
    File number and phone number are displayed.

  • When you install windows vista service Park 1, I have received an error code 80073712 with 13% downloaded only?. Can you help me to complete this process?

    When you install windows vista service Park 1, I have received an error code 80073712 with 13% downloaded only?. Can you help me to complete this process?

    Hi Gore EzekiahTongun

     

    You can see the steps in the below mentioned article Microsoft and verification.

    http://support.Microsoft.com/kb/947366

     

    I hope this helps.

  • Why is Win XP Pro SP3 computer get error 'no video with format supported or a MIME type found.

    I have a Windows XP Pro SP3 computer, and I get the error 'No video with format supported or a MIME type found.' When I try to watch videos in the browser. I used to be able to view the videos, but 3 months ago they stopped working and I started to receive the above error message. What could be the cause for it? Thanks a lot for your time and help! God bless you!

    Daffodil5 said

    The site "paperwishes.com" (card making supplies) plays videos of product for some of its products. A blue box shows the word 'Play' next to the item. When I clicked on this blue box last spring, he'd always play. He's now hit & miss. Sometimes, it will offer to play via MP4, but rarely. Their 'webisode' will play not (who played in the spring, as well). Cannot understand what has changed: Google update leaving Windows XP in the past?

    Videos on the site can be read with an HTML5 player and do not use the Flash Player Plugin like a video I cheacked used HTML5 player when I right click on it. Actually, it turns out the link video was a Youtube video and YT uses the HTML5 player when possible and descends to Flash Player if need be if they always support such.

    With a little work, you can get the video to work in Firefox on the old WinXP EOL of HTML5.

    http://www.MSFN.org/Board/topic/175591-enable-MP4-h264-AAC-HTML5-video-in-Firefox-on-Windows-XP-without-Flash/

  • Error launching application with Service Ad

    Hello

    I'm integrating the ad to my application service.

    Right now, I have more documentation to create app demo for it.

    I get "java.lang.NoClassDef Error Found" as soon as I run my application.

    Here is the code I use:

    package mypackage;
    
    import net.rim.device.api.ui.UiApplication;
    
    /**
     * This class extends the UiApplication class, providing a
     * graphical user interface.
     */
    public class MyApp extends UiApplication
    {
        /**
         * Entry point for application
         * @param args Command line arguments (not used)
         */
        public static void main(String[] args)
        {
            // Create a new instance of the application and make the currently
            // running thread the application's event dispatch thread.
            MyApp theApp = new MyApp();
            theApp.enterEventDispatcher();
        }
    
        /**
         * Creates a new MyApp object
         */
        public MyApp()
        {
            // Push a screen onto the UI stack for rendering.
            pushScreen(new MyScreen());
        }
    }
    

    See also this warning

    C:\Eclipse_BB\ads\For_Post6.0.0\net_rim_bbapi_adv_app.jar(net_rim_bbapi_adv_app-1. COD): WARNING! : import a file is marked not analyzable
    net.rimlib.blackberry.api.advertising.app.Banner: WARNING! : not found definition

    What I'm missing here?

    I build my application using OS 6.0

    I tried to run the app on 9800 Simulator as well as on the OS 7.0 device 9860

    For both I get the same error.

    How to test the sample application on the Simulator and the device?

    I posted same post here as well

    http://supportforums.BlackBerry.com/T5/BlackBerry-advertising-service/error-launching-app-with-ad-se...

    But I think that it is a nuisance java.

    Thank you

    Afonso Tyagi

    Its market not now

    I lacked control and export the jar file

  • BlackBerry Storm 9530 smartphones. Had "the connector-specific error" when synchronize with outlook.

    Hello world.

    I just updated my storm 9530 with the ver.5.0 and has since got this version I'm not able to sync with my outlook 2003. Always got this message in french "Connector specific error" which means "the connector-specific error. Anyone ever had this problem. If so, how can I solve this problem. Thank you. Michel... Sorry for my English...

    Hi and welcome to the Forums!

    I think that the translation may be different... see if this KB applies to what you are requiring:

    • KB15294 "Connector specific error" when syncing with BlackBerry Desktop Software

    See you soon!

  • How to solve error 2147024891 associated with my wndows 7 ultimate

    How to solve error 2147024891 associated with my wndows 7 ultimate
    and abuse of BITS cannot be started

    Hello


    Question: Error 2147024891
    1. Once you get the error code?
    2. were there any changes (hardware or software) to the computer before the show?

    Problem: could not start BITS service
    1. do you get an error message when you start the BITS service?
    2. the problem persists with a particular service?
    Reply with answers to help you in a better way.

    Click on the below mentioned link to get an idea on how to ask for suggestions in this forum.
    http://support.Microsoft.com/kb/555375

Maybe you are looking for

  • Cannot find extension to show the menu bar by pointing the mouse at the top

    Hello I used to have an extension that would reveal the menu bar when the mouse points to the top of the screen. For some reason I can't seem to find it. Does anyone know what I mean? Thank you.

  • Satellite C50D-A-133 with Win7 - cannot install the USB 3.0 driver

    I Satellite, C50D-A-133 with Win 7 x 64 and cannot install the usb 3.0 drivers.I download the driver from the support site of toshiba for usb 3.0 for win7 x 64 and it starts to install the driver, but in the end it saids...Windows found driver softwa

  • Camileo P30 Jpg corruption?

    Camera seems to work very well, but I connect it to my windows 7 PC and download the fixed images (high resolution) and can see the thumbnails in Win7. I click on any one of them and get different error messages that the software package that I try t

  • EliteBook 1040 G3: Support access keys

    I downloaded and tried to install the support of the access keys HP on laptop HP EliteBook 1040 G3 (Win 7 x 64). The installation starts but fails every time with an error message "the file hotkeyservice.exe1 is not marked to be installed. I tried to

  • Manual mode is fuzzy until after the autofocus mode

    I recently bought a refurbished T5. I learned how to use manual mode, and I understand very well now (at least I think). However, I was a problem. I'm going to start shooting in manual mode (lens and body) and everything will be blurred - the image i