In and EXISTS??which is better and why

hi...
Performance wise which is better IN or EXISTS and why..

user8469486 wrote:
hi...
Performance wise which is better IN or EXISTS and why..DomBrooks pointed out that it may not matter due to query optimization rewrites.
In theory it depends on circumstances.
Correlated EXISTS subqueries tend to be efficient if the lookup is properly indexed. If the list of values is very small (especially if you only get one value) an IN subquery might be more efficient.

Similar Messages

  • What is different between asp and jsp, which is better and why

    hi, i would like to know which script language is better (ASP or JSP). if you can give me a detail comparison. Thank in advance
    zhe

    What do you expect small-time loser?

  • Which is better and why: Safari or Firefox?

    Which is better and why: Safari or Firefox?

    Thx, I've been using FF on my MacBook, as I did with PowerMacs before that. I used to work in the industry and stay up on current trends; but, I'm just a regular user with a new MacAir now and hate to bother my SF/SJ peeps with trivial questions.
    As I start to load up the Air, I'm just a bit overwhelmed with the volume of bookmarks I've collected and organzied in FF on my MB.

  • Which is better and why a = new String("AA") or a = "AA"

    Hi,
    Which is better and why
    String a = new String("AA") or
    String a = "AA"
    Does invoking a construtor waste memory? Please explain in detail.
    Thanks in advance
    Deepak

    > So in case "AA" not there in string pool,
    That is not correct.
    does new creates "AA" on string pool as well as heap memory?Yes. The literal "AA" points to a pooled String object. The new operator creates a new String object with the same character sequence ("AA"). You can verify this with a little code...
    String s = new String("AA");
    assert s != "AA";
    assert s.equals("AA");
    assert s.intern() == "AA";~

  • Which is better and faster in bootcamp xp or vista or 7

    i have installed windows 7 by boot camp i have noticed its boot is very slow
    i m thinking to remove it and try xp
    anyway my question is which is better and faster xp or vista or 7? in bootcamp in the boot and in the normal use applications inside windows?

    sorry i meant i have istalled windows vista by bootcamp now i want to remove it i m asking which is faster and better xp or vista or 7 ?

  • Which is better and newer, virus scan 6 or pc cillin 2000?

    which is better and newer, mcafee virus scan v6 or pc cillin 2000?
    thanks,
    edison

    edison,
    I run without a Virus Smasher Program.  If I am going to download something I run Housecall.  Also I do not use Outlook or Outlook Express for email so I do not get those types of attacks.
    You could try Housecall here:
    Trend Micro's free online virus scanner
    This thing is a browser plugin.  Does not run unless you are on their site. It is Free. It does not take up any recourses.  It is Free. It is always up to date. It is Free. It never expires. It is Free. You never need to register to use it. Oh, and did I mention it is FREE!!!   :D
    Take Care,
    Richard

  • If i do a lot of writing, web surfing and email, which is better for me, macbook pro or air?

    looking for the right portable as a gift for someone who does a LOT of writing and also email and websurfing and research. which is better, the macbook pro or the air?

    Either one.

  • Hi friends , in mapping program ,which is better one.why? explain me.

    1)In mapping program ,which is better one.why? explain me.

    Actually the sequence is
    Graphical
    Java
    XSLT
    ABAP
    graphical mapping can prove to be the simplest of all mappings and easy to so also as u have a mapping editor and standard functions available.
    when this becomes too complex v generally opt for java / xslt mappings.
    when u are much comfortable with abap u may also opt for abap mapping.
    still the choice depends on scenario. performance wise graphical and java mappings have
    good results (also depends on ur code in java mapping).
    refer this:
    Comparing performance of mapping programs:
    /people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs

  • I created a new apple id for my iphone and ipad which work great and allow me to access Icloud. on my macbook air can't get it to use my new apple id for icloud. Help?

    I created a new apple id for my iphone and ipad which work great and allow me to access Icloud. on my macbook air  I can't get it to use my new apple id for icloud. It keeps going back to my old apple id and doesn't afford me to alter it. I use system preferences-icloud and it just wants to verify the old apple id but doesn't afford me the opportunity to delete teh account or edit it like the iphone5 and ipad. Help?

    Welcome to the Apple Community.
    You need to use the sign out option on the left side.

  • SAP BW or BO ? Which is better and why

    Hi,
    I dont know much about SAP BW so I am not able to compare which one is better.
    It would be great if someone could help me comparing these tools.
    Which one is better and why ?
    If a user is already using SAP BW and planning to start using SAP BO what could be the features he would go for ?
    I am thinking from the sales perspective for Business Objects to a BW user.
    Regards,
    Chinmay

    Hi,
    Someone might be able to provide you with the comparitive chart or a tabular format to make you understand the differences but I would say that SAP itself has designed the roadmap for the product integration wherever it suited the needs.
    I would like you go through the roadmap of SAP BI and BO integration and you would be able to yourself compare what is in and what is out and why.
    Please give the below link a look:-
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b00a1a75-c49d-2b10-0ebb-ecc80ab88994
    Happy reading.
    Please let us know if you need any further explanation to this.
    Cheers.

  • Question: Which is better and why....RMAN catalog or Flashback Recovery

    Hey All,
    Newly testing and reading up on 10g. I am on information overload and would appreciate pro's advice on which to choose and why.
    Thanks,
    d.

    Different things, not necessarily alternative. That is, RMAN catalog is normally (at least should be) on another machine, and does not contain physical backups, but only information about them : physical backups are normally stored on external devices, like tapes.
    Flashback Recovery technique is based on Flashback logs in Flash Recovery Area, which is a disk area on local machine, and so cannot be unlimited.
    Therefore, Flashback Recovery is much faster than Media Recovery, since you don't need to restore anything, but you have limits in using that : your disks size.
    On the other hand, RMAN backups are safer, being physically elsewhere.
    See http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/backrec.htm#g1023042

  • Battery charging by usb port on PC and adapter which is better

    Please help me
    Battery charging by usb port on PC and adapter (enclosed with IPHONE box )which is better?
    Regards

    Adapter is probably quicker as you have slightly better power than from a USB socket

  • Need to know which is better and faster for laptop memory upgrade

    What is the difference and which is better for a laptop memory upgrade:  SDRAM, DDR SDRAM, SIMM?  One site suggested DDR SDRAM and BB suggested SO DIMM

    SODIMM is the physical form factor of the module, DDR SDRAM is the actual memory type.
    SIMMs are an ANCIENT form of memory module.  If you have a system that uses SIMMS, you will spend less money throwing your computer in the trash and buying a new one.
    Non-DDR SDRAM is also ancient.
    Each system can only use one type of memory, i.e. you can't use DDR memory in a system that only used non-DDR memory, and you can't use DDR2 memory in a DDR system.
    To find out if the configuration is 2x256 or 1x512, you'll need to look at what is installed.
    *disclaimer* I am not now, nor have I ever been, an employee of Best Buy, Geek Squad, nor of any of their affiliate, parent, or subsidiary companies.

  • Which is better? why?

    Hi, which macbook is better and why?
    Both are brand new and has the price of around $85 diffrence. (i seldom burn cds, would test vista, xp, mac osX, and linux on the machine)
    MA700LL/A (more expensive one)
    MB061LL/A (cheaper by $85)
    thanks

    I'm not really sure what your point is?
    The MA700LL/A is no longer sold through apple. You would have to find a re-selller that had some and then the price should be discounted because it is the "older" model.
    The MB061LL/A is what is for sale at Apple right now.
    It has a combo drive.
    MA700LL/A (more expensive one)
    It was more expensive when sold , no longer sold at apple so price is irrelevant. Has superdrive.
    MB061LL/A (cheaper by $85)
    Cheaper and has combo drive.
    Mort

  • Hey, I want to buy a macbook pro or imac mini, I want to know which is better and why, is their going to be new macbooks ect released in 2-3 months thats better that i should rather wait for? Or buy one now ?

    Please help me i dont know which one to buy, and ive never owned one before but i have used my friends quite alot. Why is macbook's worth buying if you can get many products for the same price with better specs ?What makes it unique that it dominates basically the whole world.

    Hey,
    Thank's 4 the advice , but one of my main problems is I live in South Africa and apple products is x2 as much as what the usa doller is for it. Eg Macbook pro starting price $1199 american dollars and directley converted to South African currency is R9160.30.... but the problem is if i want to buy it in my country it has been marked up alot and a Macbook pro starting price for me will be R13000 for 13 inch and if you directley convert our price into american dollers its $1704.30 american dollars, so thats +600 dollers more.
    So its much more expensive to buy products in my country and thats just the starting price.
    I want mobality but i was also thinking (imac mini) is kinda portable and can plug into any1  T.V u know.
    So like i really do t know what to get and that, because its alot more money to spend than the US dollar.
    So i really want you to put your self in my position you know...
    And what is classified as a good monitor???
    And i want to know why my friends say that the imac mini is pathetic , but i think it losts longer than most windows laptops, what do you think ??
    And can i who lives in south africa buy products directley from apple them selves ??
    Thank's man , hope you can help me out here!
    Hope other people can c this 2
    Brent

Maybe you are looking for

  • How to put Company logo in the report?

    Hi, How am i going to include the company logo or a image file into my report? What is the best tools? I have try to use the "Link File" tool and it required me to specify the "Source Filename". So if I put the file path and filename in the "Source F

  • Project Manager. I'm a bit Confused

    i tried reading the manual but i dozed off last night. i'm still confused on this one. here is my setup. 2 internal drives (Main) and (Audio). 1 firewire drive with ALL my samples. all Audio for projects is on Audio drive all Samples are on Sample dr

  • How can I add document folders in iPad with File Sharing

    I am using Aji Annotater. Because I have large amount of PDF files, I use File Sharing. I want to add the entire folders and organize them as they are. But, I can only select file by file basis. Although I can make a multiple choice, I can organize t

  • Error in record updating in Client-430

    Hi Experts,                  While I am using transaction PA30 for maintaining infotype 0002 and 0025; at the time of saving the record, one pop-up is coming in which the error message is " The Client 430 is non-modifiable". After pressing the enter

  • 'Read only' hard drives/SD Card

    I have run into this problem multiple times, with many different hard drives and SD Cards. When I plug the drive into my USB port and select 'Get Info', the permissions always says 'Read only'. Is there a security or sharing feature that I can turn o