In and Exists in a subquery

Hi All,
What are the main differences between In and Exists.
While writing a subquery which one is better and why ??
Pls explain with examples.
Thanks in advance.

Does no one know how to google?
http://oracle-online-help.blogspot.com/2006/11/in-vs-exist-in-sql.html

Similar Messages

  • Execution of subquery of IN and EXISTS clause.

    Hi Friends,
    Suppose we have following two tables:
    emp
    empno number
    ename varchar2(100)
    deptno number
    salary number
    dept
    deptno number
    location varchar2(100)
    deptname varchar2(100)
    status varchar2(100)
    Where dept is the master table for emp.
    Following query is fine to me:
    SELECT empno, ename
    FROM emp,dept
    WHERE emp.deptno = dept.deptno
    AND emp.salary >=5000
    AND dept.status = 'ACTIVE';
    But I want to understand the behaviour of inline query (Used with IN and EXISTS clause) for which I have used this tables as an example (Just as Demo).
    1)
    Suppose we rewrite the above query as following:
    SELECT empno, ename
    FROM emp
    WHERE emp.salary >=5000
    AND deptno in (SELECT deptno FROM dept where status = 'ACTIVE')
    Question: as shown in above query, suppose in our where clause, we have a condition with IN construct whose subquery is independent (it is not using any column of master query's resultset.). Then, will that query be executed only once or will it be executed for N number of times (N= number of records in emp table)
    In other words, how may times the subquery of IN clause as in above query be executed by complier to prepared the subquery's resultset?
    2)
    Suppose the we use the EXISTS clause (or NOT EXISTS clause) with subquery where, the subquery uses the field of master query in its where clause.
    SELECT E.empno, E.ename
    FROM emp E
    WHERE E.salary >=5000
    AND EXISTS (SELECT 'X' FROM dept D where status = 'ACTIVE' AND D.deptno = E.deptno)
    Here also, I got same confusion. For how many times the subquery for EXISTS will be executed by oracle. For one time or for N number of times (I think, it will be N number of times).
    3)
    I know we can't define any fix thumbrule and its highly depends on requirement and other factors, but in general, Suppose our main query is on heavily loaded large transaction table and need to check existance of record in some less loaded and somewhat smaller transaction table, than which way will be better from performance point of view from above three. (1. Use of JOIN, 2. Use of IN, 3. Use of EXISTS)
    Please help me get solutions to these confusions..
    Thanks and Regards,
    Dipali..

    Dipali,
    First, I posted the links with my name only, I don;t know how did you pick another handle for addressing it?Never mind that.
    >
    Now another confusion I got.. I read that even if we used EXISTS and , CBO feels (from statistics and all his analysis) that using IN would be more efficient, than it will rewrite the query. My confusion is that, If CBO is smart enough to rewrite the query in its most efficient form, Is there any scope/need for a Developer/DBA to do SQL/Query tuning? Does this means that now , developer need not to work hard to write query in best menner, instade just what he needs to do is to write the query which resluts the data required by him..? Does this now mean that now no eperts are required for SQL tuning?
    >
    Where did you read that?Its good to see the reference which says this.I haven't come across any such thing where CBO will rewrite the query like this. Have a look at the following query.What we want to do is to get the list of all teh departments which have atleast one employee working in it.So how would be we write this query? Theremay be many ways.One,out of them is to use distinct.Let's see how it works,
    SQL> select * from V$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SQL> set timing on
    SQL> set autot trace exp
    SQL> SELECT distinct  D.deptno, D.dname
      2        FROM     scott.dept D,scott.emp E
      3  where e.deptno=d.deptno
      4  order by d.deptno;
    Elapsed: 00:00:00.12
    Execution Plan
    Plan hash value: 925733878
    | Id  | Operation                     | Name    | Rows  | Bytes | Cost (%CPU)| T
    ime     |
    |   0 | SELECT STATEMENT              |         |     9 |   144 |     7  (29)| 0
    0:00:01 |
    |   1 |  SORT UNIQUE                  |         |     9 |   144 |     7  (29)| 0
    0:00:01 |
    |   2 |   MERGE JOIN                  |         |    14 |   224 |     6  (17)| 0
    0:00:01 |
    |   3 |    TABLE ACCESS BY INDEX ROWID| DEPT    |     4 |    52 |     2   (0)| 0
    0:00:01 |
    |   4 |     INDEX FULL SCAN           | PK_DEPT |     4 |       |     1   (0)| 0
    0:00:01 |
    |*  5 |    SORT JOIN                  |         |    14 |    42 |     4  (25)| 0
    0:00:01 |
    |   6 |     TABLE ACCESS FULL         | EMP     |    14 |    42 |     3   (0)| 0
    0:00:01 |
    Predicate Information (identified by operation id):
       5 - access("E"."DEPTNO"="D"."DEPTNO")
           filter("E"."DEPTNO"="D"."DEPTNO")
    SQL>
    SQL> SELECT distinct  D.deptno, D.dname
      2        FROM     scott.dept D,scott.emp E
      3  where e.deptno=d.deptno
      4  order by d.deptno;
        DEPTNO DNAME
            10 ACCOUNTING
            20 RESEARCH
            30 SALES
    Elapsed: 00:00:00.04
    SQL>So CBO did what we asked it do so.It made a full sort merge join.Now there is nothing wrong in it.There is no intelligence added by CBO to it.So now what, the query looks okay isn't it.If the answer is yes than let's finish the talk here.If no than we proceed further.
    We deliberately used the term "atleast" here.This would govern that we are not looking for entirely matching both the sources, emp and dept.Any matching result should solve our query's result.So , with "our knowledge" , we know that Exist can do that.Let's write teh query by it and see,
    SQL> SELECT   D.deptno, D.dname
      2        FROM     scott.dept D
      3          WHERE    EXISTS
      4                 (SELECT 1
      5                  FROM   scott.emp E
      6                  WHERE  E.deptno = D.deptno)
      7        ORDER BY D.deptno;
        DEPTNO DNAME
            10 ACCOUNTING
            20 RESEARCH
            30 SALES
    Elapsed: 00:00:00.00
    SQL>Wow, that's same but there is a small difference in the timing.Note that I did run the query several times to elliminate the physical reads and recursive calls to effect the demo. So its the same result, let's see the plan.
    SQL> SELECT   D.deptno, D.dname
      2        FROM     scott.dept D
      3          WHERE    EXISTS
      4                 (SELECT 1
      5                  FROM   scott.emp E
      6                  WHERE  E.deptno = D.deptno)
      7        ORDER BY D.deptno;
    Elapsed: 00:00:00.00
    Execution Plan
    Plan hash value: 1090737117
    | Id  | Operation                    | Name    | Rows  | Bytes | Cost (%CPU)| Ti
    me     |
    |   0 | SELECT STATEMENT             |         |     3 |    48 |     6  (17)| 00
    :00:01 |
    |   1 |  MERGE JOIN SEMI             |         |     3 |    48 |     6  (17)| 00
    :00:01 |
    |   2 |   TABLE ACCESS BY INDEX ROWID| DEPT    |     4 |    52 |     2   (0)| 00
    :00:01 |
    |   3 |    INDEX FULL SCAN           | PK_DEPT |     4 |       |     1   (0)| 00
    :00:01 |
    |*  4 |   SORT UNIQUE                |         |    14 |    42 |     4  (25)| 00
    :00:01 |
    |   5 |    TABLE ACCESS FULL         | EMP     |    14 |    42 |     3   (0)| 00
    :00:01 |
    Predicate Information (identified by operation id):
       4 - access("E"."DEPTNO"="D"."DEPTNO")
           filter("E"."DEPTNO"="D"."DEPTNO")Can you see a keyword called Semi here? This means that Oralce did make an equi join but not complete.Compare the bytes/rows returned from this as well as cost with the first query.Can you notice the difference?
    So what do we get from all this?You asked that if CBO becomes so smart, won't we need developers/dbas at that time?The answer is , what one wants to be, a monkey or an astranaut? Confused,read this,
    http://www.method-r.com/downloads/doc_download/6-the-oracle-advisors-from-a-different-perspective-karen-morton
    So it won't matter how much CBO would become intelligent, there will be still limitations to where it can go, what it can do.There will always be a need for a human to look all the automations.Rememember even the most sofisticated system needs some button to be pressed to get it on which is done by a human hand's finger ;-).
    Happy new year!
    HTH
    Aman....

  • Difference between in and exist?

    difference between in and exist?

    Note the name of this forum is "SQL Developer *(Not for general SQL/PLSQL questions)*", so only for issues with the SQL Developer tool. As AlexAnd suggested, please post these questions under the dedicated [SQL And PL/SQL|https://forums.oracle.com/forums/forum.jspa?forumID=75] forum.
    Regards,
    K.

  • How do I delete and existing itunes account on my iphone and start a new account

    how do I delete and existing itunes account on a phone that i have transfered to and start a new one

    You can't. All you can do is stop using it. Anything you have purchased using the old Apple ID is permanently connected to it and cannot be updated or re-downloaded when using the new Apple ID.

  • "The interface name given does not specify a valid and existing interface."

    Hi nice guys,
     I'm trying to use the XNET APIs to set Master task to Slave with LIN protocol. As I have no Experience before, there's something problem like the Interface of the NI USB-8476S can't be detected. The prompted windows presents following infomation:
    Error -1074384758 occurred at XNET Create Session (Signal Output Single-point).vi:1
    Possible reason(s):
    NI-XNET: (Hex 0xBFF6308A) The interface name given does not specify a valid and existing interface. Solution: Use a valid and existing interface. These can be obtained using MAX, XNET system properties, or the LabVIEW XNET Interface IO name. If you are using CompactRIO, refer to the topic "Getting Started with CompactRIO" in the NI-XNET Hardware and Software Help.
    but in the NI MAX, the device is detected as "LIN0". Even the interface input control in the NI examples shows the error. But if I take the CAN Frame API, it works well.
    Does anyone have some idea. I'm so preciate. Tanks in advance.
    best regards
    Melo

    Melonetern,
    When do you receive these errors?  Does this happen when you try to run your code or our examples?  On top of that, does this error happen immediately or does it take a while?  Is this happening in LabVIEW or another interface?
    If you could give us the versions of software you are using as well as the XNET driver versions that would be very helpful.
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

  • Use cached exchange mode for new and existing outlook profiles

    Hi, I've noticed a difference in the behavior of this setting in Outlook 2010 vs 2013
    In 2010, when the gpo is set, everything is greyed out for the user, but in 2013, the user can change the setting. Has anyone else noticed this? Is this something that MS decided to change or a bug?
    I'll attach screenshots of the settings and the end result later.
    joeblow

    Hi,
    à
    In 2010, when the gpo is set, everything is greyed out for the user, but in 2013, the user can change the setting.
    Based on your description, I understand that “Use Cached Exchange Mode” will gray out in Outlook 2010 when
    set "Use Cached Exchange Mode for new and existing Outlook profiles".
    However, in Outlook 2013, you will still be able to check “Use Cached Exchange Mode”. If anything I misunderstand, please don’t hesitate to let me know.
    Just my guess, Office 2013 Administrative Templates may be a little difference with Office 2010 Administrative
    Templates. On current situation, I suggest that you would post the question in
    Office Forum. I believe we will get a better assistance there.
    Hope this helps.
    Best regards,
    Justin Gu

  • Dates and times in a subquery with a group by

    I have some data that I need to group to the Month, Day, Year, Hour and minute in a subquery. Then I need to summarize it to the Month and year in the parent query.
    If I try to group by the field itself, it is not taking it down to hour and minutes - just the day, so I am losing records.
    if I do a TO_char(visitdate, 'DD-MON-YY HH:MI AM') in the subquery, then the main query no longer sees it as a date, so cannot do my TO_CHAR(VISITDATE,'MON-YYYY') in the parent. I could parse out the pieces using string manipulation, but that seems rather silly.
    Is there a way to keep as a date in my sub query and then convert to a string?
    it looks a little like this, with some other fields that I have to max, sum ...
    visit     provider     person     visitdate
    1     2     1     12/20/2012 10:30
    2     2     2     12/20/2012 10:30
    3     2     5     12/20/2012 11:30
    4     3     3     12/21/2012 11:30
    5     3     4     12/21/2012 11:30
    I need to boil this down to
    provider     visitdate
    2     12/20/2012 10:30
    3     12/21/2012 11:30
    2     12/20/2012 11:30
    Then I use that in a subquery where I use just the month and year
    TO_CHAR(VISITDATE,'MON-YYYY') AS APPT_MO_YR
    right now if I do a group by visitdate on the subquery it returns
    provider     visitdate
    2     12/20/2012
    3     12/21/2012
    even if I do a group by to_date(visitdate, 'DD-MON-YY HH:MI AM')
    it is still returning :
    provider     visitdate
    2     12/20/2012
    3     12/21/2012

    Hi,
    Sorry, it's unclear what you want.
    What is the output you want from the given sample data?
    Do you want to see data from individual times, and then summaries for the entire month in the same result set? If so, you can use GROUP BY ROLLUP or GROUP BY GROUPING SETS. For example:
    SELECT        provider
    ,        NVL ( TO_CHAR ( visit_date
                            , 'MM/DD/YYYY  HH24_MI'
                , TO_CHAR ( TRUNC (visit_date, 'MONTH')
                            , '   MM/YYYY "Total for month"'
                )           AS d
    ,        COUNT (*)             AS total_visits
    FROM        sample_table
    GROUP BY   provider
    ,        TRUNC (visit_date, 'MONTH')
    ,             ROLLUP (visit_date)
    ORDER BY   provider
    ,        TRUNC (visit_date, 'MONTH')
    ,             visit_date
    ; Output:
    ` PROVIDER D                          TOTAL_VISITS
             2 12/20/2012  10_30                     2
             2 12/20/2012  11_30                     1
             2    12/2012 Total for month            3
             3 12/21/2012  11_30                     2
             3    12/2012 Total for month            2

  • I have a new MacBook Pro, and existing iPad 2 and iphone.

    I have a new MacBook Pro, and existing ipad 2 and iphone 4s. icloud was already set up on the iphone and ipad, and it is now set up on the MacBook Pro.  However, when I make an entry in one device, it does not populate the other two devices.  Also, all my podcasts and music did not populate itunes in the computer.  What am I missing?

    Could you please confirm what it is you are making an entry in, that isn't syncing (address book, iCal etc)
    Is there any reason you think iTunes should automatically fill your library for you.

  • Help? New iPad2 exchange email was working. Now won't download email and existing emails disappearing - newest disappearing first.  Can connect to web. And my windows computer connects fine to exchange server.  What's going on?

    Help? New iPad2 exchange email was working. Now won't download email and existing emails disappearing - newest disappearing first.  Can connect to web. And my windows computer connects fine to exchange server.  What's going on?

    Actually all are affected, but i manage to solved it running Virtual test version to trace the issue and finally able to fix it. Thanks for asking.
    IT Technician

  • I was adding songs to and existing playlist and now I can't save the changes to the playlist. What do I need to do to save the changes? All my music have now the "  " sign in front of them

    I was adding songs to and existing playlist and now I can't save the changes to the playlist. What do I need to do to save the changes? All my music have now the " " sign in front of them

    I was adding songs to and existing playlist and now I can't save the changes to the playlist. What do I need to do to save the changes? All my music have now the "+ " sign in front of them

  • I have and existing web site and domain name. I'd like to know how to import into iweb. I currently use Yahoo's sitebuilder to build my site but Sitebuilder is not compatible with the iMac

    I have and existing web site and domain name. I'd like to know how to import into iweb. I currently use Yahoo's sitebuilder to build my site but Sitebuilder is not compatible with the iMac

    Chapter 2.3 on the iWeb FAQ.org site has tips on using some of the existing files, image, audio, video, etc., from the published site in the creation of the new site with iWeb.
    OT

  • 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.

  • How to use where exists with a subquery

    Hi,
    Below is my query
    select DISTINCT
    -1,
    vODS_GLBalance.PageNum,
    vODS_GLBalance.FiscalYearId,
    vODS_GLBalance.FiscalMonthOfYearId,
    GLAmount
    From ODS.Staging.vODS_GLBalance
    where EXISTS
    select *
    From ODS.Common.tODS_Date
    where dateid not in (-1,99991231)
    AND convert(date,convert(varchar,FiscalYearId)+'-'+convert(varchar,FiscalMonthOfYearID)+'-01') between dateadd(month,-2,getdate()) and dateadd(month,-1,getdate())
    Order BY FiscalYearId ASC,
    FiscalMonthOfYearId ASC
    My subquery inside the where exists just brings the date for current month,so i want to limit my whole data only for current month,but if i run the whole query it returns me all the data i have in my staging table.
    Any suggestions please?
    Thanks

    You need to correlate the subquery with the outer query, like in this example:
    SELECT *
    FROM   Customers C
    WHERE  EXISTS (SELECT *
                   FROM   Orders O
                   WHERE  C.CustomerID = O.CustomerID)
    That is, show me all customers who have placed at least one order.
    I can't give an example with your queries, because I don't know how they are structured.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Rewrite complex exist as in subquery .

    Hi,
    I'm on 9i and dont got preciese question but rather kind of common transformation one .
    Suppose we've got query like this:
    select * from p where exists (select null from c c1 where c1.col1 = col1 and c1.col2 = col2) ;So we've got two columns correlation .
    How can I rewrite this as IN subquery ?
    Probably missing the obvious but please help :)
    Regards.
    GregG

    How about this?
    SELECT *
    FROM   p
    WHERE  (p.col1,p.col2) IN ( SELECT c.col1
                                     , c.col2
                                FROM   c
    ;

  • Creative Cloud and existing Business Catalyst partners - FAQ

    This FAQ will cover topics related to Creative Cloud, for existing Business Catalyst users.
    How can I signup for Creative Cloud?
         Your Business Catalyst account should have been already updated right now with your Adobe ID. If you haven’t updated it yet, visit the Adobe ID – Business Catalyst account update FAQ.
    What benefits do I get with Creative Cloud ?
         In addition to acccess to all Creative Suite programs, Lightroom and others in one place, a Creative Cloud membership enables you to host up to five Business Catalyst websites. These sites will be webBasics sites. For a full comparison between plans, see this page. If you purchase Muse or Dreamweaver as individual products in Creative Cloud, you can host one Business Catalyst website for each of them. 
    My web design shop has several employees, each with their own Business Catalyst login with access our Partner Portal. Do we need Adobe IDs for each of our employees?
        Yes. Since these users are partner users, they need to use an Adobe ID. Visit the Adobe ID – Business Catalyst account update FAQ for more details
    I have a paid website that I want to host using my Creative Cloud subscription. Can I do this?
         This is not possible. You need to create a new webBasics temporary website in Business Catalyst and push it live.
    Can I move a trial/live Creative Cloud site under a different Creative Cloud subscription?
          This is not possible right now.
    Do I get any discount if I upgrade a Creative Cloud website to a higher Business Catalyst plan such as webMarketing or webCommerce?
          Currently there are no upgrade discounts for Creative Cloud members.
    What are the limitations of the webBasics websites that come with Business Catalyst and Creative Cloud membership?
         You will be limited to 100 MB of storage and 1 additional user (such as your customer). You will not get email, SMS or newsletters for this web plan.
    Can I buy more users? Can I buy more space? Can I buy email?
         We are working on creating this workflow but at this point we don’t have an exact release date for this feature.
    How can I upgrade the webBasics websites that come with Creative Cloud to a higher Business Catalyst plan?
         We are working on creating this workflow but at this point we don’t have an exact release date for this feature.
    Do I get any discount for purchasing more websites if I am a Creative Cloud subscriber?
         Right now there is no discount for Creative Cloud members.
    If I am an existing Paid Partner and I have a few employees for whom I paid Creative Cloud subscriptions, how many websites can I claim?
         You will have 5 websites for each employee. However, you will pay different licenses for all of them. Before purchasing these licenses, please contact Adobe Support to add these users to your partner portal. After you have added users to your partner portal, you will be able to access all the websites from it.
    *NOTE: If you have already add employees to your partner portal, then everything will work automatically.
    If you don’t want to access all your websites from the same Partner Portal, you don’t have to do anything.
    How can I set permissions for my employees regarding these websites? What permissions can I set?
          This will be part of a later Creative Cloud that will be launched this year.
    What happens if I cancel or stop paying my Creative Cloud subscription?
         Each live website (among the free websites under your Creative Cloud subscription) will stay live for an additional 30 days. This gives you time to decide whether you want to keep the site(s) live or remove them.  You will be prompted to upgrade your website to a regular Business Catalyst site plan.
         After 30 days, your website will enter in temporary mode. When entering the temporary mode, your custom domain name will be removed from the website. In order to reactivate it, pay for your website directly with Business Catalyst.
         If you are inactive on a temporary website, it will automatically be deleted.
    === Dreamweaver CS6 FAQ ===
    I have logged in on Dreamweaver CS6 and I cannot see my partner site. How can I edit it?
    This is a known issue. For paid partners (Standard or Premium) you can use the workaround described below:
    export one of your sites as an .ste file
    Open the .ste file in another text editor, and modify it
    Replace the :
    httpaddress with your partner's site URL address
    secureURL with your partner site secure URL
    siteid with the site ID of your partner site
    Save the .ste file with another name
    Import this .ste file into Dreamwaver, choose a local root folder
    Please take a look at Brad's blog post here for more detailed steps on how to import your partner site in Dreamweaver.
    I'm trying to login to Dreamweaver CS6 with my Business Catalyst credentials, and it doesn't work. What credentials do I need?
         You can login to Dreamweaver CS6 with your Adobe ID. If you haven't merged your BC account with an Adobe ID account, you'll need to merge it and then you should be able to login.
    How do I access sites in Dreamweaver with an Adobe ID other than the one linked to my Creative Cloud or Dreamweaver subscription?
          Dreamweaver defaults to using the Adobe ID from your subscription to avoid the inconvenience of logging in multiple times. To use a different ID, just click the "Logout" button in the lower-right hand corner of the Business Catalyst panel and log in with a different Adobe ID:
    You'll need to have a file open in an existing BC site for the "Logout" button to be visible. Logging out will not affect the Adobe ID used in conjunction with your Dreamweaver subscription. To change the Adobe ID for your subscription, click Help -> Deactivate.

    At this point the upgrade workflow is not functional just yet, as mentioned here: http://forums.adobe.com/docs/DOC-2153
    So the webBasics Creative Cloud cannot be upgraded directly  to the webBasics+ level for now.
    But a workaround for this case would be to re-publish your Dreamweaver/Muse project (I suppose you've used one of these solutions to build the site in the first place, right?) in a new trial/temporary site  -> let us know what is the URL of that site (don't push it live) -> we will change the site plan from our backend to webBasics+ -> you will be able to publish it using the webBasics+ site plan.
    Please note that this is going to be a separate charge, besides your Creative Cloud subscription. The monthly fee for webBasics+ will be $12.21/month, as mentioned here: http://www.adobe.com/products/business-catalyst/buying-guide-subscriptions.html
    Another way to use the webBasics+ plan would be to simply trigger a new trial site here: https://syd.worldsecuresystems.com/PartnerPortal/FreeTrialSignup.aspx#splash with the same Adobe ID as the one used to buy the Creative Cloud subscription and  take that site live separately.

Maybe you are looking for

  • After Mavericks upgrade, I disabled iCloud / iCal connection. Now I can't make any changes to my calendar

    I had multiple bad experiences with my iPhone using iCloud and when I upgraded, realized too late, that my computer was now going to be tied to the Cloud. After I recovered from the stress-induced, post-tramatic syndrome from my iPhone / iCloud exper

  • Time Machine and Parallels

    Will Time machine backup the data that I create in Windows Applications running under Parallels? I am running Quicken for Windows under Parallels on my IMAC intel core 2 Duo running OS x 10.5.1

  • My ipod (6th gen nano) is not being recognized

    I was moving some music on to it, decided to update itunes, and the moment it updated my ipod stopped being recognized. I've uninstalled and reinstalled itunes, restarted the ipod, and restarted the computer- all, multiple times. Thoroughly unimpress

  • Optimize query results(timing) returned from custom search query

    Casey can you send the following to Oracle Support as soon as you can, we need their input on optimizing returning search results. To Oracle: We have noticed in the IdocScript reference guide that there is a way to optimize the query results returnin

  • Influence of deferred constraint to Table is mutating proble

    Hello, i have a question regarding the 'Table is mutating, Trigger/Function may not see it'-problem. I wondered whether a deferrable constraint can solve the problem, but as I tested it, it's the same behaviour as before. Situation: assume tables LOC