Need to know the number of cursor

Hi gurus

I have the following code:

Code

declare

Start

I'm in (select 'x' of the double

Union of all the

Select 'y' in double

) loop

null;

end loop;

end;

Now I want to know the count/total no of rows in the cursor. How do I know?

Thanks in advance

Set serveroutput on

declare

Number of the CNT: = 0;

Start

I'm in (select 'x' of the double

Union of all the

Select 'y' in double

) loop

CNT: = cnt + 1;

end loop;

dbms_output.put_line (CNT);

end;

Tags: Database

Similar Questions

  • I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2.

    I need to know the file current date/time number stamp and the version of "spoolsv.exe" in Vista Home Premium 32-bit with SP2. My spooler file got corrupted and I need to know what that the stamp of date/time on the latest version of the file: spoolsv.exe. I did a search on my hard drive and found 8 copies of the file with 7 different dates. I need to know which copy in my file C:\windows\system32\. I suspect that the problem was caused by some kind of malware. I think that some of the different versions on my machine of the initial installation of the Vista, SP1 and SP2. 3 copies that would explain. I tried all the suggestions in this forum and several others. I tried sfc/scannow and it simply replaces the corrupted file by another. I understand how works this file and a simple copy will do the trick if I knew that the file to use. I know that I don't want to go back to the first version of 2006.  BTW... my symptoms are all my printers have disappeared, and when I try to 'add a new printer' I get an error message saying that my spooler service does not work. When I opened my services window it shows that indeed, he is arrested, but I will not start because the description column contains only the code garbled machine indicating that the file is corrupted, or it may contain a virus. I had been using F-Prot until this virus got by and now I use AVG. I scanned my machine with several cleaning packages and it is is more infected, but I worry that from this corrupt file grow something. I know that the problem is not with my printers or drivers, because everyone on my home network can print on all of my printers. None of the people I know are on Vista 32 bit. They are all running System 7 or XP. I have XP, except that a few years ago I suffered from the "Syndrome of Pepsi" on my laptop and when I bought a new HP, it came with Vista.

    Version 6.0.6002.18294

    Day 17/08/2010

    Duration 14:11

    Duration may vary in different time zones.

  • Satellite P200-18Z - need to know the geometry of the disk

    I have a Satellite P200-18Z and I do an install of FreeBSD, and I need to know the geometry of the disk because my Installer crashes without obvious reason.
    In the FreeBSD installation wizard reported an error in the geometry of the disk.

    null

    Hello

    I put t know what disk HARD details you need, but as far as I know the laptop Satellite P200-18Z supports a 2.5 200 GB SATA HDD.
    _Further details are: _

    Height: 9.5 mm
    Disc rotation: 4200 RPM
    Buffer size: 8 MB
    Number of discs: 2
    Number of Heads: 4

    All that s what I found. It is perhaps useful

  • HP pavilion Dv6 problem of fan - want to know the number of spare part

    Hello

    I bought a HP Pavilion dv6t QE in December 2011. Just after the warranty expired in December 2012 its fan stopped working. Whenever I go mobile I get error this laptop fan does not work properly. I'm ready to get the fan/radiator changed, but I'm not able to find the spare on the HP website. Please let me know the number of replacement HP Fan & Heatsink heat for model below:
    Series: 2CE14903X3
    Product: QJ912AV
    Model - dv6t - b 6, 00

    You are the very welcome.

    OK, the specifications indicate that since you have AMD and Intel switchable graphics, you must have an Intel processor in your machine. The tool shows 1 GB (1024 MB) of video memory for discreet video of AMD HD 6490 M

    Based on the specifications of your screenshot, it's the Fan/Heatsink combo that you need.

    Only for model computers with an Intel processor and a graphics subsystem with 1024 MB memory discrete HP Part # 665308-001

  • I have Iphone with SER. DN number * RY9. I want to know the number of hardware device.

    I have an Iphone 6 with number of ser: DN * RY9. I want to know the number of hardware device. Is - this samsung or other?

    Thank you

    < personal information under the direction of the host >

    Please, do not post your serial number i public forum na.

    There is no way outside of disassembly of the iPhone to see what kind of CPU, there is a, nor is it important. Both processors are made to the exact same specifications and perform exactly the same.

  • How many people currently work at apple (by country, if possible), I write a business report and need to know the answer, thank you.

    How many people currently work at apple (by country, if possible), I write a business report and need to know the answer, thank you.

    Watch their deposits of the company. This community is to post technical questions.

    We are users like you. We are not Apple. If you wish to contact Apple use the link contact us at the bottom of this page.

  • 1000 HP NOTEBOOK PC: Hi Please help me too.i need to know the bios password for my hp.

    Please kindly help me. so I can use my hp in a good way. I need to know the password of bios of my RESUME... pls can anyone help me how can I remove it so I'm not paying expencve to solve this. my hp 1000 notebook pc running Linux ubuntu 13.10

    When you see the screen to the BIOS password key, press the BUTTON ENTER 3 times. You will not get an off code / system shutdown. This zip code here.

  • I need to add the number of words in my TextEdit. Suggestions?

    I need to add the number of words in my TextEdit. Suggestions?

    This can be useful:

    Number of words in TextEdit

  • How can I know the number of columns and lines on excel file

    How reading the number of columns and rows on an excel file after you open the file in excel with ActiveX.

    Using the example of excel200dem, I read that the file data is excellent.

    However, in this example, I just give the number of lines and columns.

    I want to know the number of lines and columns not giving those in C code automatically.

    Who knows this things? -?

    Help me please.

    Hello

    (1) this forum provides a search option, you must use in doing so, you will find this post

    (2) don't solve you your earlier questions? If so, you must mark responses that have helped you find a solution.

  • I have verticle colored lines - from the bottom to the 1/2 in screen - I can see through them to read - I need to know the WAY to delete these lines

    I mâtinées verticle lines - from the bottom to the 1/2 in screen - I can see through them to read - I need to know the WAY to delete these lines - I once, a few years ago, removed, but they reappear - not my conscious fault - this is my old computer - A Compac - Windows 95 as an operating system

    Hello

    You should check with Support of Compaq, their documentation online and drivers,
    and ask in their forums about known issues.

    Microsoft product support has ended for Windows 95 a decade ago.

    Compaq - support, drivers and documentation online
    http://www.Compaq.com/country/cpq_support.html

    Compaq (HP) - Forums
    http://h30434.www3.HP.com/PSG/|

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • Urgent need to know the weight of...

    I have urgent need to know the weight (KG) of the following power edge servers:

    750

    860

    1850

    1950

    2850

    2900

    2950

    6850

    I need the mass of base without additional options.

    If possible, I also need to know the weight of a (Non-Dell) RT 6000 Smart UPS, too.


  • Anyone know what is the price of Windows 7 Starter and Home Basic? I need to know the full version (not the cost of upgrade) price

    Anyone know what is the price of Windows 7 Starter and Home Basic? I need to know the price list of the full version (not the cost of upgrade)

    Windows 7 Starter is not available as a product of the retail. It only comes on new NetBook or Nettop computers.

    Windows 7 Home Basic Edition is only available in some markets, it will be difficult to find in the markets developed as the United States.

    Windows 7 price India

    Microsoft Store

    http://www.microsoftstore.co.in/Microsoft/38/ProductList/Windows.aspx

  • How to know the number of patch?

    Hi all

    EBS R12.2

    OL6.5

    I have patch adoption pending and forgotten who I want terminate to give way to another patch. But I don't know the patch number, how its patch number?

    Or how to cancel without knowing the number of patch?

    Current patch ID of Session: 13

    Name of node node Type Phase status started completed elapsed

    --------------- --------------- --------------- --------------- ------------------------------ ------------------------------ ------------

    Master EBSR12 PREPARE NOT APPLICABLE

    APPLY ASSETS 26 OCTOBER 15 03:32:28 + 08:00 NOVEMBER 6, 15 20:35:07 + 08:00 281:02:39

    FINALIZE NOT APPLICABLE

    COMMISSIONING DON'T IS NOT APPLICABLE

    CLEANING NOT STARTED

    Folder synchronization system used in this Patching Cycle: None

    Thank you very much

    JC

    Yes. It seems good.

    If in case of doubt, you can run the patching cycle empty i.e. adoption phase = prepare, finalize, commissioning, cleaning.

    Now that you're prepared is finished, you can try adoption phase = finalize, commissioning, cleaning.

    Kind regards

    Hugues

  • I need to know the process to implement encryption for Windows 8, on a HP Pavilion

    Original title:

    Encryption

    There is a choice in my control panel to set up encryption, but I have to go through the TPM module to be able to put in place, and my PC is not safe and has never been, I need to know the process to implement encryption for Windows 8, on a HP Pavilion

    Hello

    Protect your files with the encryption device
    http://Windows.Microsoft.com/en-us/Windows-8/using-device-encryption

    Protect your files using BitLocker Drive encryption
    http://Windows.Microsoft.com/en-us/Windows/protect-files-BitLocker-Drive-Encryption#1TC=Windows-8

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

  • How to install adobe on 2nd computer when we have a license but do not know the number?

    How to install adobe on 2nd computer when we have a license but do not know the number?

    You must have your serial number to install a version of the software that requires a serial number

    Lost information - response #1 in https://forums.adobe.com/thread/2008767 (for Mac or Windows programs)

    Find your http://helpx.adobe.com/x-productkb/global/find-serial-number.html serial No.

