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

  • Error logs while creating New strucuture

    Hi, I'm creating new structure for example z_structure.I have 16 fields inculded in it which has some already existing data elements.And all my 16 fields tech specs are based on this data elements.Now my problem is in curreny/quantity fields i'm givi

  • Apple TV mirroring only working for iTunes

    When I first got my apple TV, my Macbook Pro 17" worked with display mirroring.  After upgrading to OSX 10.8.1, only iTunes will mirror to the TV.  I have tried rebooting all devices ... What gives/ Why did this break!?     Thanks! sean

  • IDVD 5 - Burning a NTSC version using PAL content

    HELP! I want to create an NTSC DVD in IDVD 5. I selected NTSC in the preferences also under Project Info. I then imported Quicktime files and burnt a disc - The problem is I'm in a PAL region and when I play it on my DVD player - it plays! whereas it

  • Key figure not exist in infoprovider

    Hi, in what situation can a keyfigure exist in a query designer but not belonging to an infoprovider? When i tried to launch a BEx query, i got system message about the above. There is aggregation level under which there is multiprovider under which

  • R12 clone with RMAN auxiliary db.

    Hi all, We require daily clone for our setup due to testing and other reason. Can we replace only database via RMAN Clone? R12 clone with RMAN Auxiliary DB. Find below steps, if I am wrong correct me. 1.     run autoconfig on apps tier. 2.     perl <