Do you have any procedure/function to get parent child relation ship logic?

I am in great need. I have developed one but its has many cursor. Actually to get final leaf node, I have to keep on using cursor until last leaf found.
Note: CONNECT BY PRIOR not to be used with this requirement. So need to create procedure/function only.

Note the name of this forum is "SQL Developer *(Not for general SQL/PLSQL questions)*", so only for issues with the SQL Developer tool. Please post these questions under the dedicated SQL And PL/SQL forum (you've posted there before).
Additionally, this seems to be a duplicate of your other thread at How to get Number of NESTED CHILD on this requirement? please use the same thread instead of duplicating.
Regards,
K.

Similar Messages

  • Within redbox I can not click on a movie and get information about it, instead I get an error message that says that the situation may be temporary. yet i keep having the same problem. Do you have any idea how to fix the problem?

    Within redbox I can not click on a movie and get information about it, instead I get an error message that says that the situation may be temporary. yet i keep having the same problem. Do you have any idea how to fix the problem?

    Did you delete all receipts with iDVD in the file name  with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder before installing the new copy?  If not then do so and delete the new application also.
    Click to view full size
    Then install iPhoto from the disk it came on originally and apply all necessary updaters: Apple - Support - Downloads
    OT

  • I'm getting kernel panics each day as I shut down, the message of restarting by holding down the power button appears on the screen - it began about a month ago and. Do you have any ideas of how to solve the problem?

    I'm getting kernel panics each day as I shut down, the message of restarting by holding down the power button appears on the screen - it began about a month ago and. Do you have any ideas of how to solve the problem? I've copied the logs that I found for each kernel panic that still have the message logged. Please help if you can, I have read some of the other comments and perhaps it has something to do with my anti-virus software being on at start up. I have copied the log here. Any advice will be welcome.
    Interval Since Last Panic Report:  665204 sec
    Panics Since Last Report:          8
    Anonymous UUID: D6DCC90D-A5CA-4BBE-A435-3E64A512A51B
    Sat May 26 07:23:05 2012
    panic(cpu 3 caller 0xffffff80002b4f36): trying to interlock destroyed mutex (0xffffff801a489be0)
    Backtrace (CPU 3), Frame : Return Address
    0xffffff8160313b00 : 0xffffff8000220792
    0xffffff8160313b80 : 0xffffff80002b4f36
    0xffffff8160313b90 : 0xffffff8000227e68
    0xffffff8160313bd0 : 0xffffff7f80d14250
    0xffffff8160313c20 : 0xffffff7f80d14f73
    0xffffff8160313cc0 : 0xffffff800059a237
    0xffffff8160313d00 : 0xffffff8000586cbf
    0xffffff8160313d20 : 0xffffff800057e6e3
    0xffffff8160313df0 : 0xffffff800057ed06
    0xffffff8160313e20 : 0xffffff8000583c52
    0xffffff8160313e70 : 0xffffff8000583d05
    0xffffff8160313e90 : 0xffffff80005358b4
    0xffffff8160313ef0 : 0xffffff80005367c3
    0xffffff8160313f30 : 0xffffff8000536897
    0xffffff8160313f60 : 0xffffff80005ccfe8
    0xffffff8160313fb0 : 0xffffff80002da5e9
          Kernel Extensions in backtrace:
    com.intego.iokit.VBX6NKE(1.0)[211D5E46-3E43-C5DC-9C6A-8C3FFF0F4493]@0xffffff7f8 0d11000->0xffffff7f80d1bfff
    dependency: com.apple.iokit.IONetworkingFamily(2.1)[2FCC16E1-34AB-3908-98BD-CCBFA56FFDCE]@0 xffffff7f809b7000
    BSD process name corresponding to current thread: iStatLocalDaemon
    Mac OS version:
    11E53
    Kernel version:
    Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64
    Kernel UUID: A8ED611D-FB0F-3729-8392-E7A32C5E7D74
    System model name: iMac11,2 (Mac-F2238AC8)
    System uptime in nanoseconds: 69777074610
    last loaded kext at 58265763561: com.intego.iokit.VBX6NKE            1 (addr 0xffffff7f80d11000, size 45056)
    loaded kexts:
    com.intego.iokit.VBX6NKE            1
    com.intego.iokit.BehavioralKext            1
    com.intego.kext.VirusBarrier.AppBarrierKPI            10.6.8
    com.intego.kext.VirusBarrierKPI            10.6.8
    com.globaldelight.driver.BoomDevice            1.1
    com.huawei.driver.HuaweiDataCardACMData            4.2
    Model: iMac11,2, BootROM IM112.0057.B01, 2 processors, Intel Core i3, 3.2 GHz, 12 GB, SMC 1.64f5
    Graphics: ATI Radeon HD 5670, ATI Radeon HD 5670, PCIe, 512 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x802C, 0x31364A53463531323634485A2D3147344431
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x802C, 0x31364A53463531323634485A2D3147344431
    Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
    Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.64.8-P2P
    Bluetooth: Version 4.0.5f11, 2 service, 18 devices, 1 incoming serial ports
    Serial ATA Device: ST31000528AS, 1 TB
    Serial ATA Device: OPTIARC DVD RW AD-5680H
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: USB2.0 Hub, 0x05e3  (Genesys Logic, Inc.), 0x0606, 0xfa140000 / 5
    USB Device: USB2.0 Hub, 0x05e3  (Genesys Logic, Inc.), 0x0606, 0xfa141000 / 9
    USB Device: Apple Optical USB Mouse, apple_vendor_id, 0x0304, 0xfa141100 / 8
    USB Device: CanoScan, 0x04a9  (Canon Inc.), 0x1904, 0xfa141200 / 6
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 7
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfa120000 / 3
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: HUAWEI Mobile, 0x12d1  (Huawei Technologies Co., Ltd.), 0x1001, 0xfd130000 / 5
    USB Device: My Passport 070A, 0x1058  (Western Digital Technologies, Inc.), 0x070a, 0xfd140000 / 6
    USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0xfd110000 / 4
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3

    Immediate suspects are the additions you added to you rsystem that installed kexts (drivers).  From above,
    com.intego.iokit.VBX6NKE            1
    com.intego.iokit.BehavioralKext            1
    com.intego.kext.VirusBarrier.AppBarrierKPI            10.6.8
    com.intego.kext.VirusBarrierKPI            10.6.8
    com.globaldelight.driver.BoomDevice            1.1
    com.huawei.driver.HuaweiDataCardACMData            4.2
    Two experiments you can try.
    1.  Boot in safe mode and see if you can shut down normally.  All thise additions won't be running in safe mode so this test would indicate it is one of them causing the problem.
    2. Uninstall all the intego VirusBarrier stuff.  That's my first guess and the troublemaker.

  • I'm in Brazil and need to talk via e-mail or chat, with the USA App Store. It happens that I made a purchase and did not get because I live in Brazil and mistakenly bought the site of the USA. How do I? Do you have any e-mail the department in charge?

    I'm in Brazil and need to talk via e-mail or chat, with the USA App Store. It happens that I made a purchase and did not get because I live in Brazil and mistakenly bought the site of the USA. How do I? Do you have any e-mail the department in charge?

    I've tried, said they could not help and I should get in touch with the USA App Store. But the problem of getting in touch with the App Store USA is the only option I have on the phone, and my English is not very helpful. Therefore needed a complete address e-mail.

  • I have just got an iPad and I want the music to be transferred through my iPod touch using iCloud but I didn't get the music from iTunes so I don't think it will let me do it. Do you have any tips that could help me?

    I have just got an iPad and I want the music to be transferred through my iPod touch using iCloud but I didn't get the music from iTunes so I don't think it will let me do it. Do you have any tips that could help me?

    Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad - either via the trashcan icon in the top right corner if viewing the photo in full screen, or via the icon of the box with the arrow coming out of it in thumbnail view.
    Photos that were synced from a computer are deleted by moving/removing/de-selecting them from where they were synced from and then re-syncing. If you want to remove them all then normally you could just sync an empty folder (in terms of photos) to the iPad, but as you don't want to sync at the moment you can't do that.
    You can reset the iPad back to factory settings and start from scratch with it : Settings > General > Reset > Erase All Content And Settings

  • I would like to get certified for the SAP Crystal Reports. So, I would like to get some info about the currently available Certification Exams for Crystal Reports (2011/2013). Also, would greatly appreciate  if you have any suggestions for thi

    Hi,
            I would like to get certified for the SAP Crystal Reports. So, I would like to get some info about the currently available Certification Exams for Crystal Reports (2011/2013). Also, would greatly appreciate  if you have any suggestions for this Certification Exam preparation materials from another 3rd party or from SAP directly .  I would like to prepare or get trained well before taking the exam as I see it costs around $500.
    Thanks in advance for your help in this regard!
    Sincerely,
    J

    Please search here.. Training and Certification Shop for your desired certification or training. Don't forget to set your location.
    Please use some summarized title for your query.

  • Iam having trouble getting on Find my Friends.Do you have any suggestions

    I am unable to get on Find my friends even tho I have used it with no problems until now. Do you have any suggestions?

    Hello James,
    Thank you for the question.  I recommend reviewing the following article when you are not able to access Find My Friends:
    iCloud: Troubleshooting Find My Friends
    http://support.apple.com/kb/TS4008
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Hi, I like using Firefox more than I do IE, but I've been using IE lately because of all the pop-up pages I'm getting. Do you have any idea how I can stop thes

    Hi,
    I like using Firefox more than I do IE, but I've been using IE lately because of all the pop-up pages I'm getting. Do you have any idea how I can stop these pop-up tabs from happening?
    Thanks

    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • Trying to download 4.1, keep getting message to turn off firefox when it is already turned off, this is preventing download, present version is 4.0, do you have any suggestions?

    Trying to download 4.1,keep getting message to turn off firefox before I can proceed, when it is already turned off, this is preventing download. do you have any suggestions?

    Firefox 3.6.16 has a newer build and release date than Firefox 4.0 does.

  • Do you have any API to set document DPI.

    Do you have any API to set document DPI.(I want to set 96DPI)

    There is no API call to get or set a resolution of an object. The resulting
    resolution of a raster object depends on two things:
    - the number of pixels available in your raster object
    - the scaling factor applied to the object - which means the size the
    object is placed on on the PDF page)
    If you have a 300x300 pixel raster image, and you scale it so that it
    occupies 1x1" on a PDF page, you end up with a resolution of 300dpi. If you
    place it as a 10x10" object, you end up with a resolution of 30dpi. There
    are no API calls to get that effective resolution - you need to calculate
    it. Also, there is no functionality to change the resolution of a raster
    object: It's your responsibility to change the raster data, and then place
    the modified object on the page with a different scaling factor.
    Karl Heinz Kremer
    PDF Acrobatics Without a Net
    PDF Software Development, Training and More...
    [email protected]
    http://www.khkonsulting.com

  • I bought my iphone 5 in Houston Texas May 15 2013 IMEI Nr. 013428009645399.The problem is that in the Greece the country which I live the 4G is not working.If you have any solution for this problem pls. let me know.My email is philcoueth@yahoo.gr Thank yo

    I bought my iphone 5 in Houston on May 15 2013.
    IMEI 013428009645399.The problem I have is that in the country
    which I live GREECE the 4G is
    not working.Please if you have any solution for this
    problem let me know.My email is [email protected]
    Thanking you in advance
    Philip Couridis

    iPhones purchased in the US are NOT guaranteed to work with 4G bands outside of North America.
    For what crazy reason did you purchase an iPhone in the US if you live in Greece?  If your phone needs servicing, it will have to be brought back to the US.  You cannot get that phone serviced in Greece.

  • I'm a newbee, (Win Tech)  Would like to know what command it is for reaching the reinstall menu at boot-up. I do not meen cmd r menu wich just install OSX above the OS. I think I need a totally fresh installation. Do you have any clue?

    I'm a newbee, (Win Tech)  Would like to know what command it is for reaching the reinstall menu at boot-up.
    I do not meen cmd r menu wich just install OSX above the OS. I think I need a totally fresh installation.
    Do you have any clue? Have several issues on a new MacBookPro but it's propably "PEBKAC" made.. 
    Uffe

    It is Command+r or for the online internet system it is Command+option/Alt+r keys. Then you use Disk Utility to erase the macintosh partition, from the built in recovery hd, or you can repartition the drive as one partition from the online system.
    To actually get to the online internet system you have to hold that key combo down until you see a globe on the screen. Otherwise it will just boot from the built in recovery hd on the internal drive.

  • My MacBook Pro doesn't start; in safe mode shift CMD V the message "disk0s2: media is not present" is written on the screen repeatedly but the MacBook doesn't start.  Do you have any ideas of why this should be or what I should do to resolve this?

    My MacBook Pro doesn't start; in safe mode <shift CMD V> the message "disk0s2: media is not present" is written on the screen repeatedly but the MacBook doesn't start.  Do you have any ideas of why this should be or what I should do to resolve this?  Thanks  Eamonn

    Thanks for these suggestions: I have tried safe mode re-starts (both "verbose" and simple "shift" + power) to no avail.  I get the error message "disk0s2: media is not present".  Following this I inserted the installation disc and from there ran disc utility.  The "Verify Disk" indicated an error " invalid sibling link" which it could not repair.
    I also tried to completely re-format/erase the disk, but again got an error message "disk object invalid or unable to serialize".
    Any ideas of what could be causing this or the best solution?  I fear I am fast running out of options.

  • What is SQL Studio. Do you have any idea ?

    Hi
    Please review this URL.
    http://www.sapdb.org/7.4/sap_db_tools.htm
    - What is SQL Studio. Do you have any idea ?
    - I installed the same in my desktop ( Win XP). Unable to  establish the connection to the database using my application login/pwd.  Am I doing something wrong ?
    - Do I have to install any  other software for me to SQL Studio work. ?
    - Where do I go and get more help ?
    PS: I thought it is same like sqlplus but against SAP database, required application userid/pwd not the database login/pwd.
    thanks
    siva

    Look at OSS [Note 386714 - SQL studio + Database Manager GUI installation|https://service.sap.com/sap/support/notes/386714]
    Regards

  • I have lost my ipod 4 and stupidly turned the location off therefore I can't locate it, lost mode is on, I have played sounds but I really want to know if someone has taken it and turned it on to see the message.Please if you have any info to find my ipod

    If you have any information you can email me at********or answer here
    location is off
    can't track it
    played sounds
    lost mode is on
    not sure if someone took it
    not sure if it has been turned on and the message has been seen
    could they have erased it and gave it another name 
    can it be tracked another way
    is there a way so that i can get it back
    Please help me!!
    <Edited by Host>

    What To Do If Your iDevice Is Lost Or Stolen
    iPhone, iPod Touch, and iPad
    If you activated Find My Phone before it was lost or stolen, you can track it only if it is connected to the Internet by Wi-Fi or cellular. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. iCloud- Use Lost Mode
      6. What to do if your iOS device is lost or stolen
      7. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      8. Find My iPhone
      9. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

Maybe you are looking for

  • Not able to see the Service Desk Message in "Solution_Manager"

    Hi Gurus, Can anyone help me solving my problem, We are using Solution Manager 4.0, and want to implement service desk for our systems. I have configured the solution manager service desk and we are able to rise the message from satellite system to s

  • IPhone 5 Lag in application... please help!

    G'day all, At the start of the year i bought a new iphone 5 after my 4s was destroyed. and this problem has only happened in the past few weeks but whenever i load up the music application, it would take me a good few seconds to do anything! select a

  • Upgrading SSD's in my macbook pro retina

    I'm just wonding if its possible to upgrade from a 256gig SSD in my macbook pro retina to a larger SSD. I'm assuming you have to use a certain type of SSD. Anyone knoe what type and how ?

  • Unexpected exception while copying binary to target

    1st time i run linux app under SDK, it copy the .elf fine to the board, but when i try run the 2nd time it give me " Unexpected exception while copying binary to target" doesn't matter i reset/cycyle the power for the board.

  • Proforma Invoice In 2005B?

    Hi All! How to achieve having Proforma invoice in 2005B package? it is a must to hav in our client place. the down payment request is also not fulfilling our need for it is not having the frieght charges with the document. Can any one give a solution