Question about CONNECT BY PRIOR

Hi,
I have a table (genealogy table.). I have child id, father id and mother id. I'm trying to built a request to be able to see the family tree : mother, father, grandfather, grandmother, etc.
I need some help about how to retrieve it with the CONNECT BY...
Thanks in advance!

Hi,
Gaétan Francoeur wrote:
I would like to retrieve : LILI, her parents and grandparents, and so on...
I put the names, but in real life it would be into another lookup table.
ID          NAME     FATHER_ID          FATHER_NAME          MOTHER_ID          MOTHER_NAME
05          LILI     20                    PAWZ               30                    RHIANNON
15          MAX          20                    PAWZ               40                    BEAUTY
20          PAWZ     50                    DEXTER               60                    FAY
60          FAY          NULL               NULL               NULL               NULLOne more time: post CREATE TABLE and INSERT statements for the data in your table (or tables), and post the results you want from that data (formatted, between \ tags).
Did you try what I posted in my first message?SELECT     *
FROM     genealogy
START WITH     name     = 'LILI'
CONNECT BY     id     IN ( PRIOR father_id
               , PRIOR mother_id
I can't try it; I don't have a copy of the genealogy table yet.
This sounds like an interesting project, but I can't help you without a version of your table, even if it's very small, and I need to know exactly what you want to produce from that table.
Edited by: Frank Kulash on Jun 16, 2010 10:39 AM
Fixed typo                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • 2 questions about connection to hyper-v in windows 8

    hi,
    I can connect to my virtual machine from hyper-v manager  ,but when I try the other option
    --- connect with hyper-v virtual machine(option)  I see  on the log on wizard telling me that I don't have  the right to run this job.  take contact with the autorazition policy administrator.
    1---my question is here ,   is connect with hyper-v virtual machine  option   is  specially purposed to connect with  virtual server or it has some onother function!   because I opened the autorazation
    policy on my windows 8 to see if I can edit some policies but I didn't see any function to creat one only it is asking for archieve.
    2--connction trough remote desktop to VM is only purposed from ouside or you can use it  to connect to VM internally too? very short answers wil be enough.
    thanks
    johan
    h.david

    thanks
    ,but wat about connect to hyper-v  virtual machine option in start menu(which is one of  hyper-v manage  programa's option  and  the second is shyper-v manager), why I can not connect through this option
     it gives  me Always an error with  that I don't have the right to run this  conect option through its log on  window and I have to contact my system administrator of autorization policy?
    is this option (connect) outside the hyper-v manager is purposed for the server or I have to change some policies on my computer to can log on to virtual machine from ouside the hyper-v manager with this second option
    johan
    h.david

  • Basic questions about connection sharing and radio mode

    I just got TC and have a couple of basic questions.
    At home I have a D-Link ADSL modem/router (no wifi) plugged into the wall, and would like TC to provide wifi. I've connected the WAN port to some LAN port of the router and everything works fine. The intented usage of the setup is wifi-only. Would you recommend TC to do DHCP/NAT? Or is Bridge mode better? In the latter case I don't fully understand who's routing the wifi network (though it actually works).
    Second question is about radio mode. My wife has an iBook G4 that is not capable of talking 801.11n, so I selected the n mode compatible with b/g. In that mode my black MacBook will still be able to talk 801.11n with TC? The iBook has very low usage, it is fine that computer uses 801.11g for TC, but I'd like the MacBook to go full-speed. (If that's not possible I'd ponder purchasing an 801.11n adaptor of some sort for the iBook.)

    Would you recommend TC to do DHCP/NAT? Or is Bridge mode better?
    It doesn't matter.
    In the latter case I don't fully understand who's routing the wifi network (though it actually works).
    The D-Link modem/router.
    In that mode my black MacBook will still be able to talk 801.11n with TC?
    Yes. It will only suffer lower bandwidth if the iBook G4 is actively connected.

  • Question about connection between cache engine and cat6k

    Dear sir,
    Here is the problem description, please give me some help, thank you so much:
    catalyst 6509 is enable for wccp v2.CE 7320 also enable the wccp v2.Wccp service 91 is configured on 6509.Service-munber 91 and port-list 1(with port number 8080) are also configured on CE 7320.Wccp communicates well about service number 91.
    but browsing web page with port number 8080 gets always failed.
    1.6509 wccp configuration:
    ip wccp web-cache redirect-list 30
    ip wccp 91
    interface Vlan10
    ip address 211.162.224.2 255.255.255.240
    ip wccp web-cache redirect out
    ip wccp 91 redirect out
    2.ce7320 wccp configuration:
    wccp router-list 1 211.161.1.49
    wccp port-list 1 8080
    wccp web-cache router-list-num 1
    wccp service-number 91 router-list-num 1 port-list-num 1 application cache
    wccp version 2
    3.show info. from 6509 and ce 7320:
    gwbn7320#sh wccp content-engines
    Content Engine List for Service: Web Cache
    IP address = 211.161.1.50
    Routers seeing this Content Engine(1)
    211.162.224.2
    Content Engine List for Service: WCCPv2 Service 91
    IP address = 211.161.1.50
    Routers seeing this Content Engine(1)
    211.162.224.2
    gwbn7320#sh statistics http savings
    Statistics - Savings
    Requests Bytes
    Total: 90685 460066803
    Hits: 936 162710
    Miss: 89749 459904093
    Savings: 1.0 % 0.0 %
    6509-left#sh ip wccp
    Global WCCP information:
    Router information:
    Router Identifier: 211.162.224.2
    Protocol Version: 2.0
    Service Identifier: web-cache
    Number of Cache Engines: 1
    Number of routers: 1
    Total Packets Redirected: 2525
    Redirect access-list: 30
    Total Packets Denied Redirect: 0
    Total Packets Unassigned: 146
    Group access-list: -none-
    Total Messages Denied to Group: 0
    Total Authentication failures: 0
    Service Identifier: 91
    Number of Cache Engines: 1
    Number of routers: 1
    Total Packets Redirected: 0
    Redirect access-list: -none-
    Total Packets Denied Redirect: 0
    Total Packets Unassigned: 0
    Group access-list: -none-
    Total Messages Denied to Group: 0
    Total Authentication failures: 0
    Regards,
    Sha

    Gilles,
    Thank you!
    Here is the result:
    6509-left#sh ip wccp 91 detail
    WCCP Cache-Engine information:
    IP Address: 211.161.1.50
    Protocol Version: 2.0
    State: Usable
    Redirection: GRE
    Initial Hash Info: 00000000000000000000000000000000
    00000000000000000000000000000000
    Assigned Hash Info: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
    Hash Allotment: 256 (100.00%)
    Packets Redirected: 180
    Connect Time: 00:07:06
    Regards,
    Sha

  • Need help.. Question about connectivity of PS2 with Creative A2ZS Video Edit

    Hi everyone, i have question regarding creative A2ZS video editor.. please forgive me for my innocent question since im new here..
    I own a Play Station 2.. can this video editor allow me to connect my PS2 and show the display on the monitor so that i can play my PS2 game on the monitor? it's like functioning like a VGA box.. thanks!Message Edited by nicholas_23 on 05-9-200709:46 AM

    If you hook the standard analog video outputs of the PS2 (the ones that would go to the TV) into the Video Editor and get into the VidCap applet (free download from the Creative Website), drag the Preview window so its full screen, then you can use your laptop or desktop as a "TV".
    -Chrisi

  • Question about connecting to internet without using Wi-Fi

    This is a potentially dumb question, but I am a brand-new iPhone user and former Treo user, so I am used to a different set-up when it comes to connecting to my mobile carrier's data network. I can successfully connect my iPhone to my wireless (airport) network, but when I'm out on the street, I thought that the AT&T data network would pick up where the wireless left off. But, nothing happening. I'm used to the Treo having a VPN settings page. On my iPhone, there are no VPN configurations. I signed up for a data plan with AT&T, so I thought they would have configured the phone with the settings. Can anyone fill me in on some missing information? Thanks!

    I did some more digging for information last night and figured out how to get online when not connected to WiFi. Thanks! Problem solved.
    This page: http://www.apple.com/support/iphone/troubleshooting/calls/
    explained it all to me.

  • 2 questions about connection speeds

    Hello,
    First up: I've been using the same ISP for 3 years now, at the same apartment, and my top download speed has always been 1.5Mbps (roughly 185K/s). For some reason my top download speed "now" is precisely 150K/s, and it's been that way for the past week or so. (And this speed limit affects all my internet-aware apps.)
    Is it possible that I've set an OS-wide download limit without realizing it?
    Second question: I'm using MenuMeters to determine my connection speed. When using Transmission, a Bit Torrent app, I can also read it's total downloading speed. When MenuMeters tells me that my total download speed is 150K/s, Transmission tells me that it's only downloading at 135K/s.
    Trouble is that Transmission is the only app running. And indeed if I pause the downloads, MenuMeters indicates 0K/s (so there are no other internet-using apps running). Since I haven't found any report of speed errors on the Transmission forum, I don't understand this incoherence.
    Any ideas?
    Thanks
    Loa

    Hello,
    Tom: very close to what MenuMeters was telling. So I guess Transmissions has some bugs.
    But that doesn't solve my other problem: why isn't my top speed 185K/s anymore? Can this be on my side, or is it entirely up to my ISP?
    Thanks
    Loa

  • Questions about connecting second monitor to HP 610-1015xt TouchSmart AIO

    Hi,
    I have a HP 610-1015xt  touchsmart PC with AMD Radeon HD5570.  Now I've gone through all the similar questions on this forum and I still had a couple of my own or needed some more calarity on some.
    I've read time and again that one should use the second monitor in "clone" mode istead of "extended" mode because TouchSmart software is not compatilable with exteded mode. Now does that simply mean that my PC may show erratice behavior if I try to use touch features while in extended mode and second monitor connected?  Because if that's the only issue, I can live with it as I don't use touch features at all. Also, will dsiabling touch help in any way? 
    Is anyone here using a second monitor in extended mode on a touchsmart? Have you guys faced any issues? 
    Also, what I'm trying to find out is if things will run smooth if I connect a HP 32" Quad HD monitor with 2560 x 1440 resolution? I have found a adapater called Plugable USB 3.0 to HDMI adapter which supports 2560 x 1440, I'm just trying to figure out if my PC will be able to hadle it? If anyone has any knowledge on this, please do share.  Because if I can't get the full resolution, I will just settle for a full HD screen. 
    People, please do share your experinece or suggestions. Any help will be greatly appreciated.
    Thank you,
    Jay

    Jay, I own a notebook without touch but a monitor with touch. I use my monitor as extended monitor. The touch works fine on the extended monitor and works without touch on the notebook screen. I do not face any issues in using this way. Depending on my need, it switch my primary display to the extended touch monitor or notebook screen. Whether it is the primary display or not, when in extended mode, the touch works fine on my monitor.
    Regarding the other question on Quad monitors, my knowledge is limited. Sorry for not being able to answer that part of the question.
    I am an HP employee.
    Regards,
    Vidya
    Make it easier for other people to find solutions, by marking my answer “Accept as Solution” if it solves your problem.
    ***Click on "Thumbs up" button to the bottom right side of my post to say thanks!***

  • Hello and a question about connecting to SAP B1 c#

    Good morning I have been having a few issues trying to connect to a SAP B1 database via c#
    I have installed the SDK but find the documents to be a bit sparse.  Would anyone be able to point me towards a decent example or manual? Thanks.
    I basically need to know exactly how to format the data of an order so I can create a new sales order (via c#)
    Thanks very much
    edit: looking at some posts it seems my sdk is missing many samples it should have?  I downloaded it from the main site so I dont see how this is possible.
    The only sample folder I have is:
    C:\Program Files\SAP\SAP Business One Development Environment\Samples\UsingUDOGeneratedClassSample
    Edited by: snicholls on Mar 15, 2011 11:38 AM

    You seem to have downloaded the B1DE (Business One Development Environment) which is almost like a wrapper that has been created around the standard SDK to make some aspects of development easier.
    Personally, I do not use it but you will see there are many who do use it!
    Either way, the SDK samples and helpfile will come with the Business One SDK - this is included with any B1 installer or patch, in a subfolder called "Packages\SDK". The samples are extremely useful, and the helpfile although not the best is also a great resource.
    If you don't have a patch or installer, you can contact your SAP partner (or if you work for a partner can just ask your IT guy) and install it from there. I would not advise trying to start working the SDK without at least taking a look at the a few of the samples provided with the SDK.
    (PS the SDK will isntall to: C:\Program Files\SAP\SAP Business One SDK by default)

  • Question about connection to firebird database

    Hi I'm a new JDBC programmer. I picked firebird because the application I wanted to make needed a server-less database. The database was easy to set up (I'm using the classic version of firebird) with isql, and I am now trying to access it through the JDBC. Here is my code, I know the code may be crude looking (I am new to it).
            try
                Class.forName("org.firebirdsql.jdbc.FBDriver");
                Connection con = DriverManager.getConnection("jdbc:firebirdsql:localhost/3050:C:/test.gdb", "sysdba", "masterkey");
            catch(ClassNotFoundException e)
                System.out.println(e.getMessage());
            catch(SQLException e)
                System.out.println(e.getMessage());
            }With this code, I recieved the following exception...:
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:164)
         at DatabaseBoundary.hire(DatabaseBoundary.java:16)
         at DatabaseBoundary.<init>(DatabaseBoundary.java:9)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at bluej.runtime.ExecServer$3.run(ExecServer.java:808)I have the most updated version of the JDK, and I have the most updated version of firebird (as of March 24, 2008 9:48 PM EST). I don't know why I am getting the UnsupportedClassVersionError, all help would be greatly appreciated. :)

    well, apparently you do NOT have the correct version of the Java runtime set up as the one you're actually calling, as that's the only thing that can cause this error.
    Most likely there's fragments of an older installation left floating around the system in directories that are higher in the path than your JDK.
    Check for example your windows/system32 directory for java*.exe and if they're there, remove them.
    After that set up your system path correctly to point to your JAVA_HOME/bin (you should also define JAVA_HOME in your environment variables to point to the JDK installation directory).
    The Firebird driver I think is compiled against JDK 1.4, maybe 1.3, so the error is almost certainly caused by your own code being compiled against 1.6 and you're attempt to run it (unwittingly) against 1.5.

  • Question about connecting two monitors to Mid 2010 MBP

    I have a Mid 2010 MacBook Pro (running OS X, 10.6.8), and I want to connect it to two ASUS monitors (VS228H-P) that have HDMI, DVI, and VGA interfaces.
    1) Is this possible?
    2) What parts will I need to make the connection?
    3) Will I be able to close the lid without the MBP going to sleep?
    4) Any recommendations for an external mouse and clickety-clack keyboard? (My preference is for wireless, but I'm open to wired, too).
    If there are other recommendations for configuration (I'd like to spend less than $150/monitor. They won't be used for gaming, but for working from home and watching various media...)
    THANKS!!!

    Hi kishap8,
    Have you made changes in the display settings to make the PC use both monitors? It doesn't extend the screen on it's own.
    Here is an HP Support document on how to change display settings: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03366869&cc=us&dlc=en&lc=en&product=5309983
    And here are a couple videos (for Windows 7 that is very similar to Win 8) on how to work with multiple monitors:
    https://www.youtube.com/watch?v=Nj0RT8yVlUA
    https://www.youtube.com/watch?v=WDQCXOSJGM0
    ...an HP employee just trying to help where I can, but not speaking on behalf of HP.

  • Questions about connection from JDeveloper to BAM 11g TP4

    1. Is it possible to connect from JDeveloper 10.1.3.x to BAM 11g TP4? If yes, is the domain name obligatory for connection?
    2. Is it possible to connect from JDeveloper 11g TP4 (on remote machine) to BAM 11g TP4?
    Thank you for answers
    Edited by: Olga on May 8, 2009 10:46 AM

    Try the WebCenter forum:
    WebCenter Portal

  • Question about connecting to Oracle9i by OCI

    My sample code:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    String url = "jdbc:oracle:oci8:@clust3.cnnic.net.cn";
    conn = DriverManager.getConnection(url, "epp_formigrate", "cnnic");
    I can compile it successfully, but an exception was thrown when I run it:
    close exception:java.lang.NullPointerException
    Exception in thread "main" java.lang.NoSuchFieldError: OCIEnvHandle
    at oracle.jdbc.oci8.OCIDBAccess.make_c_state(Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:309)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:287)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:442)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:321)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at testOCI.main(testOCI.java:18)
    I think the LD_LIBRARY_PATH is correct, CLASSPATH is correct too.
    Who can give me some hints?
    Thanks

    The OCI8 driver requires the full Oracle client install on the computer that is executing your Java code, and a valid TNS entry that points to your database. Make sure that you can connect without any problems using SQL*Plus from the computer you are running your code on. This will verify that you have the client code setup and that you have the appropriate TNS entries available either though the TNS Names file or via your Names server.

  • Question about connectivity of bluetooth keyboard ...

    Hello All,
    I wanted to ask a few things regarding the bluetooth keyboard's connectivity with nokia 5320
    that will i be only limited to write through the keyboard in the sms etc ?
    or while browsing through my mobile or using ebuddy on my cellphone,i'll also be able to write through the keyboard there in ?

    That all depends on which tablet you are using. If it happens to be a windows 8 tablet that has a full USB port on it you can get a USB hub to share that port to multiple devices and plug everything in that way.
    If it is an android tablet however you may have to connect a the mouse and keyboard via bluetooth, and then the printer over wifi which should work on windows as well.
    If you let me know exactly what tablet and printer you have I might be able to find the best possible solution for those devices.
    Jon-W
    I work on behalf of HP
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    Click the KUDOS STAR on the left to say “Thanks” for helping!

  • A few questions about Connect Pro

    Hi. We're interested in implementing a solution for webinars where we do web instructional sessions (continuing education for adults). We have an instructor who wants to do a webinar with the following requirements:
    She wants to have a classroom of on-site participants but also be able to broadcast it for users across the web. How can this be done with Connect Pro? A webcam is stationary, so we'll need to have a camera that follows her around while she talks and stream that via Connect Pro somehow.
    She needs to share videos with the students. How good is the quality of video shared via Connect Pro?
    Do all participants need to have computer headsets to be able to talk to her? Or does the built-in microphones/speakers in computers create an echo problem?
    If she has two other people who will talk during the presentation, do each of them need to have a named license?
    Thank you for your help.

    I will happily share some experiences teaching Connect Live and through remote sessions:
    Teaching a mix can be a tricky balance. best to have someone managing the Q&A chats and fileding quesitons. There are some highend video conference cameras that automaticall track; it may be more cost effective having a live person track her movements through the room.
    The video shared may not be HD quality. The better the quality captured, the better they will see. Overall, the video I've experienced is on par with standard web videos. Better quality will require more bandwidth.
    Headsets are recommended. If they use the built-in mikes, then at the very LEAST they should use headphones to minimize the echo issue. If those speaking are in the room, they should definitely use headsets.
    No, they don't need a special license to speak. Microphone rights can be given to individual participants. Presenters automatically have those rights.
    Hope these answers help.
    John Gianopoulos
    Adobe Certified Instructor
    MetroStar Systems Technical Trainer

Maybe you are looking for

  • How can I copy a button to a panel?

    I am working on this project where I have 3 buttons that need to be dragged to a panel. I have created a new TransferHanndler that can support dropping to a panel. Now I have to figure out to actually copy an image of that button to the panel whereve

  • SFTP in Oracle EBS

    Hello All, I am trying for create a SFTP script in Oracle EBS. We need to sftp a file from oracle application hrms to Bank server. Bank is not sharing the public keys, However has provided with user/password. I have included below function in my shel

  • Loading flex in to a flash

    Hi, Can i load the output of flex in to a movieclip using as3, like swf loading in to a movieclip?  Can anybody help me? Thnks and regards, Sreelash

  • PDF Keeps Focus Till Closed

    Situation: I launch my site to a full window lacking any browser navigation. Let's call this window the "main window". I do this to control how the site is navigated. I use the javascript popup window code with no problems. I now need to do a link to

  • Module unload during reboot

    Hi, i have loaded my kernel module through modload cmd in Solaris 10, but when i m rebooting my machine then module is automatically unloaded from kernel , how i can solve this problem.