"NOT IN" REPLACE WITH "MINUS"

I have 2 questions for this SQL Statement for tuning?
select from a where id*_+
not in (select a_id from b)_+
1- How do i change this query with A MINUS OPERATOR
2- Shall i use USE_NL() Hint or another hint for this query?
Do you have an idea?
BR,

*(1)* If you want to use minus, you need two queries with exactly the same number of columns and the same datatypes.
Eg:
select a,b,c from tab_a
minus
select d,e,f from tab_bIn above example a must have the same datatype as d
and b must have the same datatype as e
and c must have the same datatype as f.
You could do the following to retrieve the ids in a that are not in b:
select id from a
minus
select a_id from bIf you want to retrieve all columns of a you could change it like this:
select * from a where id in
(select id from a
minus
select a_id from b)*(2)* I don't think that USE_NL hint will have any effect for this query, because there are no joins. But I'm not sure with this question.

Similar Messages

  • Can I get my Note 3 Replaced with a newer build or switch to a different phone and pay the difference?

    First off, let me say, I really love my Galaxy Note 3 -- it is an awesome Smartphone...  Unfortunately, I am one of the users of the problematic Note 3s...  I got the phone and it worked great for about the first week I had it (I got it outside of the area where I live)...  then  I got it home... I usually have a good 4G signal at home -- inside and out.
    My office is literally just on the other side of my college campus (less than a mile away)...  I go from a good 4G signal to no signal in my office, with the exception of about a  1 foot square section on my desk where I can get 1x, and occasionally 4G.  I worked with the support team on Twitter and was sent a new SIM card, and that seemed to help unfil a few weeks ago.
    Every other Verizon 4G phoen I have seen at my office almost always has at least 2 bars of 4G... If not 4G, then it will have a perfect 3G signal.  (To compare, I upgraded from the iPhone 4, which never had a problem getting a 3G signal anywhere)...  I would expect the Note 3 would at least keep some kind of a signal in an area where everybody's 3G signal is nearly perfect....   At the local walmart, I can barely get a signal outside, and you can forget it inside...  (Ironically, there's a verizon store at this shopping center as well... when I walk in the verizon store, my phone magically switches back to a decent 4G signal...)
    Ideally, I'd take new Note 3 that doesn't have this problem, or I could upgrade to the Note 3 Developers Edition that also doesn't have this issue.  I really love the Note 3 and would prefer to stay with the Note 3...
    How can I work with you guys to make this happen?
    Thanks!

    Hey Lyndsey & Ada,
    I appreciate yawl following up with me -- this is the first time I have actually been able to get signed into my community account in a while.
    I did managed to get some help out of the Twitter support team and they sent me another phone.  My second phone (the one I just received a couple of weeks ago now) definitely worked better for a few days and then went bad again.  I am beginning to wonder if the PRL needs to be updated...  Unfortunately, I do not remember what the original PRL was when I first turned the phone on.  But I know that it is on 15296 now.
    I am back to having to leave my phone sitting in one particular spot in my office where it has any kind of signal.  I go back to my original question -- since I have had so many problem with this phone, can I upgrade to the Note 3 Developers Edition and just pay the difference?
    Thanks!
    ~Brant

  • Isn't Adobe Color available for use with desktop applications??  It looks like Adobe Kuler has NOT been replaced with Adobe Color - It has been Deleted!

    It looks like the new Adobe Color is for iPad / iPhone only.  Why isn't it available for desktop use like Kuler? 
    Kuler server seems to have been turned off.  Why?  Kuler and colour themes were very useful. 

    Adobe Color CC

  • HT4191 Notes getting mixed up and or replaced with other users i-phone?

    For some reason whenever I sync my i-phone 4s and my wife syncs her i-phone 4 to itunes on our laptop which is a compaq(I don't know if that might be a problem) by the way, some of her notes always gets deleted and gets replaced with my notes, and she'll have just a couple of her notes but most of mine. It's been driving us crazy for months now cuz we can't figure it out! Do we need to sync our phones on different computers? Is there a setting that I'm missing? What are we doing wrong????

    Please let me know whether you experience the following issue, and submit feedback (or if you are an Apple Developer, a bug report). This issue is not related to synchronization.
    Title/Subject:
    Contacts 7.1 replaces one contact's Notes with another contact's Notes
    Summary:
    This issue's significance is severe because data is permanently lost: After searching for contacts and editing one of the contact's Notes, all found contacts' Notes are replaced with the changed contact's Notes.
    Steps to Reproduce:
    1. Launch the Contacts 7.1 app in OSX 10.8.2.
    2. Search for a string that appears in several contacts' Notes field.
    3. Click on one of the contacts in the search results.
    4. Ensure that "Edit Card" mode is NOT enabled.
    5. Alter the found string in the contact's Notes field.
    6. Click on a different contact in the search results list.
    Expected Results:
    The change is saved and the changed contact disappears from the search results list.
    Actual Results:
    All found contacts disappear from the search results list, and all found contacts' Notes are replaced with the changed contact's Notes.
    Regression:
    This issue did not exist in OSX 10.7's Address Book app. I have not had the opportunity to test earlier releases of OSX 10.8's Contacts app.
    Notes:
    Example:
    Suppose a search for "P1" finds three contacts:
      Name: Alan  |  Note: Ask permission. P1
      Name: Betsy  |  Note: Backup files. P1
      Name: Charles  |  Note: Call. P1
    While "Edit Card" mode is NOT enabled, in Alan's note, change "P1" to "P2". Then click on Betsy in the search results list. Betsy and Charles' Notes are erroneously and permanently replaced with Alan's Note:
      Name: Alan  |  Note: Ask permission. P2
      Name: Betsy  |  Note: Ask permission. P2
      Name: Charles  |  Note: Ask permission. P2

  • Trouble with "add note to replace text" annotation

    When I use "Add note to replace text" in Reader XI, the note acts as if it is locked even though it is not. The Locked box is not checked, but yet the options are grayed out; and I cannot delete the note, though I can edit the text box. "Strikethrough" and "Insert text at cursor" work fine.
    I am using the latest update of XI and have uninstalled and reinstalled it several times; I've also tried various older versions of XI. It happens with documents I've created or documents others have created; it happens on docs created from Word or those created from InDesign; it happens on docs downloaded several years ago as well as ones from the past month.
    I CAN delete these add-and-replace notes if I receive a file with them already put there by someone else--I just can't delete my own that I am adding right now. When I send the pdf to other people they have the same problem--in fact, someone told me that in her case ALL of my notes appear locked, not just the Add note to replace text one--yet when I send it to her, on my side, I have not locked any of them.
    Also, I do seem to be able to delete my own annotations I put on documents fairly recently--I have files from Sept 9 and Sept 17 that I can do this. But if I try to add notes to those same docs now, they act just like all the other ones--I cannot delete those particular notes and they appear locked.
    Help please!!

    You could write an html-text file that revers to the image file
    after that you could even convert this html-file to an rtfd file (which is a package after all) using textutil

  • After "Replace with clip" the original clip can not be deleted from the project - why?

    After using "replace with clip" to replace clip A in the timeline with a new clip B , clip A can not be deleted from the project anymore.
    If you try to delete clip A, you get a warning, that it still has references in one or more sequences.
    If you continue and delete clip A, it seems to be deleted - at first!
    Unfortunately if you save and reopen the project, clip A is restored to folder "Recovered clips".
    It's not possible to really delete it.
    I also did not find a way to unlink clip B from A .
    The only thing you can do, is to revert the change by "Restore Unrendered" in the clip context menu. But that's obviously not helping
    I dont know if this is a bug or a feature. I understand, that it can be useful to undo the "replace clip" function, but why would anyone not want to be able to delete the original clip at all?
    help how to fix this problem is greatly appreciated!
    I use Premiere Pro CC 2014.2 (Win7 64bit)

    I'm sure it has nothing to to with other sequences.
    You can easily reproduce this behaviour:
    1. create a new project
    2. import 2 clips and name them "A" and "B"
    3. put "A" in the timeline
    4. ALT-drag "B" over "A" in the timeline (or right-click "A" in the timeline while selecting "B" in the project files and select "replace with clip ... from bin")
    5. delete "A" from the project files
    6. save and close project
    7. reopen project
    => "A" reappears in "Recovered clips" and can not be deleted.

  • Not very happy with warranty replacement

    I am not trying to get something for nothing when I make the statement that I am not happy with the replacement touch that apple sent me for my almost out of warranty touch that completely stopped working. I am happy with the customer service, the easy return and very quick replacement. I am not completely happy with the touch that was sent to me. I can't say that is broken, it is just doggish and seems to have a really short battery life. It really seems slower then my previous touch and has seems to do odd things often, like I open a simple app (like the calendar)and it opens for a second and closes immediately or the response to touch is very slow at times. There is nothing really wrong with it but this is the 3rd own I have owned and it is by far slowest and least responsive. Does anyone have any opinion on if I have any recourse?
    Also, When I put in the serial # of this replacement, which I received on the 1st of this month, Apple website tells me that the warranty has expired. I know this to be wrong because of the paperwork enclosed with the replacement said thae warranty is 90 days or remaing period, whichever longer.

    Send it (or take it to an Apple store with all the relevant paperwork) and get another one.
    I bought 3 Touches in the middle of January for my kids and the youngest one's was similar; slow, bad battery life, wierd backlight glitch, apps crashing. Took it to the local retail store and they replaced it with no hassle. I didn't even have my receipt. It was a 4th gen so obviously was less than a year old.
    EDIT: I are a gud spellar

  • I was trying to set up my aunt's iphone 3gs with itunes but accidently backed up her phone with my phone information so now all her contacts, photos, and notes are all gone and replaced with my phone information. Is there anyway I can restore it back?

    I was trying to help my aunt set up her phone to itunes on my computer but when it asked me whether I wanted to set it as new device or use the backup from previous iphone data, I clicked restore from backup. I didn't realize that clicking that option would delete all of her information on the phone and relace it with mine. Her contacts, phones, notes, and all of her information are gone and replaced with mine just like my phone. Is there any way I can restore her phone because she really needs all those information orignally stored on her phone? She just got her phone not long ago and didn't backed up any of her information on her phone.

    If her data was not backed up or synced to something, it's gone. Sorry.

  • I just got a warranty replacement for my touch gen4.I didn't do anykind of backup other than my usal sync with itunes.  WHat do I have to do to get itunes to sync everything back like the old one?  I was planning for a repair not a replacement.

    I didn't do any kind of backup other than my usal sync with itunes.  What do I have to do to get itunes to sync everything back like the old one?  I was planning for a repair not a replacement.  I'm afraid to plug the new one in to my pc until I know what I need to do.

    You can restore from the backup of the old one.
    iPod touch User Guide (For iOS 4.3 Software)
    Backing up, updating, and restoring iPad, iPod touch, and iPhone software

  • HT4044 Part of my iPad(1st gen) screen display does not show,hence I can only see it partially.It was not dropped and neither is it broken. Any help as I was told it cant be fixed and i hv 2 replace with a new unit i.e. pay in full as warranty is over? HE

    Part of my iPad screen display does not show. It was not dropped and neither is the screen broken. I was advised to see the local service provider for a diagnosis.
    I had finally managed to find time to find a local service provider last week (not easy) and was disappointed to be advised of Apple's policy of one for one exchange i.e. they wont repair and said that i would have to replace with a whole unit. As my unit is no longer under warranty, it meant that I had to pay for the full price of a new unit!
    I might as well have paid for the latest new unit but since my unit is only 2 years old at most, it would be a great waste of money.
    How can this be? Does this mean apple's product is inferior and do not last since warranty is only for one year?
    I sincerely hope there is a favourable solution otherwse my money is flushed down the drain.
    HELP!!!

    I was using my iPad last night, shut the power off and when I turned it on this morning 2/3 of the screen is not working.  It looks like the pandalela picture. What is the answer to fix this; is this a screen issue or and electronics issues.  Has anybody else experienced this?

  • XSLT mapping not working b'coz " " & " " replaced with and

    Hello Experts,
      I have a RFC to JMS scenario. One of the parameter of RFC is a string field. This field will contain the XML data in it.
    I need to create a complete XML payload using this data in a string field. For this I am using XSLT map :
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
         <xsl:output method="xml" omit-xml-declaration="no"/>
         <xsl:template match="/">
              <xsl:for-each select="//Nem">
                   <xsl:copy-of select="."/>
              </xsl:for-each>
         </xsl:template>
    </xsl:stylesheet>
    This XSLT mapping works fine when tested independently.
    But in actual scenario at runtime the "<" & ">" used to indicate a node are getting replaced with < and >. Then the XSLT mapping fails and produces no output.
    The output of XSL will be passed in to a java mapping which signs the payload digitally.
    What is the issue with these signs? How can I overcome this problem?
    Any inputs will be of great help.
    Kind Regards,
    Abhijeet.
    Edited by: Abhijeet Ambekar on May 4, 2010 2:01 PM

    Hi Stefan,
      Yes - I want to get rid of & # 60. But these (& # 60 and & # 62) are not added by XSLT mapping. Rather they are in the input available to XSLT map.
    In sxmb_moni, i can see the inbound payload correctly :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:HDK083_REFUS_SENDDOCU xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <P_SIGN_DOCUMENT />
      <P_XML_DOCUMENT><NemRefusionIndberetningSamling><NemRefusionIndberetningStruktur MessageID="1"><HeaderStruktur><SignOffIndikator>true</SignOffIndikator><TransaktionKode>Opret</TransaktionKode><IndberetningstypeKode>Anmeldelse</IndberetningstypeKode><FravaerTypeKode>Sygdom</FravaerTypeKode><FravaerendeStruktur><FravaerendeTypeKode>Loenmodtager</FravaerendeTypeKode><LoenUnderFravaerIndikator>false</LoenUnderFravaerIndikator></FravaerendeStruktur><IndberetningUUIDIdentifikator>bf9cc44e-af15-4e19-8457-5845d75385d2</IndberetningUUIDIdentifikator><ReferenceAttributTekst>ref. Nielsen-1503831372 (23. oktober 2009)</ReferenceAttributTekst>
    but when I try to download the payload or right click on payload to view source I get something like below:
    <?xml version="1.0" encoding="UTF-8"?><rfc:HDK083_REFUS_SENDDOCU xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><P_SIGN_DOCUMENT></P_SIGN_DOCUMENT><P_XML_DOCUMENT>& # 6 0;NemRefusionIndberetningSamling& # 62; & # 60;NemRefusionIndberetningStruktur MessageID="1"& #62;& #60;HeaderStruktur& #62;& #60;SignOffIndikator& #62;true& #60;/SignOffIndikator& #62;& #60;TransaktionKode& #62;Opret& #60;/TransaktionKode& #62;& #60;IndberetningstypeKode& #62;Anmeldelse& #60;/IndberetningstypeKode& #62;& #60;FravaerTypeKode& #62;Sygdom& #60;/FravaerTypeKode& #62;& #60;FravaerendeStruktur& #62;& #60;FravaerendeTypeKode& #62;Loenmodtager</FravaerendeTypeKode><LoenUnderFravaerIndikator& #62;false</LoenUnderFravaerIndikator></FravaerendeStruktur& #62;<IndberetningUUIDIdentifikator& #62;bf9cc44e-af15-4e19-8457-5845d75385d2& #60;/IndberetningUUIDIdentifikator& #62;& #60;ReferenceAttributTekst& #62;ref. Nielsen-1503831372 (23. oktober 2009)& #60;/ReferenceAttributTekst& #62;
    (extra spaces added to "& # 60" as browser was converting it to < ,>)
    If i take the source code for payload and test XSLT mapping, it fails. But if I manually replace all "& # 60" with < and "& # 6 2" with >, then the mapping works fine.
    So I think for XSLT map to work correctly, we need to replace all "& # 60 " . Please suggest.
    Kind Regards,
    Abhijeet.

  • The g, h and backspace on my keyboard are not working even after replacing with a new one.

    The g, h and backspace on my keyboard are not working even after replacing with a new one. I have also updated my BIOS still d same. Please help me ASAP.
    ...am waiting for a QIUCK RESPONSE

    How does a usb keyboard attached externally work?
    You might try a "hard reset" where you remove battery and AC charger, hold down power button 20-30 seconds and then reassemble and turn on. Reset BIOS (F10) to default settings, too. 

  • Previews does not actually "replace" if document with same name is open.

    I am using FMP 9.0--When I "save records as PDF"....
    IF I have a pdf open in Preview with the same name,
    Preview offers to "save as",
    tells me I have one w/the same name and asks if I want to replace...
    I say YES....and
    ONLY the older version is saved.
    (I happen to be troubleshooting a script so the name is "toss.pdf"--several times. If the previous toss.pdf is not open it works as anticipated. Otherwise I do not actually "replace" the older one as preview leads me to believe.)
    I have not tried this on a non-intel machine, so I don't know if it's Intel specific--or if it's just me...:-).
    Not a huge problem, but it seems that if it is an issue it could use a fix..

    Hi,
    Thank you for posting in Windows Server Forum.
    By default it will automatically update the RemoteApp and Desktop Connections but if in any particular case it’s not happening then for a try you can restart the server and check the result again.  In addition you can try running below command and check
    the result. 
    Start-Process rundll32 -ArgumentList "tsworkspace,TaskUpdateWorkspaces2
    More information:
    Powershell to update "RemoteApp and Desktop Connections"
    If a task is registered using the Administrators group for the security context of the task, then you must also make sure the Run with highest privileges check box is checked if you want to run the task. Please check “Task
    Security Context” for more details.
    Hope it helps!
    Thanks,
    Dharmesh

  • HT4061 just deactivated my iPhone 4s and replaced with 5s. The phone was wiped. I would like to activate it just to use it as an iPod. However I do not remember my iCloud username and password and cannot activate without it. How can I get past this?

    Just deactivated my iPhone 4s and replaced with 5s. The phone was wiped. I would like to activate it just to use it as an iPod. However I do not remember my iCloud username and password (from several years ago) and cannot activate without it. How can I get past this?

    Forgot iCloud username: http://iforgot.apple.com/appleid
    Forgot iCloud password: http://iforgot.apple.com

  • When Hard-coded server name and data base name are replaced with variables , execute process task does not produce the result

    Hi All,
    I am trying to load shape file into a sql spatial table. A execution process task is used to run the ogr2ogr.exe program.
    This is how the process tab looks like .
    Executable : C:\gdal_ogr2ogr\bin\gdal\apps\ogr2ogr.exe
    Argument :  -f MSSQLSpatial   MSSQL:server=SQL-ABC-DEV;database=MYSIMPLE_Dev;Trusted_Connection=True;\\mypath\files\shares\Data\www.mypage.htm\my_sample_file.shp
    Success value : 1
    For above settings, package runs fine. The spatial table is created in SQL server db. However when hard-coded SQL server name and database name are replaced with global variables , the spatial table is not created in the database. Yet the package runs fine.
    It does not throw any errors. (I am using another variable for full file path. It is not causing any errors though)
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True;"+ @[User::Filepath] + "\\my_sample_file.shp"
    Both variables are string type. Can anyone tell me what I am doing wrong here please?
    I am running this in VS 2012.
    Thanks for your help in advance..
    shamen

    There should be a single space just after True:
    before
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True;"+ @[User::Filepath] + "\\my_sample_file.shp"
    after keeping the space
    " -f MSSQLSpatial   MSSQL:server="+@[$Project::SQLServerName]+";database="+ @[$Project::DatabaseName] +";Trusted_Connection=True; "+ @[User::Filepath] + "\\my_sample_file.shp"
    Thanks
    shamen

Maybe you are looking for

  • Installing driver without having connected printer

    Hi. I have to install the hp laserjet p1102 driver to my Server 2012R2 without physically connected printer for remote desktop sessions. I had downloaded LJP1100_P1560_P1600_Full_Solution, but I can't install it without printer. In the unpacked folde

  • Adobe Acrobat has stopped working error

    Just installed Acrobat on my Win 8.1 machine and it continually crashes and stops working. Sometimes it will crash after 20 mins other times after 30 seconds. Just looking for some direction.

  • Cursor will not open web page icons after upgrade, icons are not changeing cursor and page sliders not working. .

    Hi , Since I upgraded none of the web pages I visit will function correctly. In Yahoo mail I cannot opem the search box, Similiary in Google I have the same problem, In addition other icons are not recognised as the curson does not change and my page

  • Problem Displaying out Data in JSP

    can anyone have a look at my code? i got some problems to display it in jsp when i run it with eclipse. can anyone help me on this?? did my java bean declared wrongly? thanks... this is my java file package com; import java.io.File; import com.db4o.D

  • New contract status

    Hi, We are having classic scenario with GOA implemented. We are doing spend analysis using customised abap reports.We want to create status key "EXPIRED" for expired contract based on contract validity. Is there any way to create this status in table