Impossible to get to work right tree

I have written a sql to create a tree but I am now getting the error:
ORA-20001: read_meta_data error: ORA-01436: CONNECT BY a loop in the user data

Here is my sql
select case when connect_by_isleaf = 1 then 0
            when level = 1             then 1
            else                           -1
       end as status, 
       level, 
       d as title, 
       null as icon, 
       r as value, 
       null as tooltip, 
       null as link 
from (select 'Employee: ' || SUB_NAME d, SUB_NUM r, TASK_NUM parent from SUBTASK
       union all
      select 'Taskss: ' || TASK_NAME d, TASK_NUM r, PROJ_NUM parent from TASK 
       union all
      select 'DPI Projects: ' || PROJ_NAME d, PROJ_NUM r, null parent from PROJECTS)
start with parent is null
connect by prior r = parent
order siblings by d
Any help would be wonderful.
Thank you

Published by: KySarge1981 on August 17, 2010 14:32

Published by: KySarge1981 on August 18, 2010 07:42

You can try the NOCYCLE statement:

select case when connect_by_isleaf = 1 then 0
            when level = 1             then 1
            else                           -1
       end as status,
       level,
       d as title,
       null as icon,
       r as value,
       null as tooltip,
       null as link
from (select 'Employee: ' || SUB_NAME d, SUB_NUM r, TASK_NUM parent from SUBTASK
       union all
      select 'Taskss: ' || TASK_NAME d, TASK_NUM r, PROJ_NUM parent from TASK
       union all
      select 'DPI Projects: ' || PROJ_NAME d, PROJ_NUM r, null parent from PROJECTS)
start with parent is null
connect by
 NOCYCLE
 prior r = parent
order siblings by d

But first you have to find whence this loop.

Kind regards
Lev

Tags: Database

