NOT IN command not working

Hi,
I am trying to run this sql & it dosen't comes up with the right results:
select * from (
select distinct cost_center from GL_GL
where length (cost_center)=8
where cost_center NOT in (select cost_center from MAP_FLAG)
It is not liking the NOT IN command highlighted in black. Not sure what is wrong, please advise.
Tx

user4958421 wrote:
Hi,
I am trying to run this sql & it dosen't comes up with the right results:
select * from (
select distinct cost_center from GL_GL
where length (cost_center)=8
where cost_center NOT in (select cost_center from MAP_FLAG)
It is not liking the NOT IN command highlighted in black. Not sure what is wrong, please advise.
Tx& how do you expect to know exactly what constitutes "the right results"?
my car is not working.
tell me how to make my car go.
How do I ask a question on the forums?
https://forums.oracle.cotum/forums/thread.jspa?threadID=2174552#9360002
Handle:     user4958421
Status Level:     Explorer (65)
Registered:     May 28, 2009
Total Posts:     648
Total Questions:     296 (118 unresolved)
I extend to you my condolences since you rarely get your questions answered.

Similar Messages

  • Could not complete -- command, not enough memory(RAM)

    I usually have 16GB of RAM but because of some issues I must work with 4GB RAM for the moment.
    I recently installed Mavericks on my macbook pro, and also Photoshop CC, and never had any problems.
    But since I use the 4GB photoshop is giving me a hard time. When I try to open an image in photoshop it gives me an error that it cannot complete the command because I dont have enough RAM (There usually is about 700mb free, I can track it with memory clean) and after this error photoshop gives the error with every single thing I try to do, even go to preferences is not an option.
    This doesn't make any sense, since illustrator is working fine and everything else.
    I need photoshop to make a deadline in 4 days, so I appriciate every help.
    EDIT :
    FYI ; I also resetted my preferences, tried performance on 100% , on 10% and everything in between. + I tried to reïnstall Ps CC, nothing helped.

    http://forums.adobe.com/thread/370739?tstart=0
    http://forums.adobe.com/thread/370735?tstart=0

  • Receiving command not found after modifying .bash_profile in OEL 5.6 64 bits

    Hi guys,
    After the installation of Oracle Database 11gR2 on OEL 5.6, I added the following entries into the .bash_profile of the oracle user:
    # Oracle Settings
    TMP=/tmp; export TMP
    TMPDIR=$TMP; export TMPDIR
    ORACLE_HOSTNAME=ol5-112.localdomain; export ORACLE_HOSTNAME
    ORACLE_UNQNAME=DB11G; export ORACLE_UNQNAME
    ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1; export ORACLE_HOME
    ORACLE_SID=DB11G; export ORACLE_SID
    PATH=/usr/sbin:$PATH; export PATH
    PATH=$ORACLE_HOME/bin:$PATH; export PATH
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
    CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
    # I added my own values relative to my environment.
    But now, when I tried to login as the oracle user on my terminal, I received the following error:
    command not found
    command not found
    So I deleted all the entries I added to the .bash_profile file. But it didn't solve the problem. When I log in as oracle, I still receive the error:
    command not found
    command not found
    This is really weird. How can I do to solve this error?
    Thanks in advance
    Clamarion.

    The following command might show you where the problem is:
    bash -l -x
    See "man bash" for details.

  • My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    My iphone 4S only start whit cable plug in and then show battery very low (with red line end) then try to turn on but show searching in operator name command and not connecting and no work properly and when I plug out it turn off!!! what should I do?

    I'm afraid you'll have to get the phone serviced, dropping the phone must have damaged additional parts inside the phone.
    But Apple will not service the phone anymore, opening the phone and replacing the battery should only be done by authorized personal, not by users.
    You'll have to look for a 3rd party repair shop and see if they can fix this, sorry.

  • Alt ctrl c shortcut command not working in photoshop cc, it is opening Internet explorer (IE)

    In Photoshop CC 2014  Alt + Ctrl + C ( to open for canvas size dialog box ) command not working, it is opening Internet Explorer (IE)

    What version of windows are you using?
    See if the Internet Explorer shortcut has that keyboard shortcut assigned to it.

  • Shift commands not working in InDesign CC 2014

    All commands were working fine last week but opened up InDesign today and for some reason all the Shift-based commands are not working properly (i.e. automatically drawing 45 degree angles and proportionally resizing shapes). Working on a Macbook Pro 2012 running Yosemite 10.10.1

    That's almost always because of system or third party software that's stealing your keyboard shortcuts.
    Check System Preferences > Keyboard > Keyboard Shortcuts. Investigate third party software and browsers that may be operating at the same time.
    If necessary, set up a new user and launch InDesign in the new user to check the problem.

  • Bash commands not working after upgrade to Lion

    After upgrade, many BASH commands not working. For example, such a fundamental thing as "ls". 
    iMac20:bin a$ ls
    Launch of "ls" failed: the PowerPC architecture is no longer supported.
    What does it have to do with PowerPC? My computer is 2.66 GHz Inter Core Duo

    Linc,
    iMac20:~ a$ which ls
    /sw/bin/ls
    Also, I managed to look (using tcsh's ls-F command) into the contents of /usr/. Here's what I see there:
    [iMac20:/bin] a% ls-F
    [*          csh*        echo*       ksh*        mkdir*      rcp*        stty*       wait4path*
    bash*       date*       ed*         launchctl*  mv*         rm*         sync*       zsh*
    cat*        dd*         expr*       link*       pax*        rmdir*      tcsh*      
    chmod*      df*         hostname*   ln*         ps*         sh*         test*      
    cp*         domainname* kill*       ls*         pwd*        sleep*      unlink*    

  • Why is my BDC_CURSOR command not working to position the cursor?

    Why is my BDC_CURSOR command not working to position the cursor?  Here are the details regarding my issue.
    I am writing a BDC to mass delete routing material assignments using transaction CA02.  I am OK to navigate through the initial screen to go to the Header screen and from here I am OK to navigate to the Material Assignments screen.  But once here, I cannot get the BDC_CURSOR command to take me into the list.  Here are the commands I am using.  Please let me know what I may try differently.
    CA02 Material Assignment - Set position  <-- this resets list of materials to correct position
      PERFORM bdc_dynpro      USING 'SAPLCZDI'   '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'  'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'   '=ENT1'.
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'  c_position.
    CA02 Material Assignment - Delete
      PERFORM bdc_dynpro      USING 'SAPLCZDI'   '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'  'MAPL-MATNR(01)'.    <-- this is not working to set the cursor into the list
      PERFORM bdc_field       USING 'BDC_OKCODE'  '=LOE'.             " trash can
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'  c_position.
    CA02 Material Assignment - Green Check OK
      PERFORM bdc_dynpro      USING 'SAPLCZDI'   '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'  'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'   '=BACK'.            " check mark
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'  c_position.

    Thank you for your reply.
    I had used SM35 to record.  However, I was not aware of the "create program" feature.  I had commented out a section from my previous post which I have now added back (latest code below).  But it still did not resolve the issue.
    When I execute with dismode = 'N', I get back error message "No batch input data for screen SAPLCZDI 1010".
    When I execute with dismode = 'E' (only show dynpros when error), it stops at the material selection screen without placing my cursor in the list.  I can then MANUALLY click to set the cursor position in the list, MANUALLY click the trashcan, it then uses my BDC command to respond to the popup asking "Do you want to delete", still leaving me at the material selection screen.  I can then MANUALLY click the green check (or enter), then it continues with the BDC to go back to the previous screen, and saves.  But it still will not place my cursor in the material selection list (SAPLCZDI screen 1010).
    Here is code used.  It is the second section of code labeled "CA02 Material Assignment - Delete" that is not working.
    CA02 Material Assignment - Set position
    this code functions to position the desired material to first in screen list
      PERFORM bdc_dynpro      USING 'SAPLCZDI' '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=ENT1'.
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'
                                     c_position.
    CA02 Material Assignment - Delete
      PERFORM bdc_dynpro      USING 'SAPLCZDI' '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR' 
                                    'MAPL-MATNR(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=LOE'.             " trash can
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'
                                     c_position.
    Acknowledge Pop-Up Screen
      PERFORM bdc_dynpro      USING 'SAPLSPO1' '0100'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=YES'.
    CA02 Material Assignment - Green Check OK
      PERFORM bdc_dynpro      USING 'SAPLCZDI' '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=BACK'.            " check mark
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'
                                     c_position.

  • Java command not working - path problem ?

    Im not really new to Java, but rather new to Linux :=)
    Ive got NetBeans setup and working great on Redhat 7.2 and I can run Java apps from within the IDE...but not from a command line. I get "bash: java: command not found"
    This tells me something is amuk with my path, because obviously the bin folder is not on the path ???
    Help :=)

    also, ive got this in my .bashrc file
    #JDK Home varible
    JDK_HOME=/usr/java/j2sdk1.4.0_01

  • Mac Terminal Commands not working

    A few months ago, I discovered the awesome Terminal App on my Mac and came to know of its great uses. But since yesterday, when I enter any command into Terminal, I get this response:
    -bash: $: command not found
    while all the commands I enter worked before! How to solve this problem?

    You're entering a command that starts with '$' by itself. That's a syntax error. It's hardly possible to overstate the danger of using the shell if you don't have a basic understanding of it.

  • Odi os command not working with agentservice agent.

    dear all,
    odi os command not working with agentservice agent but with local agent it work fine.. and user is administrator.
    kindly solve it
    Regards
    Naseer

    Hi,
    you referred to oscommand, so are you executing a .bat fille? if yes, where exactly does the .bat file reside, local machine or on network share?
    Also, follow these couple of documents, they may be helpful to you.
    859215.1 and 424703.1
    Regards
    Srikanth

  • Crontab reboot command not working

    Crontab reboot command not working
    Greetings
    I am new at this so excuse any ignorant mistakes I might be making.
    I have a server (MM X.4.9) that I would like to restart every day in order to make sure no programmes are hanging etc. If a program is hanging is should force quit it. Using terminal I have entered the following command:
    sudo nano /etc/crontab
    Entered password
    Than I entered using tab between each sequence:
    15 13 1 1 * root reboot
    This was a test run and it did not reboot.
    Entering
    cat /etc/crontab
    I got:
    # The periodic and atrun jobs have moved to launchd jobs
    # See /System/Library/LaunchDaemons
    # minute hour mday month wday who command
    15 13 1 1 * root reboot
    What have I done wrong?
    Thanks

    Hehe, there you are experimenting with a "reboot" cron command and you are surprised it quit so fast. You are not going to find a "graceful" solution to shutdown dialogs.
    MSWord is a Java app, so it is especially important for the command to work that it doesn't get hung up on outer layers of the system. Especially stupid apps that use Java which is not well integrated. I believe Word has a 5 minute autosave, so you should be able to recover most of your document.
    This reboot command should be running around 2AM, when the average webserver has minimum traffic. If you feel the need to reboot during busier times of the day, I'd suggest you look at what's causing your applications to crash.

  • Java -Xmx command not working

    Hye
    I am using Eclipse Version: 3.1.2
    and JDK 5 . My Web project is giving my Java Heap Space error on heavy load.
    I know that -Xmx command will increase the heap size but the command is not working with eclipse
    can anyone tell me how to do it in Eclipse?
    by the way -Xmx command is working on command program but for only one program.
    And how can i Increase the heap space for all projects.?
    Thanks in Advance

    What exactly are you typing? Is it just
    java -Xms128m -Xmx256m?
    You do need to provide a class name, you know. You can't just type the above to have it change some global setting that applies to all future VM invocations. You'll have to either add the -Xms and -Xmx to the script that starts tomcat, or in whatever configuration file or options you're using for tomcat.
    It might be a properties file or something, or a .bat file, or if you're starting tomcat as a service, there might be a task bar tray thingy that lets you configure tomcat.

  • Velocity override command not working

    I am using ni pci-7334 stepper motion control board.
    flex_set_velocity_override command is not working in VB6. the selected axis gets killed?
    Please reply.
    Regards

    Hey Nandkumar,
    The velocity of a contoured move is not determined by the velocity parameter but by the distance between the position points in the contour array. Thus, in this case, the velocity parameter has no effect and flex_load_velocity_override() doesn't change the velocity of contoured moves. The velocity override command does work with straight line moves, arc moves, and other moves, just not with contouring moves, because the contour moves set their velocities in a different way. Please refer to the following discussion forum link Using velocity override in absolute contouring mode for more information on why this function doesn't work with contouring moves. Also, in this discussion forum there is somewhat of a work around.
    I hope this helps. Please let me know if you have any further questions on this. Thanks and have a great day.
    Regards,
    DJ
    Applications Engineer
    National Instruments

  • Illustrator Short Commands Not Working

    Hi Team,
    My illustrator CS6 short commands have stopped working.
    Any time I try to use any CMD + Key, illustrator will not react.
    This has been on going for a few months, I have tried resetting preferences but nothing has changed.
    If someone could please help.
    Thanks,
    Brandon

    Hi Jacob,
    I have tried resetting preferences and few other options.
    Anytime I press the CMD key the option at the bottom just changes from selection to direct selection, if that helps.
    Should I uninstall and reinstall illustrator?
    I no longer have my access key.
    Thanks,
    Brandon
    Date: Wed, 8 Jan 2014 15:39:58 -0800
    From: [email protected]
    To: [email protected]
    Subject: Illustrator Short Commands Not Working
        Re: Illustrator Short Commands Not Working
        created by Jacob Bugge in Illustrator - View the full discussion
    THS,
    You may try the following (you have tried/done some of them already) and see whether it helps (the following is a general list of things you may try when the issue is not in a specific file; 3) and 4) are specifically aimed at possibly corrupt preferences):
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press CtrlAltShift/CmdOptionShift during startup (easy but irreversible);
    4) Move the folder Other options (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
      http://www.adobe.com/support/contact/cscleanertool.html
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5994475#5994475
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5994475#5994475
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5994475#5994475. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Illustrator at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

Maybe you are looking for