Problem for  not exists

I have three select statements
1)(select rolename,StartDate from roleuser where roleuser in (select oprid from sysadm.psoprdefn where emplid = '00064764')
minus
select rolename,StartDate from roleuser where roleuser = 'IT_Manager')
2)select rolename,StartDate from roleuser where roleuser in (select oprid from sysadm.psoprdefn where emplid = '00064764')
and rolename not in ( select rolename from roleuser where roleuser = 'IT_Manager')
3)select rolename,StartDate from roleuser where roleuser in (select oprid from sysadm.psoprdefn where emplid = '00064764')
and not exists ( select rolename from roleuser where roleuser = 'IT_Manager')
the first and second return 3 rows (correct)
the not exists return 0 what is wrong

select rolename,StartDate from roleuser where roleuser in (select oprid from sysadm.psoprdefn where emplid = '00064764')
and not exists ( select rolename from roleuser where roleuser = 'IT_Manager')
Obviously it returns no rows found
not exists will excute based on true /false
not exists ( select rolename from roleuser where roleuser = 'IT_Manager') will be false based on your earlier results. and this is with "and" condition to query
there will be no rows found/

Similar Messages

  • Hi, since installing mountain lion on my macbook, it wont download pdf files from internet sites, the same problem does not exist on my mac mini, i am using firefox on both macs, please help!

    Hi, since installing mountain lion on my macbook, it wont download pdf files from internet sites, the same problem does not exist on my mac mini, i am using firefox on both macs, please help!

    Back up all data.
    Quit Safari. In the Finder, select Go ▹ Go to Folder... from the menu bar, or press the key combination shift-command-G. Copy the line of text below into the box that opens, and press return:
    /Library/Internet Plug-ins
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then launch Safari and test.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • TS1925 iPad IOS 7.0.2 and Mountain Lion 10.8.5 Calendar colors do not match between computer and device.  Problem did not exist until updated IOS arrived.  Colours change of their own free will despite being corrected on both iPAD and MacBook Pro.  Any an

    iPad IOS 7.0.2 and Mountain Lion 10.8.5 Calendar colors do not match between computer and device.  Problem did not exist until updated IOS arrived.  Colours change of their own free will despite being corrected on both iPAD and MacBook Pro.  Any answers?

    Please do not post the entire messages log as it takes up unnecessarily a lot of space.  It seems that there is a corrupt/nonfunctional file called
    [email protected]nt.plist
    Go to your hard drive, enter library, go into users, and go into launch agents and delete the thing above.  Empty the trash and restart.

  • Problems searching for not existing index entries

    Hi,
    we are creating a Java Fat Client Application with JDK 1.5.0_07 and compliance level 1.4. The GUI bases on the SWT libraries.
    The application ships with JavaHelp 2.0_02 (jh.jar).
    The helpset is dynamically merged.
    JavaHelp has problems e.g. during search for index entries, which does not exist. The JavaHelp Window does not react anymore. The rest of the application still works fine.
    Has someone encountered similar problems, found the reason and propably a solution?
    Thanks, Joerg.

    Hi Mikkel
    1) number attributes are only exposed in the complete search sample (search.jsp), not the others (usearch.jsp, tsearch.jsp, gsearch.jsp)
    2) Your understanding of the binary encoding is correct, except wk_queryexp package does not handle binary encoding. This is because that package
    is meant for 9.0.1 API, which only supports string attributes.
    In 9.0.2 and beyond, the encoding of number, date attributes is done in the query API layer in Java, using
    the Equals, GreaterThan, LessThan, Between query operators. Please take a look at search.jsp
    and see how they are used. The compile() method of the query operators will encode the values for you.
    Keep in mind that you should code your application to use the query API, as the encoding algorithm
    may change in the future.
    David

  • Replacement For Not Exists operator in oracle

    Hi Guys,
    I need a replacement for the statement " Where NOT EXISTS (SELECT 'X' FROM ADM_SC_SHIPPING_HEADER_FACT WHERE prod_obj = s.prod_obj AND sc_shipping_doc_num = s.sc_shipping_doc_num AND TO_NUMBER (transportation_status) > TO_NUMBER (s.transportation_status))".
    i am getting an error"literal doesnot match the formatting string" when this statement is included in my procedure.
    Please help me out..
    Thanks in advance.

    1007699 wrote:
    There is no problem with Transportation_status. It is a varchar and it's been converted to number using To_Number .There very likely IS a problem with transportation_status.
    It's supposed to be a number and you're trying to convert it to a number using to_number(), but the error message you're getting implies that there's a value in that column that isn't a valid number.
    If it's not that field, then there must be some othe implicit type conversion going on with one of the other columns in your subquery - 'cos that's what that error message means: "I'm trying to convert from one datatype to another, but it's not in the format I expect".
    Either fix your data to conform to the proper format, or explicitly specify a format that describes your data, or (best of all) use a proper and consistent datatype for your columns. If transportation_status is a number, why store it in a varchar2 column?

  • Problem with NOT EXISTS

    I have the following query:
    select *
    from aim01.t_pd_dntl_hdr a,
    aim01.t_pd_dntl_dtl b
    where a.sak_claim = b.sak_claim
    and a.num_icn in ('2003303027063', '2004306009619')
    and not exists (select 1
    from aim01.t_claim_error i
    where i.sak_claim = b.sak_claim
    and i.num_dtl = b.num_dtl
    and i.cde_stat_error = 'C'
    and i.cde_disp_status = 'D'
    and rownum = 1);
    For 2003303027063 the inner select is true so I understand that it should not be in the output of the whole query.
    Can anybody tell me why that would be happening?
    Thanks,
    Antonio

    Just in case you run into the same problemWe could heed your advice if your problem was syntax related. But your issue really only applies to you. What you did to fix your problem was throw a 3rd table and 3rd inner join into the mix. That reduced the total rows returned by the top-level query, and thus reduced the number of chances for EXISTS to return TRUE.
    I don't know why it makes a difference but it doesYou'll do yourself a favor by figuring it out. It will make you all the more proficient. Don't just accept the fact it works. Figure out why. We'd be glad to help, but without a knowledge of the actual data you're working with, there's not much we can do.

  • Orange mail software problem when using distribution lists : some lists cannot be used for writing e-mails. The problem does not exist when using Internet Explo

    When writing an e-mail directly on the Orange e-mail service (not on Thunderbird) I am facing the following problem : some distribution lists cannot be used to complete the adressees. The same lists can be used without difficulty if I use Internet Explorer instead of Firefox. The Orange hotline told me that probably my Firefox version was not updated. Unfortunately I checked that, and apparently the automatic updating works. I have also updated the plug ins, without any result.

    Please could you specify which webpage you mean ?
    The process with Orange is the following :
    - 1. click on "Write an e-mail" on the mail webpage
    - 2. click on "To" to reach the Contacts which opens a new window
    - 3. click on "Distribution lists"
    - 4. click on the selected list then click on "add". The list appears ot the box corresponding to the addresses .
    UNTIL THEN EVERYTHING WORKS WELL
    - 5. click on the button "validate", which closes the window previously opened and normally
    - 6. reloads the initial page with the complete list on the line "To". Instead of that I get the last e-mail address I previously used .
    Question : at which step of this process should I try your suggestions ? I tried when the initial page was reloaded with the wrong address, but it did not work to get back the rignt distribution list;
    Note that the whole process functions with OTHER Distribution lists. The only difference is that the problematic one has a larger number of adresses (62) however inferior to the maximum indicated by Orange (100).
    I also remind that there is no problem when using Internet Explorer instead of Firefox.
    Thanks for your help !

  • Facebook and Slacker no longer working with Firefox. Still work with Explorer. Until a week ago problem did not exist.

    I am for about one week not able to input information on Facebook. Also the Facebook page appears in a huge font. Regarding Slacker I do not see any available online radio stations. Until about a week ago everything worked fine. At present I can work with Internet Explorer, but at present can no longer work with Firefox.
    == URL of affected sites ==
    http://www.facebook.com; http //www.slacker.com
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C)

    Haven't tried facebook... But Slacker doesn't work for me either. Running 4.0b7pre on Ubuntu...
    Going to google it at some point, but slacker.com returns:
    VelocityViewServlet : Error processing the template
    Invocation of method 'init' in class com.rockit.webplayer.beans.BrowserDetect threw exception class java.lang.NumberFormatException : For input string: ""
    java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:468)
    at java.lang.Integer.parseInt(Integer.java:497)
    at com.rockit.webplayer.beans.browser.DetectFirefox.detect(Unknown Source)
    at com.rockit.webplayer.beans.BrowserDetect.doInit(Unknown Source)
    at com.rockit.webplayer.beans.BrowserDetect.init(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
    at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
    at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
    at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
    at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181)
    at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
    at org.apache.velocity.Template.merge(Template.java:256)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.performMerge(Unknown Source)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.mergeTemplate(Unknown Source)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(Unknown Source)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at com.rockit.util.servlet.StatsServletFilterAction.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

  • Problems for Note on

    i downloaded some source example code to run on my machine , but thecode is based on java virsion is 1.4, my machine is java 5.0, and when i compile the code, the Note on "unchecked or unsafe operation" Warnings comes out. i've try to add the type of arrayList and hashMaps(the main data structure the code used)as the author said in his book, but the notes warning still come out...help me please...

    Cross post:
    http://forum.java.sun.com/thread.jspa?threadID=788428&messageID=4480243#4480243

  • HT201335 I have problem for not see the airplay icon in my iPad 2 iOS 5.1

    Plz help me just I buy new apple tv and I have I pad2  I want  AirPlay I con in my iPad

    Are both on the same network? Check firewall, security software
    See
    http://support.apple.com/kb/TS4215?viewlocale=en_US&locale=en_US

  • Iphone is dead, gone  to insurance co. for replacement. They say because "Find My iPhone" is still active, they can't replace or try to fix it. problem is can't log in to de-activate it, cos email account does not exist anymore. How can I de-activate it?

    iphone is dead, gone  to insurance co. for replacement. They say because "Find My iPhone" is still active, they can't replace or try to fix it. problem is can't log in to de-activate it, cos email account does not exist anymore. How can I de-activate it?

    You never used your iPhone?
    You never logged into iTunes?
    Your AppleID & Password for iCloud&  iPhone should be the same AppleID &Password you used to log in here and post a message.
    -> Find your Apple ID

  • Problem in merge statement -ORA-27432 Step does not exist for chain

    Hi
    I m getting ORA-27432 Step does not exist for chain error in merge statement.Please explain the same.
    MERGE INTO fos.pe_td_hdr_sd B
    USING (
             SELECT ACTIVE, ADDUID, ADDUIDTIME,TDKEY         FROM pe.pe_td_hdr
              WHERE  (adduidtime like '20070104%' or edituidtime like '20070104%')
              AND NVL(legacy_td,'N')<>'Y'
              AND SUBSTR(adduidtime,1,4)='2007'
              AND AMENDMENT_NO=0)A ON ( B.TDKEY = A.TDKEY)
      WHEN MATCHED THEN
        UPDATE SET B.ACTIVE=A.ACTIVE,
    B.ADDUID=A.ADDUID,
            B.ADDUIDTIME=A.ADDUIDTIME
      WHEN NOT MATCHED THEN
                      INSERT
                              B.ACTIVE,
                              B.ADDUID,
                              B.ADDUIDTIME)
                        VALUES(
                              A.ACTIVE,
                              A.ADDUID,
                              A.ADDUIDTIME)This query is a short version of the main query.It is same but having 180 columns in original table.

    What version of Oracle are you using? This message does not appear in my 10.1 Error Messages document, but the other messages in that range seem to be about DBMS_SCHEDULER.
    Are you using scheduler somewhere around where you are getting the error message?
    John

  • I have an "old" Apple ID set up 13 years ago.  Apple has now gone to using email address as the apple ID.  I have apps to update and they ask for old ID.  it does not exist.  How can I get the ID on the app changed to the new apple ID

    I set up an apple id many years ago when itunes was established.  Within the past year or so, Apple has changed to using email address as user id.  My problem is that I have many applications that I can not update due to the fact that it is asking for the password of the old ID.  It does not exist anymore.  Any ideas on how to get the new apple id associated with the application without deleting the application.  Several of these apps I purchased.

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

  • My instant watch for netflixs is not working on my macbook pro. I just shows a black screen. I know that the problem is not Silverlight, so what other type of software or upgrades am I missing?

    Go figure both Apple support and Netflixs support "have never seen a problem quite like mine" the same day my free trial has ended. And no the, problem is not with my Netflixs account because they charged my debit card just fine. I'm trying to play instant movies on my netflixs account and every time I click on a movie or show it just shows up a black screen with no play controls. According to Netflixs I'm either missing a peice of software or I need to uninstall and reinstall a program or plug-in or something. At first they thought it was Microsoft Silverlight, but I've tried uninstalling and reinstalling that several times and nothing has changed, plus since I had no play controls as well the problem is definetly not Silverlight. So I was wondering what other types of software or plug-ins are needed to play Netflixs movies or if anyones else has had the same issue and knew how to fix it. And I know that it is a problem with my Macbook Pro, because my netflixs accout still works on my sister's computers. I've tried restarting my computer, restarting Firefox, signing out and back in on Netflixs, praying to God, clearing my cookies and chache, saying nice things to my laptop, yelling at my laptop, and pretty much everything under the sun. Nothing I do is fixing it. Please someone help me figure this out.

    MacBook Pro  / Mozilla Firefox / Netflix / Silverlight Update solved - DON'T DWNLOAD FROM NETFLIX
    I solved this problem tonight. I have a MacBook Pro with 10.5.8. I know, it's old. But I love my Netflix and I recently noticed that Firefox plays Netflix much better.  Then I suddenly got this message that I needed to download the latest Silverlight - it only takes 30 seconds! - WRONG.   However, after much searching, I finally did the steps in order and it worked.  
    This was after repeatedly downloading Silverlight from the Netflix site without success.  So here's what I did:
    1. Went to http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx
    2. Followed the directions. I felt like such an idiot for not doing it right before.
    3. Go to your hard drive and search for "Silverlight" to locate ANY existing Silverlight files: .dmg, etc.
        [also check your Libary/ Internet Plug-ins, but the above search is faster]
    4. Drag it all to the trash and empty it.
    5. Go back to the Get  Silverlight page and click on the Install on that page, not the Netflix site.
    6. Note the steps for Safari or Mozilla Firefox - I wanted Firefox, so I follwed those instructions.
    7. Once it's installed, close all the browsers and Restart that bad boy. Right away.
    8. Open a browser, go to Netflix and proceed to joyfully rot your brain with Netflix content. Yay!

  • Follow-up posting flow type Credit for 870 does not exist

    Hi SAP,
    I am having a problem when try to recalculate cash flow in FO38. System popup error Message no. 62179 (Follow-up posting flow type Credit for 870 does not exist). The error details is like this:
    Diagnosis
    You have changed the data in such a way that follow-up postings have resulted.
    No follow-up posting flow type has been defined for Credit for the flow type 870. A proposed flow type for flow type 3NCH has not been defined either.
    System Response
    Processing cannot be continued without the flow type.
    Procedure
    Contact your system administrator.
    Procedure for the system administrator
    Check and correct the settings for the reference flow type for follow-up postings in Customizing as required.
    Is there any setting in configuration Txn SPRO should i do? Will give points for those who help me out this problem.
    TQ
    Regards,
    Nazrul

    Hi Nazrul,
    yes, there are reference flow types missing for follow-up postings. Follow-up postings are created if condition amounts have been changed and that affects already posted items in the cash flow. In this case follow-up postings are generated. For the follow-up postings the system uses special flow types that have to be maintained in customizing.
    SPRO - Real Estate - Conditions, Flow Types, Account Determination - Maintain Flow Types - Assign Reference Flow Types
    Relevant relationship keys are:
    2     IS-RE: Follow-up postings due to condition incr.
    32     IS-RE: Follow-up posting due to condition reduct.
    You have to assign reference flow types for these relationship keys.
    This should help.
    Regards, Franz

Maybe you are looking for

  • What is the best way to manage graphic assets in Adobe?

    If anyone has some insight to how they go about managing icons and other image assets that are commonly used across multiple documents, please let me know. My thoughts thus far: 1. I would love to use symbols and symbol libraries, but this only appea

  • IPhone sync apps with multiple iTunes accounts

    I have a US iTunes account and a UK iTunes account because I am temporarily living in the UK. I am having a problem in which data associated with certain apps on my iPhone are periodically being deleted.  When I update apps, I am sometimes required t

  • The "View in iTunes" button doesn't work on Chrome

    When I'm looking at an iTunes Preview of an album on the iTunes web version (not the program) and I click "View in iTunes" so I can go buy the album or look at the artist's other stuff in the program, nothing happens. There's no message, iTunes doesn

  • How do i upload a photo from iPhoto to a website?

    How do I upload a photo from iphoto to a website?

  • Photo Booth effects disappeared

    Just got a new hard drive installed on my MacBook and passed it down to my sister. She launched Photo Booth and some of the effects I had before are missing. I'd never installed additional effects and the same OS is running. Where did they go and how