Similar Questions

  • Impossible to get my work song go full screen. Worked well at the same time, and I click Ctrl

    I have windows 10 on a Lenovo laptop. I downloaded the images from the internet and using them as work for each song in iTunes. The use of ability "full screen" to work properly, but now it is (in gray), and I can't get the photos in full screen to come. The small images at the top still are appearing, but I no longer use (CTRL + left CK) to enlarge. Help, please.

    CTRL + click piece works here.

    Because you're running Vista what version of iTunes, you're running? You should be on 12.1.3.6.

    TT2

  • Impossible to get multimedia work center Audio/concentrateur USB 5.1

    Hello

    I wonder if someone could help save my sanity...

    I used a laptop Toshiba Tecra A8 now for awhile with no problems. This forum works with Windows XP. I love it, its great, all except for one thing.

    I REALLY miss my Creative 5.1 speakers for listening to music in my room box when you work from home.
    They're just sort of stand there on the window sill, who yearns to be used...

    So, I thought, he MUST be an external USB card 5.1 sound I could buy in order to allow these speakers to be operational once more. Imagine my surprise when I found out that Toshiba is such a thing!

    In my simple way, I thought it must be the best solution, for the purchase of an accessory of the same manufacturer as the machine itself.
    It would be child's play and I would once more tuned to the end superior quality and punching bass... EVIL!

    Now, I have installed and uninstalled the software 3 times.
    The thing works pretty as a USB hub extra, not perfect, no probs at all, but try to get a single note of music of the thing? Forget it!!!

    I can get sound from Laptop speakers when the usb cable is not connected in.

    Whenever I do connect the multimedia center (?) to the laptop I get the wizard 'new hardware found' come & I'm too simple to be able to simply say this shit where files that are now necessary can be.

    So I ask, for all your powers to solve this problem before I charge the laptop, the speakers, the multimedia (?) in the car and go to the Toshiba headquarters at Addlestone to demand satisfaction.

    Thank you very much for everything that you can do to help me hear sound on these speakers.

    Soulster

    Nice story, but I can't find your poster a single word on this device.
    Can you please tell us the model?

  • Impossible to get to work recovery disks

    I'm not 100% sure which series is my laptop, but I thought that it wouldn't really matter much since it should have the same type of system recovery.

    I have 2 recovery discs. The instructions are to insert disk 1 and on the power of the laptop to hold key "C" to "Toshiba" appears on the screen. I've done it 3 - 4 times and I'm not getting the Recover menu.

    All I want to do is restore my laptop to its factory settings.

    If anyone can help it would be greatly appreciated.

    -Hydranis

    Hello

    Are you sure you are using the right drive?
    Usually the old procedure of recovery supports two modes; standard and expert mode.

    But first you need to boot from the disk right.
    Maybe you should try first with the second drive if the first disk does not start the lining check it out.

    If you want to boot from the CD/DVD drive and press F12 key immediately after cell ahs been powered. Then you could choose the ODD of the start menu.
    The CD must be inserted and then the procedure should star upward!

  • Impossible to get apps working on Dev Alpha WebWorks

    I was not able to get any application WebWorks has been working successfully on my alpha dev device.

    I downloaded the bbjs.ui repo and you want to run a few samples. Therefore I replaced the WebWorks js with the last 1.0.1.17 file in the source for the project and made the index file to the new js file. Same thing as even the other sample applications, I tried.

    He goes to the grey start BlackBerry screen and is there, doing nothing.

    The construction is successful, but I have the following warnings:

    out: [WARNING] can't find the feature with id: blackberry.message.sms
    [WARNING]    Could not find the feature with id: blackberry.ui.menu
    out: [WARNING] can't find the feature with id: blackberry.system.event
    out: [WARNING] can't find the feature with id: blackberry.app.event

    Any ideas?

    Found the problem. Ripple has a bug long pending that deploys the bar Simulator instead of the bar of the unit regardless of whether the IP of the target is for a device or a simulator.

    See question on github: https://github.com/blackberry/Ripple-UI/issues/441

    Apparently be fixed soon. Disappointed but it was a problem open for more than 2 months.

    Until then, I'm exclusively command line to package and deploy.

  • Impossible to get WebVPN working on chassis VPN 3030

    This v4.1.7P chassis works perfectly for our installation of the client vpn Cisco, no problem. We have decided to extend its usefulness by turning on and configuring WebVPN.

    I did it on a router IOS, Cisco 1841, works very well, so I'm following the same basic procedure to activate it on our vpn 3030.

    But when trying to connect to the vpn 3030 to the public interface of an internet ISP, I even don't get a login window, error, same no nothing. Finally the browser times out and stops.

    I did all the usual steps to enable WebVPN, yet nothing seems to work. I can't admin the box fine internally via https, so I know that work self-signed certificates.

    Any ideas where the attack of this of?

    Thanks, Jeff

    Hi Jeff,

    Try to upgrade to 4.7.x

    This generation of OS is fully operational with WebVPN.

    Check http://cisco.com/en/US/products/hw/vpndevc/ps2284/products_configuration_example09186a008055641a.shtml

    You can ignore the Client SSL part and troubleshoot why didn't not now works for your environment.

    For a complete list of commands/options check:

    http://Cisco.com/en/us/products/HW/vpndevc/ps2284/products_configuration_guide_book09186a00801f1c6d.html

    Please rate if this helped.

    Kind regards

    Daniel

  • Impossible to get to work when exporting to PDF page transitions

    Hi all

    I tried to apply page transitions to a document that I realized. I tried to apply the two side of the cover and push passes to each Board in the booklet but when I export to PDF does not work with either, I've seen full screen in Acrobat Reader DC, DC Acrobat and Foxit reader with no joy. With this in mind, I think it might be something to do with how I export as much research, that I've done was referenced InDesign CS6 was so different from what I look at in InDesign CC. Can anyone advise me as to what I can hurt?

    Thanks in advance

    You use file > export > Adobe PDF (Interactive) the Page Transitions defined from Document?

  • Impossible to get Gallery working on the web server

    http://codadesign.NET/NewSite/design.html

    When you click the button on the design, the Gallery does not work. The thumbnails here, but when you click on it there is be a picture in full size at the top. Ideas?

    Your click audio file is not accessible.

    http://codadesign.NET/NewSite/sound/click.MP3

    It has not been uploaded to the web server or the file type is not allowed on the server.

  • Impossible to get "rdcmndGotoSlide" work in CP4, but this market on the CP3, why is this?

    Hello!

    We have this project where we do some tutorial for this CMS with Adobe Captivate. I develop a videoplayer personalized to control the Captivate SWF files. I tried to make these buttons that the user can use to jump forward and backward between slides. All the tutorials are made with CP4. I tried to put the code rdcmndGotoSlide for buttons but it doenst work. I had a few tutorials CP3 earlier and tried to fight them with my drive and it worked fine! The thing is that the tutorials are ready but done under CP4 and I can't open the files with CP3 so that I could publish them with it and try if it will help. It's really annoys me because we have 2 weeks left and after that the project should be completed.

    You're welcome; (o)

    Good to hear, it worked. Be sure to mark your post as answered the other to take advantage of the solution as well.

    / Michael

  • Impossible to get to work with HP Laserjet Pro CM1415fnw Airprint

    I recently bought the HP Laserjet Pro CM1415fnw and installed on my wireless network.  He appeared for updating the printer software, but none of my iPhones or iPad can find all printers on the network.  Help, please.

    The 1415, you download an application that runs on your computer and then installs the new firmware in the printer. You can find this program firmware here:

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

    I hope this helps.

  • Satellite U500-176: Impossible to get an HDMI output to work on television or monitor

    Hello

    I have a new Satellite U500-176 but impossible to get the HDMI to work on a TV or monitor.

    Usually, when the monitor is connected and I press Fn + F5 I get only the 1 option (LCD).
    Occasionally, the HDMI options work but when I select one it goes to the screen and runs successfully for a few seconds then automatically returns.

    Any ideas?

    See you soon,.
    Roy.

    Hello

    Hmm, what operating system are you using?
    Was - this operating system preinstalled by Toshiba?

    Please take a look in the BIOS. There should be HDMI settings. Please check if it is enabled.
    In addition, I would recommend checking the graphics card driver update.

    What version of BIOS you are using the most recent?

  • Impossible to get PRTSCR DEL + keys to work on the Satellite A100

    I have the Satellite A100 - 232 PSAA2E. Bought in Greece... If some of the keys have a second role - for Greek letters. Especially not a problem.

    However... I can't get led (top-right) to work and same (3buttons on the left led) the print. Is there a setting to change or is there another way to remove and print screen?

    Your ad is somewhat confusing. Satellite A100 is pretty old laptop so I do not understand how you have this problem now.

    Everything was ok in the past?

    As far as I know you can change the keyboard input language, but this has nothing to do with DEL or PRINT key features.

  • Impossible to get a substring of the current s URL page

    Hello

    I have a very strange problem with the URL returned by GSF. I seem to be impossible to get a substring of the URL - the String.substring (int, int) method does not appear to return the expected results. It seems that other methods of strings (such as the indexOf (String)) seem to be operating on the chain of substring returns a part, rather than on the chain saw when the url is printed in its entirety. The corresponding code is less to:

    -----
    AssetApiWraCoreFieldDao wraDao = new AssetApiWraCoreFieldDao (ics);
    String wrapperCurrPage = ics. GetProperty ("com.fatwire.gst.foundation.url.wrapathassembler.dispatcher", ServletRequest.properties ", true);

    WebReferenceableAsset wraCurrPage = wraDao.getWra (pageId);
    String theLongUrl = new String ((new WraUriBuilder (wraCurrPage, wrapperCurrPage)) .toURI (ics));

    This displays the correct URL (http://www.example.com/page)
    out.println ("FULLURL:" + theLongUrl.toString ());

    This displays the first 25 characters of a string of unknown characters (satellitescheme://SSURI/?)
    out.println ("substring:" + theLongUrl.toString () .substring (0.25));
    -----

    All help to work out what happening would be appreciated – as far as we can tell GSF (or maybe WCS) are originally String to behave in a non-standard way.

    Hi 950972,

    There is little of the magic that is you fool. Basically, if you change out.println () System.out.println () you will see TWO URLS begin with satellitescheme: / /. What is happening, this is the URL which are produced by the ISU Sites still are built with a satellitescheme://...#satellitefragment. Then, what is Server RHN Satellite will process the result and replace the strange chain with one that fits your URL assembler (and in this case, you use the GSF assembler).

    In your code of substring, you are breaking the special chain and are cutting the encoded URL. RHN Satellite Server does not see the prefix and the suffix combined, so it does not have to make the substitution.

    That's why Your ' e see what see Your ' e.

    A big question is however, why you try to process the URL generated by the API. I guess that sort of substitution will happen, but that should not be done. What you trying to do? I'm sure we can find the right way to achieve your goals.

    Kind regards
    Tony

  • TouchSmart iq816 hibernation / sleep not working right

    I had to have the hard drive replaced.  Everything works on my system, but the Hibernate / sleep doesn't really seem to be getting into the appropriate mode.  I think it is just turn off the monitor.  Ambient light remains on, the reader, in my view, is also staying.  I tried everything, changing consumption patterns.  Nothing is running that should not be running.  I checked the BIOS, but there is no power to change this setting.  And I think that's the problem.  I have only limited use of the bios.  Has anyone else had this problem with the sleep/hibernate?  How can I get this to work right again?  Thank you.

    Nevermind, I have restored the default BIOS settings and now it works again.

  • My screen suddenly upside down. How can I get that back right to the top?

    My screen suddenly upside down.  How can I get that back right to the top?

    High graphics most of range, the cards are equipped with display rotation built in and adjustable via display properties or via the display properties of the display icon in the Notification area (to the left of the system clock).  It is a nice feature if you want to read things more like a book on your laptop, etc.

    Some examples would be ATI, NVIDIA, Intel, Matrox, S3, XGI...  These adapters can be integrated into your system, and not always his own card.

    This phenomenon of rotation screen sometimes inadvertently some keystrokes (the cat walked on my keyboard).

    Pressing on the keys Ctrl-Alt top/arrow down arrow rotates screen 90 degrees at a time for some graphics (like NVIDIA) cards

    If this does not work, we will need to know your system brand and model and see if we can look at the rotating screen for you shortcut keys.

    Do, or do not. There is no test.

    I decided to implement the points for a new puppy instead of a pony!

Maybe you are looking for

  • Why I can't install java applet for Google Drive. Today, I have to use Google Chrome. I did everything according to your instructions for modules.

    I'm trying to download maps in GoogleDrive. In Firefox, I get the info that the java applet can not be installed. After installing GoogleChrome, it works perfectly.I did everything according to your instructions re. admitting Add-ons, etc.

  • With the help of laptop recovery

    I have a Pavilion laptop G7. It came with a recovery on the hard drive partition as well as instructions on how to create a recovery media. Just two questions: (1) other that using different steps, is there a difference between the use of the partiti

  • APS Shaker and amplifier work with SMU-1071

    Recently, we bought a shaker APS 113 and 125 APS amplifier for our new research project. We want to use NI-SMU-1071 controller system to control the shaker via amplifier. NEITHER SMU-1071 > APS-125 amplifier > APS 113 Shaker APS asked us to use Spekt

  • U2415 bad consistency

    I bought a few days ago, Dell U2415 monitor and I noticed a uneven backlighting problem. The lower right corner is brighter on a dark background, and the lower left corner seems to have a patch (as opacifying effect). I don't think it's normal to hav

  • I changed my password, but don't remember, now restore problems

    the other day, I changed my password and now I don't remember what I changed too. I spent 8 hours yesterday between google and try different passwords with no luck: () so I tried to do a system restore to restore what it was a few days ago because I