Unable to print dbms.output

I try to print the result to the below sql block when he says that c1_list is not a slider. Could someone tell me what I might be missing.


      Declare
      Cursor c1 is 
      select store_id ,geometry from TMCS.TMCS_All_Stores_TA  where CLIENT_ID= 1 and rownum <1;
            
      Type C1_TAB_TYPE is table of c1%ROWTYPE;      
      c1_list c1_TAB_TYPE;
        
        --   DBMS_OUTPUT.PUT_LINE('2012 Population--> '||c1_list(1).store_id); 
      
      Begin     
                For r1 in c1 
                   Loop
                   
                   select  store_id ,geometry 
                    BULK COLLECT INTO c1_list from
                   (
                      select 
                      store_id, store_number ,geometry 
                      from TMCS.TMCS_ALL_STORES_TA
                      where client_id=1
                      and   SDO_RELATE(Geometry, r1.geometry,'mask=anyinteract') = 'TRUE'
                      and store_id != r1.store_id
                   );
              
              
                         For r1 in c1_list
                         Loop
                         DBMS_OUTPUT.PUT_LINE('2012 Population--> '||r1.store_id);  
                          End Loop;
                End Loop;
                      
      End;

Hi Nathan,

c1_list is not a slider (on line 26). It is a collection (table a).

If you want to iterate through the collection, here's what you do (replace lines 26 to 29):

BECAUSE me IN c1_list. FIRST... c1_list... LAST LOOP

dbms_output.put_line ('TEXT' | c1_list (i) .store_id);

END LOOP;

I hope this helps.

Kind regards

Guillaume

Tags: Database

