prerequisite

Hi all

I use

Connected to Oracle Database 11g Express Edition Release 11.2.0.2.0

SELECT LPAD (' ',(LEVEL-1) * 2,' ') | ENAME ENAME

FROM EMP

START WITH MGR IS NULL

CONNECT BY PRIOR EMPNO = MGR

SELECT LPAD (' ',(LEVEL-1) * 2,' ') | ENAME ENAME

FROM EMP

START WITH MGR IS NULL

CONNECT BY MGR = EMPNO PRIOR

I want to know is both questions even

If it's the same as it is preferable to use

Thank you

Hello

2947022 wrote:

Hi all

I use

Connected to Oracle Database 11g Express Edition Release 11.2.0.2.0

SELECT LPAD (' ',(LEVEL-1) * 2,' ') | ENAME ENAME

FROM EMP

START WITH MGR IS NULL

CONNECT BY PRIOR EMPNO = MGR

SELECT LPAD (' ',(LEVEL-1) * 2,' ') | ENAME ENAME

FROM EMP

START WITH MGR IS NULL

CONNECT BY MGR = EMPNO PRIOR

I want to know is both questions even

If it's the same as it is preferable to use

Thank you

You're right; These queries are the same.  If one were to better use than the other, then they would be no different, not the same thing.  Since they are the same or one is better than the other.

If you (or other people who might have to maintain and debug the code) find an easier way to read and understand, then use that one.

If I think that people who are not very familiar with CONNECT BY reading my code, so I prefer to use BEFORE after comparison operator, like this

CONNECT BY PRIOR empno = mgr

Lest anyone think 'Se CONNECT BY BEFORE' is a unit.

With some operators, such as IS NULL or SIMILAR, you don't have the choice. the sense requires that BEFORE either before or after the comparison operator.

When there are several conditions in the CONNECT BY clause, I think it is easier to read and to understand if all the Priors are on the same side.  For example. in this common construction:

