Start - and connect SQL to the lowest level in the tree or the hierarchy
HelloIn a tree structure as shown below how can I get all the child (tree) level lowest records as a - E, H, G, and D.
A a B, C, D to level 2
B E and F at level 3, and C G at level 3
F a H level 4
A
| l | l | l
B C D
| l | l | l
E F G
| l
H
I have used start with and coonect by to give all levels of the tree as follows: -.
SELECT task_id, parent_task_id, top_task_id, level
OF pa_tasks
WHERE project =: p
START WITH parent_task_id IS NULL
CONNECT BY PRIOR task_id = parent_task_id
Thank you
Published by: user10648285 on October 17, 2011 23:42
Published by: user10648285 on October 17, 2011 23:42
Published by: user10648285 on October 17, 2011 23:42
Published by: user10648285 on October 17, 2011 23:43
Oracle a [url http://download.oracle.com/docs/cd/E11882_01/server.112/e26088/pseudocolumns001.htm#i1009313] nickname for hierarchical queries:
SELECT task_id,parent_task_id, top_task_id,level
FROM pa_tasks
WHERE project_id = :bind_variable
and connect_by_isleaf = 1
START WITH parent_task_id IS NULL
CONNECT BY PRIOR task_id = parent_task_id
Tags: Database
Similar Questions
-
my windows xp does not start and it only shows the arrow and a black screen in the Middle, what can I do to solve this problem.
Try to restart your machine and pressing F8 before the spash screen Windows appears. Choose the option "last last known good configuration".
If this fails, you can try to repair your installation of starting for the original CD-ROM for Windows XP installation and choosing the option 'Fix' when prompted.
-
Anyone know how to get your money back? My CC application does not start and I have tried the suggested workaround solutions listed above and they have not worked for me. I'm new to the CC Apps but use the versions installed for years. The amount of questions listed here in this forum, I have to ask the product is really stable?
Thank you. I've deleted and reinstalled. Seems to have solved the problem.
-
Tecra 8100 - does not start and no activity on the screen
Hello
My Tecra 8100 not start or take me to the BIOS Setup. It lights up, swirls the hard drive, but there is no activity on the display. The only way I can get something on the screen is turning with the F12 key when I get the 'ready for the update of the BIOS. Place the BIOS update diskette in the drive "... message. So I tried the traditional method of updating the BIOS, found on the Toshiba site, but nothing helped. The machine seems to read the disk (that contains the downloaded BIOS) but does nothing. It is just there for centuries, with the disk light.
The last two days I have trawled thro much views and even took the whole machine goes to check the connections loose, but I found no answer yet.
Can someone out there please help?
Thank you very much
Hello Rory
I did the BIOS to be updated several times, but I've never seen this message at startup upward. You did it the traditional method as described in the document which you will find under http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/faq.jsp?z=234&service=EU&from=faq_selection&CFID=B IOS & FID = TRO0000000b07?
-
SQLcl throws the Exception on start and stop operating within the scheduled task
I'm on Windows Server 2012 R2 runs a script TakeCommand (jpsoft.com) as a task scheduled using SQLcl - 4.2.0.15.177.0246.
The script is invoked, when the account (with administrative privileges) who runs the scheduled task is not connected to the machine.
The scenario is as follows:
- servers both windows ServerA and ServerB (virtual servers)
- ServerA has a SAN connected directly (as E drive)
- ServerB remotely accesses drive E on ServerA and maps in drive E (guest ServerB cmd > net use e: \\ServerA\e)
- the problem occurs on server b.
Corr 04/09/2015: the SAN is not the cause of the errors/exceptions - it's just that the user who runs the scheduled task is not logged on and therefore has no APPDATA
When SQLcl is called, the following lines are recorded... (italics: private information, "BOLD": SQLcl output not visible when the user connects while work is carried out at the request)
03/09/2015 12:16:41.979 to connect to the jdbc URL ... (this output is to the batch calling SQLcl - everything below is SQLcl or SQL script)
Sep 03, oracle.dbtools.raptor.console.MultiLineHistory load 2015 12:18:05
SEVERE: HIST-013 APPDATA is null
Sep 03, oracle.dbtools.raptor.newscriptrunner.commands.net.NetEntries load 2015 12:18:55
SEVERE: NET-013 APPDATA is null
Sep 03, 2015 12:18:55 oracle.dbtools.raptor.newscriptrunner.commands.net.NetEntries save
SEVERE: NET-013 APPDATA is null
03.09.2015 12:18:56: updated information on what will be done
0 lines merged.
0 lines merged.
03.09.2015 12:19:15: updated information on what will be done
0 lines merged.
Exception in thread "cleansing" java.lang.NullPointerException
in java.io.File. < init > (File.java:277)
at oracle.dbtools.raptor.newscriptrunner.commands.alias.Aliases.save(Aliases.java:132)
at oracle.dbtools.raptor.newscriptrunner.commands.alias.Aliases.save(Aliases.java:128)
to oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli$ 1.run(SqlCli.java:356)
In addition, that everything works fine... the script is executed as planned, as expected, the queued files are created...
So what I am doing wrong?
Best regards, Peter
Message geändert durch stueckl - information server added
Message geändert durch stueckl - information server deleted - it's a general problem
If we were talking about developer SQL itself rather than SQLcl, then the solution is simple... you can always force your user settings to a folder accessible in arbitrary writing using the ide.user.dir environment variable just add something like this line to the file sqldeveloper.conf to your installation:
AddVMOption - Dide.user.dir =
SQLcl, however, is hard-coded dependency on APPDATA in Windows (and user.home on Linux). May not be feasible in your case, but in some cases simple, APPDATA can be overridden in the script that launches the SQLcl and the NetEntries and xml SQL history files are read from / written to this file.
For example: value APPDATA = C:\Temp
-
Original title: error messages and the resolution.
My question is twofold. First of all, when I start my computer, I get a message that says "fixmHost.dll specified module could not be found. I tried to restore my computer, running Vista several times, but I still get the message.
The second question I have is when I tried to download a newer version of Itunes. This error is a bit more complicated. It reads "an error occurred during the installation of assembly Microsoft.VC80.CRT, version = 8.0.50727.4053, type = win32, public key token = architectures, processes or the 1fc8b3b9a1e28e3b ="x 86". See Help and Support. HRESULT: 0X8007054F. Someone else has experienced this problem and how they have solved this problem? Thank you very much.
Hi nani318,
DLL files allowing communication between files and devices, so that they obey orders. For example, a DLL under Windows Vista will enable communication between an executable file and a device, such as Microsoft Word and a printer.
Use the (SFC.exe) System File Checker tool to determine which file is missing and try to recover the missing file.
SFC scan
http://support.Microsoft.com/kb/929833And issues with Itunes, you can follow the steps below.
Step 1:
Download and install Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package ATL Security Update
Step 2:
(A) uninstall all software iTunes program and features.
Uninstall or change a program
http://Windows.Microsoft.com/en-us/Windows-Vista/uninstall-or-change-a-program
(B) if that does not completely remove iTunes, you can follow the steps mentioned in the article.
Remove and reinstall iTunes, QuickTime, and other software components for Windows Vista or Windows 7
http://support.Apple.com/kb/HT1923A similar question was considered in the Apple forums.
http://discussions.Apple.com/message.jspa?MessageID=10526839
Aziz Nadeem - Microsoft Support
[If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]
-
I played the game yesterday and system has suddenly stopped responding. so I turned off directly. Since then, my laptop is not start. not even in safe mode. I tried advanced recovery, refresh and reset. non of them work properly. they say unlocked hard dirve and not able to access the disk partition.
I have 3 partition in my system. and I have all the windows 8 installation of the dvd. and I did not restore the point system also. This is a brand new laptop. How do I fix this problem? looking forward to hear a good solutionSee the thread below for a possible solution.
-
Primavera P6 API - start and end dates of the activity in the secondary reference scenario
How to seek early and dates of activity in the secondary database or tertiary reference end? There are areas of activities and methods provided in planning extraction and primary base line project (active class getBaseline1StartDate(), getBaseline1FinishDate) but can't find any secondary data or tertiary basis even if we show them in details the activity in the Primavera. I use Primavera integration API version 8.2.
Use the BaselineProjectHelper class to get a list of all the base lines for a given project. Go through the list looking for basic lines you are interested in.
Once you have basic interest projects, pull a list of ongoing project activities.
Browse the list of activities tearing you start and end dates.
Call the method on each of you loadBaselineActivity of reference projects for the departure of the referenced activity and end dates.
For performance, seek assistance loadBaselineActivities to reduce database queries.
V/r,
Gene
-
Service starts and then stops during the SRM 5.1.1 install
My configuration is:- 5.1 ESXi
- vCenter 5.1 has running on a virtual machine
- Execution of SQL 2008R2 sparer vCenter VM
- Separate the VM for the execution of SRM
- Above config is replicated to the site of DR
- vCentres are not in Linked mode
- SSO separate databases for each site
When I installed SRM, it was wrong at the end and then gave the service could start message. Finally, after clicking try again several times, the installation is complete. However, the SRM service has stopped.
The service can be started, but it stops immediately without errors in the logs of Windows. The only hint of information that may be useful is in the SRM Setup log:
VMware: Srm::Installation:Utility:LaunchApplication: INFORMATION: executable completed. Result code = 1
VMware: Srm::Installation:VMUnregisterSrmService: ERROR: LaunchApplication() failed. Executable = D:\Program Files\VMware\VMware vCenter Site Recovery Manager\bin\vmware-dr.exe, parameters = u 'D:\Program VMware vCenter Site Recovery Manager\config\vmware-dr.xml', Code = 1
VMware: Srm::Installation:Utility:LaunchApplication: INFORMATION: launch executable. Command line = 'D:\Program VMware vCenter Site Recovery Manager\bin\vmware-dr.exe' - r 'D:\Program VMware vCenter Site Recovery Manager\config\vmware-dr.xml.
VMware: Srm::Installation:Utility:LaunchApplication: INFORMATION: waiting for the child process to complete
VMware: Srm::Installation: 'anonymous namespace': ReadFileCompleted: INFORMATION: asynchronous callback status: 109
VMware: Srm::Installation: 'anonymous namespace': ReadFileCompleted: INFORMATION: asynchronous callback status: 109
VMware: Srm::Installation:Utility:LaunchApplication: INFORMATION: child process stdout:
I tried to get the result code = 1 but without success. Certain sections of the KB speak the DSN system, but it is 32 bit and the connection test is successful.
I have the same problem in both the DC SRM and DR DC SRM Production.
Any ideas gratefully received!
Hello
You must create the 64-bit DSN for the SRM 5.1.
Michael.
-
I have a XP box that would only start in safe mode. I needed to repair windows, so I started updating reinstall option but to reboot it says it cannot run in safe mode then it tries to boot into normal mode but crashes - which is what I am tring to solve. Now I'm stuck because the computer is now making a loop and I'm stuck. There is no available recovery console, it shows just the installation restart then goes into the shot. If I try to launch safe mode, that it says cannot run update in safe mode then restarts in normal mode, which hangs then. I'm stuck. Boy the days where I wish I could just make the prompt C:\. Thank you.
You can connect your problematic hard drive to another PC to copy your important data, using a device such as:
http://www.Newegg.com/product/product.aspx?item=N82E16812161002
or
http://www.Newegg.com/product/product.aspx?item=N82E16812119244
I'm still not 100% convinced that you boot from the CD. Your Dell has the option of F12 to select a boot real-time device (as soon as you turn on the PC)? Also, remember that you have to "press any key to boot from the CD" when you see this screen! Of course, during a reboot, you start from the hard drive.
Even if you did everything by the book, a repair installation could easily 'loop' as you describe. But as long as your hardware is healthy, a clean install is done.
-
PS2015 slow to start and open files until the network disabled
Win7/64 - Dual Xeon Quad - NVidia Quadro FX
PS CC2015 worked OK until the last update. Now, it's incredibly slow to launch, slow to open files and when he finally opens a file, it just sits there for like 30 seconds before you can do anything.
Via the monitoring task manager says "PS does not ' during these periods of lag.
I scoured and tried many suggestions found here, nothing works, BUT if I disable the network connection, HEY PRESTO! PS immediately launches, immediately opens files and edits files immediately! EVERYTHING AS BEFORE!
What happens here? I suspect it is some kind of connection problem direct to CC to libraries in line or other things sharing online as I neither want nor need.
Is it possible to disable the connection to online features that do not require you?
I still don't have PS installed CC2014 and it still works as expected.
Please reset the Photoshop preferences. Press Alt, Ctrl, and shift keyswhile start Photoshop. A dialog box appears for you whether you want to delete the preferences/settings file. Select Yes
~ Assani
-
I just launch thunderbird and it crashes. I can't get an error report. I have not added any addons. and I uninstalled, reinstalled and redown loaded my gmail. and still the same.
It says "not answered" foreverHold the SHIFT key and start Thunderbird and hold it down until you are prompted to enter in safe mode.
What antivirus do you use? They have a propensity to crash Thunderbird.
-
Satellite A65 will not start and I get only the blue screen!
When I start my satellite A65 a blue screen comes up saying "a problem has been detected and windows has shut down to prevent damage to your computer.
It says to check if I have enough disk space or to disable or update the driver, if a pilot has been mentioned in the stop message... or to check the updates to the bios...
I can type everything that said if I need, but the jistThe world is - that sound familiar at all?
It may be because I was not updated enough when he told me to.
It does not start, not even on safe mode, and it won't let me not restore, which I would be perfectly willing to do at this point.help, please
JolyHello
The blue screen of death usually occurs because of the serious software problem or due to malfunction of the equipment.
In your case, it looks more like something wrong with the hardware. Why, because you're not able to restore the laptop from the recovery CD Toshiba delivered!Need buddy? I think that the laptop should be verified.
Try to contact an ASP in your country and ask for later handling.Good luck
-
Procedure for starting and long stop on the Satellite P200 - 10 c
I have a Satellite P200 - 10 c and I bought this laptop with pre-installed Vista Home Premium.
Everything works fine, but it takes a long time for the computer to boot. Same thing with shut down and restart.
Is this normal?* amaster *, it has nothing to do with the laptop - that's Vista. You would be to optimize your system.
1. disable UAC (run msconfig on Tools choose disable UAP, where getting the message "Command completed successfully" - restart)
2. turn off some visual effects: go to control panel / system / advanced system settings / Advanced tab / Performance settings / Visual effects (default tab) and disable the following list:
Animate controls and elements inside windows
Menu fade or slide into view
ToolTip fade or slide into view
Fading of items after clicking
Show shadows under menus
Show shadows under mouse pointer
Show translucent selection rectangle
Drag the open drop-down list boxes
Drag the task bar buttons
3. optimize virtual memory: first remove the existing file - control panel/system/advanced system settings/advanced/performance-settings/advanced/Virtual Memory-change... mark "No. Paging File." Reset. Then create the new paging file - Control Panel/System/advanced system settings/advanced/performance-settings/advanced/Virtual Memory-change... do fixed Page File with size equal to: amount of physical memory (RAM) + 1 GB. If you have two hard drives - best create the pagefile on no system disk. The min and max sizes of pagefile should be equal - not different.
4 turn off System Restore. (Start / computer/properties/Advanced Settings/System Protection.) If UAC will ask you confirmation - allow)
5. turn off the Hibernation (start programs/guest/in the context menu, choose "Run as Administrator" and in the command line write * powercfg OFF h *)
6. cut unused services (do not turn it off completely - do, then manually run)
7 edit the registry:
[HKEY_CURRENT_USER\Control Panel\Desktop]
MenuShowDelay = 0 (default 400)
AutoEndTasks = 1
HungAppTimeout = 1000
WaitToKillAppTimeout = 1000
LowLevelHooksTimeout = 1000[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control]
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control]
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro L]
In all three destinations: WaitToKillServiceTimeout and make 5000 (default 20000)[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\PriorityControl]
Win32PrioritySeparation = 6 (default value 2)And so on and so forth... Actually-, it is a never-ending story...
-
Satellite M Series needs a lot of time to start and connect
For the last few weeks I had some problems after that my computer would go to sleep, "black screen", or during startup, "black screen after the first screen of windows startup.
Now my computer will take an eternity to connect, then blocking up just after the display of the image of the desktop or never connect.
Is this a bad hard drive?
> What is a bad hard drive?
Not easy to say what exactly origin of this problem.Have you tried to reinstall the OS?
You must use the Toshiba Recovery CD to make sure if it's a hardware or software problem.Please pick up the phone and then make a report...
Good luck and greetings mate
Maybe you are looking for
-
Security for Windows XP Service Pack 3 (KB973540) update, downloaded, but it refuses to install - no error code given... I am running SP3... any suggestions
-
I just took a WRT610N and configure a few static routes for my network. I have the router connected to a cable modem WAN and the interface of local network connected to my LAN via 192.168.0.1. I have three other LAN subnets in a test environment, the
-
Cannot download file in Adobe. Every time I try to download image manager program appears
I try to download a presentation, but everytime I try instead of the program from adobe, or microsoft word, the photo manager program is open and I can not locate the Conference. I need to download and conpy the text, but I'm having a problem to do s
-
Dear all, hope you can advice me, I have the following problem/challenge: I have a 50 SG200 who has (max)? LAG 4 groups, 3 of the lag contain 4 network ports that are connected to server 1 Server 2012 lacp team of 4 gbit abreast of time it works fine
-
Dragon Naturally Speaking, I installed but it does not run what is wrong?
Dragon Naturally Speaking, I installed but it will not open or run what is wrong? [Moved - Windows 7, IE9]