Similar Questions

  • Unable to display the output in the next block

    Hello
    I tried the next block... But unable to see the output
    Could you suggest me in this...
    0-----)
    
    PL/SQL procedure successfully completed.
    Although made setserverout

    but of no use

    Please help me

    Published by: josh1612 on April 5, 2010 12:14 AM

    Hello

    Check if the script given below will print something...

    DECLARE
      ..
    BEGIN
       DBMS_OUTPUT.PUT_LINE('START OF ANONYMOUS BLOCK');
      ..
       DBMS_OUTPUT.PUT_LINE('END OF ANONYMOUS BLOCK');
    END;
    

    If so, check your logic for the results expected, if not... Check the settings of sqlplus

    * 009 *.

    Edited to take off your real script :) forums

    Published by: 009 April 5, 2010 12:18 AM

  • Unable to print black and white with an empty cartridge

    My printer will not print not black-and-white, except when a color cartridge is replaced empty.

    How can I print black with an empty color in place cartridge?

    Some IIC (individual ink cartridge) printers have print heads that require ink available for periodic maintenance tasks. This avoids problems with hooves in the print head and the bad print quality. The following printers are unable to print when a cartridge is empty, even if the other cartridges.

    If one or more color ink cartridges are low but not empty and you want to minimize the use of color ink, you can change the settings in the HP software to print in black ink only (grey levels). Even if you change the print settings to print in black ink only, the other ink cartridges still have ink in them so that the printer to print.

    If you choose to print in black ink only, the printer always uses small amounts of ink from all cartridges for occasional maintenance tasks. HP recommends to replace the low ink cartridges in order to avoid any interruption in printing.

    For more details, see the link below

    http://support.HP.com/us-en/document/c04331666

  • printer officejet 4650: unable to print emails

    When I tried to print emails yahoo, gmail and smartermail, the message asked me to 'save' and I can't find the button to print. Help, please. Thank you.

    Hi @WilliamLi,

    Thank you for joining the Forums of HP Support!

    I noticed that you are unable to print from your email to your HP Officejet 4650 printer accounts. I'd be happy to help you and don't forget to come back to this thread and check "Accept as Solution", if I have successfully helped solve you the problem. If you want to say 'Thank you' to my effort to help, click on the "thumbs up" to give me a Kudos.

    Gmail, Yahoo, and SmarterMail are web-based email clients which means that they are using a Web browser.

    It seems that the printer is not selected in the print dialog box. Please ensure that you select your printer. Otherwise, it could use a PDF or Microsoft OneNote Driver, printer etc.

    Are you able to print from MS Word, Notepad, or WordPad?

    In the meantime, I would reset the settings of your browser to see if that solves the problem.

    Reset the settings of your Internet Explorer browser

    1. Close all Internet Explorer Windows or Explorer Windows that are currently open.

    2. Open Internet Explorer by clicking the Start button. In the search box, type Internet Explorer, and then in the list of results, click Internet Explorer.

    3. Click Tools and then click Internet Options.

    4. Click on the Advanced tab, and then click Reset.

    5. Select the check box delete personal settings if you want to delete the browsing history, search providers, accelerators, home pages, and InPrivate filtering data.

    6. In the reset Internet Explorer settings dialog, click Reset.

    7. When Internet Explorer finishes restoring the settings, click Close, and then click OK.

    8. Close Internet Explorer.

    Source

    Reset the settings of your Firefox browser

    1. Type Subject: config in the address bar and press ENTER. A list of preferences appears.

    2. Find the preference Print.print_printer (Note: this preference is missing in Firefox profiles where you have never used the printer.)

    3. (Right-click contextual) right-click the preference and select Reset . (Some users may need to reset all the ) ( Print.Printer preferences for a particular printer, if this master preference reset does not solve the problem.)

    4. Restart Firefox and see if the problem is resolved.

    Source

    Reset your Google Chrome browser settings

    1. In the upper right corner of the browser window, click on the menu of the Chrome Chrome

    2. Select settings.

    3. At the bottom, click Show advanced settings.

    4. Under the section "Reset settings", click on reset.

    5. In the dialog box that appears, click Reset.

    Source

    I hope this helps. Please reply to this message with the results. I wish you a nice day!

  • Unable to print the web page - want to save the file instead!

    I'm unable to print a page of web... pop box appears, asking you to save the file. When cancelled, unknown error message appears. Other browsers ok.

    This has happened

    Don't know how many times

    is in the last week

    Make sure that your printer is selected at the top of this dialog box, and who print to file is not selected in the middle of this box.

    http://KB.mozillazine.org/Problems_printing_web_pages

  • Hp6700: Unable to print from my ipad

    Recently changed internet service providers and now I am unable to print from my iPad to my wireless printer.  My iPhone works, and the computer works, but cannot print anything on my iPad.

    Hello

    Sorry to hear that you are experiencing printing problems.

    Try to restart your apple device - it's a simple solution that sometimes allows to restore the connection to the printer.

    Other things to check would be that there has been no recent changes to the wifi password and the password for wifi on the ipad has been updated.

  • 3510e: unable to print a copy of a document placed on the screen of the printer.

    My 3510 e printer works using my computer & Iphone but I'm unable to print a copy of a document that I placed on the printer screen.

    I solved my problem by installing new ink cartridges.

  • Unable to print emails because of popups blockers

    When I try to print emails, I have a message "Unable to print no doubt caused by popup blocker, try again" but still cannot print. How can I get rid of this?

    Ian,

    When you want to print, what happens when you press on and hold the Ctrl key? By pressing the Ctrl will usually allow the popup which would be blocked, to happen.

    Press in and hold the Ctrl key, then click on your was to print.

    Rick

  • Unable to print using HP Officejet 4500 but the screen displays "BUSY".

    Through 'troubleshooting' and are still unable to print. The Start button flashes as usual, then nothing. BUT the screen displays "BUSY".

    OT:OfficeJet 4500

    Hello

    Thanks for posting your query in Microsoft Community.

    I understand how it could be frustrating when things do not work as expected. Please, I beg you, don't worry I'll try my best to resolve the issue.

    1. what operating system is installed on the computer?
    2 have. what troubleshooting measures you tried?

    You can download the drivers for the printer based on your operating system from the link provided below.

    Software & Driver Downloads HP Officejet 4500 all-in-One printer - G510a

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?cc=us&LC=en&DLC=en&product=3919448

    For more information about troubleshooting steps, see:

    Printer in Windows problems

    http://Windows.Microsoft.com/en-us/Windows/help/printer-problems-in-Windows

    Thanks for posting the results and let us know if you need help to solve the problem and we will be happy to help you.

  • Unable to print an invoice from within a Web page.

    Original title: device error message

    Unable to print an invoice from within a Web page.

    using network printer.

    Hi ColinBall,

    1. are you able to print other Web pages and other documents?

    2. you receive messages or error codes?

    If you are facing the issue when you try to print from Internet Explorer, you can read the following article and see if it helps.

    I can't print or preview before printing a Web page in Internet Explorer

    Hope this information is useful.

  • Canon BJC-265SP, but after Setup printer, still unable to print

    I use the 64 bit and Canon BJC-265SP, window but after Setup printer, still unable to print. The installation works fine with 64 bit window.  Please advice.

    Hello

    1. What is the error message you get when you try to print?
    2. what operating system is installed on your computer?

    If you use Windows 7, check if the Canon BJC-265SP is compatible with the operating system on the Compatibility Web site (your device is however not listed).

    I suggest that you run the utility troubleshooting printer and check if that helps.

    See also: solve printer problems.

  • hp5610: unable to print from the internet regardless of search engine

    I'm unable to print from the internet regardless of internet search engine. I ran the impression scanning hp doctor who shows no match port, I don't know what that means. What I've tried is; power off printer, internet modem and usb ports restarted, changed, cable and ethernet cable. This problem has been resolved before by switching engines, this has no effect now. Help

    Mikev

    Welcome to the community of HP @mikiev,

    I read your current and previous posts about how you can't print from the internet, and I wanted to answer you with my suggestions. I understand that you have tried to use different however search engines, try to return to my colleague's response @RnRMusicMan on the link below and try to use another web browser altogether. Again, if you use Google Chrome, try Firefox or Internet Explorer.

    If Chrome and Firefox will not print, try printing from NotePad, which is a program that is preinstalled on your system to see if the draws work from there.

    You can also try uninstalling and reinstalling Google Chrome or Firefox, whatever one you use often, to see if that helps the printing problem.

    Let me know what is happening and we can go from there!

    Good luck

  • I get an error message, "unable to print Test page. You want to discover the convenience of printing support? Cannot create a file when that file already exists"while trying to print.

    Hello

    I could connect network printer and also to view its properties, but when I try to print it shows error.

    Example: when I try to print a test page using the network printer, error

    "Test page cannot print. You want to discover the convenience of printing support? Cannot create a file when that file already exists ".

    I already try to remove the printer and installed again, again, has not worked for me. Someone has an idea for this?

    Concerning

    Original title: unable to print using network printer

    Hi chungb,

    Thank you for keeping us posted.

    I would have you post your query in the Forums of Windows Server , as it is addressed to an audience of it professionals.

    Check out the link-

    http://social.technet.Microsoft.com/forums/en-us/winserverprint/threads

    We know if you need help.

  • HP settlement 8710, 8720, 8730, 8740: HP Officejet Pro 8720, 8710 unable to print/scan/setup or connect via ethernet and wireless

    Hello

    I'm unable to print/scan/setup.  I can't connect without wireless or ethernet, both wireless and ethernet connection are turn off... what should I do?

    Hello

    Try these:

    1. on the printer Panel, drag to the bottom of the drop-down list and select the Configuration icon.

    2. on the Configuration tab, select 'tools '.

    3. choose "Restore Factory Default.

    4. you will see a message appears asking if you are sure you want to restore the default settings.

    5. tap Yes. A message appears indicating that the default printer have been restored.

    6. press the home button () to return to the main screen.

    7 run the "Wireless Setup Wizard" from Control Panel if you need of a wireless connection.

  • HP envy 5640: unable to print from Word or Excel 2010

    After you have installed Windows 10, I am unable to print from my desktop applications.  If I print to a PDF file first then I can print. I uninstalled all drivers and programs related to the printer and reinstalled.  I chequed firewall, and no solution.  any ideas out there?

    You may need to do a clean install of Windows 10.

Maybe you are looking for

  • 10 broken iOS Update-home button

    I just did the update ios10 and my home button has been broken for 2 years. His complete the update but its stuck on a white screen saying "press home to upgrade".» I am unable to do this command and I can't seem to restore on my back up to iTunes...

  • Download version 31.6

    updated 31.6 v 38, could not send emails. check the settings of firewall, checked the settings of mail server, everything was good.Restore to previous restore point (win 7) now only runs not Thunderbird. I need to download v31.6 and re - installWhere

  • Lack of files - Itunes added localhost prefix of music files

    I had all my music stored on my laptop Windows 10 at home and saved 2 portable drives separate (one in the other NTFS and ExFat format) to be doubly sure. I would like to use one of these return of records in conjunction with a smaller laptop Windows

  • Council of material with two screws to simultaneously access

    Hello I NI BNC-2090 tip that I use for an interface with a multimeter (which I get my data from) and an ion gauge (which must have the filament is currently regulated and kept constant). I have a VI that I've written that performs data acquisition an

  • Google Chrome OS recovery error

    Well, I downloaded the program of recovery of Chrome OS. I run two problems. That he will not recognize the USB. I tried several disks of different sizes and configurations. Second problem, if it DOES not recognize the drive, he gets to half way thro