CONNECT BY LEVEL<= regexp_count="" (str,="">

AND pk PRIOR = pk

AND PRIOR SYS_GUID () IS NOT NULL

Given that the PRIOR must come before the comparison on the 3rd line operator, I find easier to understand if PREREQUISITE is before the comparison on the 2nd line operator, too.

Tags: Database

Similar Questions

  • Universal Clipboard does not - prerequisites

    Hello

    Problem:

    "I can't the universal Clipboard to work, even if I met all conditions prior and followed all the guides available at present".

    I have the following devices:

    • MacBook 12 "retina (Early 2015) with macOS Sierra, official release;
    • iPhone 6 Plus with iOS 10, official release.

    What follows is activated/enabled:

    • Bluetooth on both devices;
    • Wi - Fi on both devices.
    • Discount on both devices;
    • Same account iCloud on both devices.

    Things I've tried, with absolutely no results:

    • Copy and paste between the devices, both ways, but it does not (even after a few moments of waiting).
    • Deactivating Bluetooth on both devices and reactivation;
    • Disabling a Wi - Fi connection on both devices and reactivation;
    • Deactivation of discount on the two devices and reactivation;
    • ICloud on both devices and connection disconnect rear;
    • Restart both devices;
    • Reset NVRAM/SMC on Macbook;
    • Looking for updates (both are up to date).

    Details:

    "All other Sierra macOS / iOS 10 features work as expected." Transfer (and other characteristics of continuity - including mobile data sharing) works without any problem at all. It is only the universal Clipboard feature that does not work. I also ran a check of the system, Wi - Fi and Bluetooth chips are defective on these 2 devices. »

    There is no reason why the universal Clipboard feature does not work for me, as I have met all the prerequisites and done all the recommended troubleshooting steps.

    Can someone help me with a working solution?

    P.S.: go to the Apple Store or reinstallation of the OS is not what I call a working solution. It is only your time and solves nothing. The solution must be more practical, i.e. a file of damaged preferences or something like that).

    Problem solved.

    I reinstalled Mac OS Sierra and apparently it solved the problem.

    I don't know there was some preference and/or a file that has changed somewhere. It's a little extreme, but again, it is the only one who gave convincing results.

  • Implementation in measures only the runstate prerequisite

    I'm running a loop sequence.

    In postexpression of the current step, I want to put the preconditon for this step, so that it is not run in the next itteration.

    What I'm trying now changes the seq file: Runstate.Step.Precondition = "1 = 0"

    Is there a simple way to do this? What should I use Runstate.Sequence.Main.<> and need to know the ID of the step somehow?

    While trying to the solution proposed by ~ jiggawax ~ I undestood the root cause of my lack of solution. Built in properties as prerequisite are saved in the object of the seq.

    "The built-in properties of the sequences are marked to be shared at run time. Changes to the built-in properties in the copy of the execution of the sequence also change the initial sequence object in the file in the sequence. »

    So now, I created a Boolean CUSTOM property for each InnerSeqCall1 called ReRunStep (default = True) and used its value as a prerequisite

    1. assess the prerequisite (True by default)

    Prerequisite: RunState.Step.ReRunStep

    2. depending on the status of the step, I set ReRunStep to True or False

    Expression of the post: (Step.Result.Status! = 'Fail')? RunState.Step.ReRunStep = False: true

    This works because the value of the CUSTOM Step.ReRunStep property is not saved between executions.

  • best practices for the evaluation of prerequisite logic GOLD

    Greetings,

    I think TS is not the basic features for the decision-making process (imp) for execution. All recommendations are welcomed and appreciated. Please find below the script.

    I would like to perform some configuration steps (custom step types) to a signal generator based on the selected user 'Test '.

    To make it simple for the signal generator Let's say, we have the following steps:

    The Freq value | Define PWR lvl | Set the Modulation Type. Set the Modulation ON / OFF. Setting the output RF ON / OFF

    For the selected user Tests say that we have Test (0) | B test (1) | C (2) to test (Test A & C requires Modulation, B does not work)

    Here's my question:

    I can't get the Freq VALUE | The VALUE PWR lvl | Value RF Power on / off to run installation of prerequisite for the evaluation of logic GOLD. (i.e. residents.) TestSelected == 0 | 1. 2)

    Ditto for the Type of Modulation Set | The value of Modulation on / off (ie the inhabitants. TestSelected == 0 | 2)

    Thanks in advance for any help provided.

    Chazzzmd78

    people of the country. TestSelected == 0 | 1. 2 would be at the local level. TestSelected is 3.  You're doing a bitwise operation GOLD on numeric values, then the comparison.

    You need

    (the inhabitants. TestSelected == 0) | (the inhabitants. TestSelected == 1) | (the inhabitants. TestSelected is 3)

  • Prerequisites for reentrant SubVIs to run in parallel

    Hello!

    In my VI, two clones préallouées of a Subvi, I thought I would go in a separate thread of each. Just this sub - VI contains a reference to a double and it increments. The two clones ran in parallel, but not in separate threads. For comparison, I did a Subvi, which does not have a reference - these clones run each in own thread.

    I noticed this watching the CPU usage: in the first case, has been used as a single core in the second respectively two sons were used.

    (1) I wonder what are the prerequisites for a Subvi to run effectively not only in parallel, but in fact in separate threads?

    (2) is there a way to discover during compilation which (Tufts) parts of a VI run in parallel, and SubVIs get making their own thread of execution?

    For reference: the execution is slow. If I understand correctly, the GUI is running in its own thread, so no interfering only not with the SubVIs that multiply references. I think that there is also no locking a reference readings and writings to a reference should be very fast. Is this correct? If so, why is this slow running?

    Thanks for your replies

    Marco

    (The test computer has a Quad-Core with Hyperthreading, using LabVIEW 2012SP1)

    One thing I know is if you have any manipulation of the UI elements.

    In the case you use a reference to a UI element user and properbly using the property node to insert data.
    This limits LabVIEW for your sub vi of in the UI thread.

    If you have transferred the values on the queue to a vi that manages all the user interface controls, then only that vi will be in the UI thread.

    Who is?

  • Installing the card Point 2011 stops because the prerequisite programs moved. What should I do?

    Installing the card Point 2011 stops because the prerequisite programs moved.  What should I do?

    Hello

    Check with the help of MapPoint and in the MapPoint Forums.

    Highway, Streets & Trips, MapPoint - Forum
    http://social.Microsoft.com/forums/is/streetsandtrips/threads

    MapPoint - Support
    http://www.Microsoft.com/MapPoint/en-us/support.aspx

    Support for MapPoint, streets & trips and Highway
    http://support.Microsoft.com/ph/851

    I hope this helps.

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

  • KB2686509 fails to install, said lack of prerequisite useful and check the log file.

    I am running Windows XP on a Toshiba Satellite computer laptop, Intel PIII, 847 Mhz processor.  I installed SP3.

    Here are the contents of the log file:

    3,695: 17:49:52.498 27/01/2013 (local)
    3,695: c:\fb66e1fe6323f2b745bfc5d1\update\update.exe (version 6.3.13.0)
    3.755: DoInstallation: GetProcAddress (InitializeCustomizationDLL) returned: 0x7f
    3,775: hotfix started with following command line:
    3,775: in function GetReleaseSet, line 1211, RegOpenKeyEx failed with error 0x2
    3,775: in function GetReleaseSet, line 1240, RegOpenKeyEx failed with error 0x2
    3,805: CreateUserInterface: GetProcAddress for DefineInstallCustomUI failed: 0x7f
    3.946: return the value of IsMachineSafe = 0
    3.946: IsMachineSafe return 441092
    3.946: condition in Prereq.IsMachineSafe.Section failed with the fist
    3.946: Check condition for 1 line of prerequisite returned FALSE
    3.956: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102
    3.966: KB2686509 Setup has encountered an error: Setup cannot continue because one or more prerequisites required for the installation of KB2686509 failed. For more details, check the c:\windows\KB2686509.log log file
    3.996: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102
    3.996: Setup cannot continue because one or more prerequisites required for the installation of KB2686509 failed. For more details, check the c:\windows\KB2686509.log log file
    13.830: message displayed to the user: Setup cannot continue because one or more prerequisites required for the installation of KB2686509 failed. For more details, check the c:\windows\KB2686509.log log file
    13.830: user input: OK
    13.830: Update.exe extended error code = 0xf0f4
    13.830: Update.exe return code was masked to 0 x 643 for MSI custom action compliance.

    Here is the content of the faultykeyboard log file:

    kbdsp.kbd
    kbdsp.kbd
    kbdno.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    Kbdus.kbd
    kbdla.kbd
    Kbdus.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdla.kbd
    kbdycl.kbd

    Thanks for your help!

    I've seen this before. Check this.

    http://social.technet.Microsoft.com/wiki/contents/articles/10876.kb2686509-failure-due-to-upgrade-from-Windows-Me-or-98-to-Windows-XP.aspx

  • I can't install KB2686509 - sayss I'm missing prerequisites... help! ;-)

    . 891: 14/07/2012 20:03:44.359 (local)
    0,891: c:\030a468a4d0cb90b0fca142e\update\update.exe (version 6.3.13.0)
    0,907: DoInstallation: GetProcAddress (InitializeCustomizationDLL) returned: 0x7f
    0,907: hotfix started with following command line:
    0,922: in function GetReleaseSet, line 1240, RegQueryValueEx failed with error 0x2
    0,922: CreateUserInterface: GetProcAddress for DefineInstallCustomUI failed: 0x7f
    1,063: return the value of IsMachineSafe = 0
    1,063: IsMachineSafe return 506628
    1,063: Condition in Prereq.IsMachineSafe.Section failed with the fist
    1,063: Check condition for 1 line of prerequisite returned FALSE
    1,079: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102
    1,079: KB2686509 Installer encountered an error: Setup cannot continue because one or more prerequisites necessary for the installation of KB2686509 failed. For more details, check the c:\windows\KB2686509.log log file
    1,079: ReadStringFromInf: UpdSpGetLineText failed: 0xe0000102
    1,079: Setup cannot continue because one or more prerequisites required for the installation of KB2686509 failed. For more details, check the c:\windows\KB2686509.log log file
    8.391: message displayed to the user: Setup cannot continue because one or more prerequisites required for the installation of KB2686509 failed. For more details, check the c:\windows\KB2686509.log log file
    8.391: user input: OK
    8.391: Update.exe extended error code = 0xf0f4
    8.391: Update.exe return code was masked to 0 x 643 for MSI custom action compliance.

    Hello
     
    -What is the exact error message / full when you try to install updates?
    -You are aware of any changes made on the computer before this problem?
    -Do you see any information on the prerequisites?
     
    Method 1: Run the FIXIT from Microsoft from the link below and check if the problem persists.
    The problem with Microsoft Windows Update is not working
     
    Method 2: Perform the steps from the link below and check if the problem persists.
    Solve common installation issues in Windows Update, Microsoft Update and Windows Server Update Services
     
    Method 3: You can also try the steps from the link below and check if it helps.
    MS12-034: Description of the update of security for CVE-2012-0181 in Windows XP and Windows Server 2003: May 8, 2012
     
    Hope this information helps.
  • KB2686509 with 0x8007f0f4 and prerequisites required warning error code.

    I tried to load the kb2686509 and have gotten the 0x8007f0f4 error code and now a warning to the prerequisites are needed.

    See the RESPONSE of two 2 messages in this thread-online http://answers.microsoft.com/thread/0deeacb6-115c-419d-ac37-03ff8927b79c

    Tip: Start with Christian script execution.

  • Prerequisites for the IBM I access for Windows with Windows 8.1

    I have several new computers with Windows 8.1 who need access to an AS400 via I Access for Windows.  I know that before this, I have to install 2 conditions (vcredist_x86.exe and vcredist_x64.exe) before the installation of Access for Windows.  I didn't know of these 2 conditions on Windows 8.0 installation problems, but I'm having a problem installing on Windows 8.1. Are there new prerequisites for Windows 8.1 patches!

    I I've installed Access for Windows on another machine of 8.0 and then upgraded the operating system to 8.1 without problem.

    Your help would be greatly appreciated.

    Thank you.

    Alex

    Hi LXMC,

    I'm not familiar with Iaccess, but you have installed the latest service packs to the site:

    http://www-03.IBM.com/systems/power/software/i/access/windows_sp.html

  • Check prerequisites for the Installation of Oracle 11 g grid

    Hello friends,

    Could you please suggest if I have to install the following prerequisites? It will cause no problems in the future using the Oracle grid software.

    In the affirmative, please suggest how should I install the following prerequisite packages.

    Please find the below screenshot:

    stuck1.png

    Please help me out here, I would really appreciate it.

    Thank you

    RT

    For starters, cropping the image would be beneficial. Just see the one screen, not the entire desktop.

    Yes... you need these packages. They are prerequisites for a reason. If you choose to ignore them, then you have a bad installation.

    See you soon,.
    Brian

  • Monitoring infrastructure prerequisites document

    Could you please share the document of conditions monitoring Infrastructure prerequisites

    This is part of the CartridgeForInfrastructure_5.6.5_Guide.pdf, downloadable on https://support.quest.com/searchdocumentation.aspx?pr=268444554&pv=4294952045

  • prerequisites in c suite 12 SOA and BPM 12 c installation

    Hi friends I am new to oracle fusion and I am in need to install oracle SOA suite 12 c, and BPM costume 12 c, those who know how to install the tools of this please guide me to install it... and I need also the prerequisites to my machine to install these tools.

    my mail id: [email protected]

    Thank you and best regards,

    Kishore.

    Please refer to the documentation at: https://docs.oracle.com/middleware/1213/core/INSOA/installing.htm#INSOA369

  • Certification valid VCP6 VTC. What are the prerequisites to go for VCP6 CMA?

    Certification valid VCP6 VTC. What are the prerequisites to go for VCP6 CMA?

    If I wish to go for VCP6-CMA, do I go training and Certification, then drive to the VCP6 Foundation, if I am the owner of VCP6-VTC valid?

    TIA.

    Rgds.

    No, you ' don't. If you have a valid secure Channel, you can take any other examination VCP or VCAP without taking a training course. For more information, see: VCP6-CMA Certification

  • Oracle DB 11 g 2 controls prerequisites failed - Oracle Linux 6.5

    Hi all

    Once again stuck with questions during the installation of 11 GR 2 DB.

    1. Swap size - failed
      Details:
      Size of swap - it is a prerequisite to check if sufficient total swap space is available on the system.
      Expected value: 7.74 GB (8120228,0 KB)
      Real value: 7.7 GB (8077308,0 KB)

      My checks:
      # SH - 4.1 swapon s
      Size of the characters in filename used priority
      / dev/DM-1 partition 8077308 0-1
      SH - 4.1 # cat/proc/swaps
      Size of the characters in filename used priority
      / dev/DM-1 partition 8077308 0-1
      SH - 4.1 # cat/etc/fstab. grep swap
      / dev/map/vg_vssdbserver-lv_swap swap swap defaults 0 0

      I thought that 8 GB of swap space was enough, my system has 8gbRAM.

    As a general rule, swap space is usually configured to twice the RAM if you use 8 GB or less and equal to the amount of RAM if you have 16 GB or more. If you have 64 GB of RAM, however, it is useless to have 64 GB of swap space, because the loss of performance so you never need to swap space will be very bad.

    However, you probably want to configure your Oracle database to use the kernel Hugepages using EAMA instead of the AMM for optimal performance and efficient use of memory. Hugepages kernel, unlike the POSIX memory shared (/ dev/shm) used by the AMM will be pre-allocate memory to start the system upward and can not use swap space. Don't forget that the swap space is not a substitute for the lack of physical memory (RAM).

    On the Oracle database installation, there should be a button to ignore warnings or errors and continue the installation or if you feel more comfortable with it, to meet this control, simply create a temporary swap file to increase your swap space, which later can be removed when you no longer need. It is certainly much easier than to the resize your swap partition.

    For example:

    [root@vm213 ~] # lsb_release d

    Description: Oracle Linux Server version 6.5

    [root@vm213 ~] # swapon s

    Size of the characters in filename used priority

    / dev/DM-1 partition 2097148 0-1

    Create a pagefile of 1 GB in / Home

    [root@vm213 ~] # dd if = \u003d/dev/zero of / home/swapfile bs = 1024 count = 1048576

    1048576 + 0 records in

    1048576 + 0 records out

    1073741824 bytes (1.1 GB) copied, 4.32366 s, 248 MB/s

    [root@vm213 ~] # chmod 600/home/swapfile

    [root@vm213 ~] # ls-l/home/swapfile

    -rw-------. 1 root root 1073741824 28 May 03:07 / home/swapfile

    [root@vm213 ~] # home/mkswap/swapfile

    mkswap: / home/swapfile: caution: do not erase the sectors bootbits

    all over the disk. Use f to force.

    Implementation of version 1 of swapspace, size = 1048572 KiB

    no label, UUID = d26f4d5f-af46-4567-b836-0d5d0b1661cb

    [root@vm213 ~] # home/swapon/swapfile

    [root@vm213 ~] # swapon - a

    [root@vm213 ~] # swapon s

    Size of the characters in filename used priority

    / dev/DM-1 partition 2097148 0-1

    / home/file swapfile 1048572 0-2

    If you want to enable the pagefile at system startup:

    [root@vm213 ~] # cp/etc/fstab /etc/fstab.backup_'date + %N '

    [root@vm213 ~] # echo "/ home/swap file, swap swap defaults 0 0' > / etc/fstab"