Maybe you are looking for

  • L750 PSK2YV satellite: System unhandled thread exception (athwbx.sys)

    I upgraded my laptop Toshiba L750-A-210 (short number: PSK2YV) for windows 8.1 pro of win 7.but now windows crashes on every restart and I can not log on the system, also I can not recover because I deleted the recovery partition in order to install

  • DeskJet 1050 J410: Deskjet 1050 J410 used to scan using Windows 10

    My all-in-one Deskjet 1050 J410 worked well on Windows 7. Yesterday, that I upgraded my Windows 10 laptop. The printer asked downloading new driver s/w, what I've done.  It prints very well now.  But it will not scan. I can access the printer assista

  • INSTALLATION OF PRINTER OFFICEJET 7310

    When the Installation reach time by which he shows INSTALLER of EXTRA SOFTWARE. the computer just at the point of DEATH. It completely stopped except the 1 kbit/s to 1 overnight, it has still to show overall progress-installation (step 3/4) I try to

  • Blue screen on my PC often

    Hi all I am experiencing blu screen on my laptop quite often (twice a week). Apparently, it happens by chance. ******************************************************************************************************************************** This is th

  • How you manage your signatures

    What you do with your signatures that are false positives and fire? Do you use event action filters or you turn off the signature? In some cases, I can see where it would be good to disable this signature. As if you have a DNS box which is patched an