Maybe you are looking for

  • How can I remove MIX. DJ

    In Firefox - I prefer the tube (I think) is MIX. DJ and I don't want. Chrome doesn't seem to be affected. Add/Remove Programs does not work-, it does not show here - I use 7, nor does it show as an add-on.The web is full of people with the same issue

  • OfficeJet K60: How can I make a real factory reset on an OfficeJet K60?

    How can I make a real factory reset on an OfficeJet K60? I chose the option of this name from the LCD, but I can still print to the event log with a list of numbers dialed and received, along the speed dial list. Not the kind of thing you'd expect to

  • Cannot find wireless networks - 'hardware radio switch off' on HP Pavilion dv6 Notebook PC

    The product name and number: HP Pavilion dv6 Notebook PC, product number: LZ802PA Operating system installed: Windows 7 Home Basic, 64-bit Error message: "Radio equipment extinguished." All changes to your system until the problem occurred: I was loo

  • Updated blackBerry Smartphones but a bit confused

    The wife decommissioned in phones, so I've updated. I went from the 8530 to the 9630. She is far from being technical, so when I did all the updates and others to the 9630... the operating system on the 9630 now resembles the OS on the 8530. Not that

  • can I add my current CS4 to a second computer?

    my old pc with windows 7 is dying a slow death... Can I add my current CS4 to my new computer which has Windows 8.1?