Inner table outer table

Hi,
when we join two tables how we decide which is inner table which is out table.
thanks in advance.

Not sure what exactly you mean by "inner" table and "out(er?)" table.
But for Oracle it really doesn't matter if you write a join between EMP and DEPT like this:
select *
from emp, dept
where emp.deptno = dept.deptnoor like this,
select *
from dept, emp
where emp.deptno = dept.deptnoBoth will be executed in the same way.

Similar Messages

  • Advanced Table in Table - Error on Deleting the master record

    Dear All,
    I have a custom EmployeesVO and a ReimbursementsVO.
    EmployeesVO is the master and ReimbursementsVO is the child.
    They are based on EO which are linked by entity association. The VOs are linked by a viewlink (which is inturn based on the Association)
    I have created an advanced table-in-table, where EmployeesVO is the master, and in the detail, I have the reimbursementsVO.
    Both inner and outer table have a "Select and Delete Row" functionality. This works fine on the Inner table (Reimbursements).
    However on the outer table for Employees, I have two options
    1. In the Employees EO , select the "Implement Cascade Delete"
    2. In the Employees VORowImpl, create a "Remove" method, iterate through the child rows using view link accessor, delete the child rows first and then call super.remove method. to delete the employee row itself.
    In both cases, I get an error saying "error forming SQl statement...Invalid column type" or "Unable to create java.lang.Object". On debugging, I see that it has no issues deleting the child rows and that goes through fine, but when the master row is deleted - :(
    Will be grateful if anyone can provide any advise on this.
    Thanks !

    From MetaLink it looks like bug# 2433386
    Not yet resolved.

  • Fixed length outer table with nested repeating group inner table.

    I had to re-create a PDF using tables in an RTF template. It has a fixed 1 page width. However, one of the rows in the template has a nested table with a repeating group. I set the width of the outer table row width to 2". However when I have repeating groups it makes the outer row grow wider than the 2" inches. The option to un-select "automatically resize to fit contents" is grayed out.
    Is there a way to keep the outer table width fixed with an inner repeating group?
    Thanks.
    --Johnnie
    Edited by: Vortex13 on Jun 13, 2012 11:15 AM

    Hi Borris,
    Found the following in the Oracle Documentation under: Oracle8i Application Developer's Guide - Object-Relational Features Release 2 (8.1.6)
    2 Managing Oracle Objects / Using Collections / Collection Unnesting
    URL: http://www.znow.com/sales/oracle/appdev.816/a76976/adobjmng.htm#1002885
    Oracle8i also supports the following syntax to produce outer-join results:
    SELECT d.*, e.* FROM depts d, TABLE(d.emps)(+) e;
    The (+) indicates that the dependent join between DEPTS and D.EMPS should be NULL-augmented. That is, there > will be rows of DEPTS in the output for which D.EMPS is NULL or empty, with NULL values for columns
    corresponding to D.EMPS.

  • Inner / outer table in nested loops join

    I can't understand what 'inner' / 'outer'
    table means in nested loops join operation.
    please explain the exact meaning.
    maybe i do not understand the nested loops
    join itself. I tried to find the meanings
    in Oracle manual, but I couldn't.

    If I understand correctly your question. An outer table loop is where you have a table with a primary key (master table) and you want to iterate into that table which have details forign key (inner loop table) for example you have customers table each have many invoices.
    hope that ansowers your query.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by 4baf:
    I can't understand what 'inner' / 'outer'
    table means in nested loops join operation.
    please explain the exact meaning.
    maybe i do not understand the nested loops
    join itself. I tried to find the meanings
    in Oracle manual, but I couldn't.<HR></BLOCKQUOTE>
    null

  • Inserting into Table-in-Table after re-execution the Outer Table query

    Hi Gurus,
    I have a problem with inserting into Table-in-Table after re-execution the Outer Table query:
    The problem:
    I have two tables; both tables are based on VO; tables have a VL between them;
    The Inner Table is hidden when page lode.
    I'm executing the Outer Table, open the details to see the Inner Table, I can add rows to the Inner Table. Everything is OK.
    But-
    After I'm executing the Outer Table again –
    Adding new rows to the Inner Table is not work anymore, despite I'm executing the Inner Table RowSet query.
    Scenario is:
    In processRequest():
    In the processRequest() I'm calling executeQuery() of the Outer Table Only.
    (So the Details executeQuery() will be done by VL and Its works fine.)
    In processFormRequest():
    User opens the details to see the Inner Table.
    On some event, I'm executing the Outer Table query.
    On some other event, programmatically I am inserting a new row to the Inner Table, and a new row is displayed in the Inner Table as I wanted.
    In this way, one row after another, I can add as many rows as I wish, without any problem.
    (This scenario should behave as same clicking on button of type "Add-Another-Row", just adding the row automatically)
    The code for the inserting (as specified in the chapter "Classic Tables" --> "table-in-table"):
    OARow newRow = (OARow) innerRowSet.createRow();
    innerRowSet.insertRow(newRow);
    innerRowSet.setRangeSize(innerRowSet.getRangeSize()+ 1);
    innerRowSet.executeQuery();
    If the user won't cause to re-execution of the outer table – no problem occurs.
    * Should I add something after the Outer Table VO execution?
    * Maybe to the inserting to the Inner Table code?
    Please help…

    Hi, Thanks.
    I don't know which one of the Outer Table rows is the current row,
    But-
    Only the Details (the Inner Tables) who where opened before the executeQuery() of the Outer table are not acts as they should.
    All the Details who where closed before the executeQuery() of the Outer table are still works fine.
    Please advise.

  • HOW TO  FIND OUT TABLE DESCRIPTION FROM JDBC?

    HOW WILL FIND OUT TABLE DESCRIPTION FROM JDBC?

    Have a look at ResultSetMetaData
    getColumnCount()
    getColumnName(int)
    getColumnTypeName(int)
    getColumnDisplaySize(int)
    ***Annie***

  • How to find out table name for the field in the webUI

    Hi.
    I am in CRM2007.
    So i go to the transaction code    BSP_WD_CMPWB
    In that i provide the component name as CRM_UI_FRAME.
    I press the Test button.
    So, it opend the WebUI.
    I want how to find out table of the particular input field?
    I mean from which table the data is retrived how to find out?
    When i enter some thing in the input field how to find out in which table that data is stored?
    By pressing F2 on the input field it opend View and Component Name.
    I want find out table of that particular field. How to find it?
    If anybody know about this explain it with Screen shorts if possible.
    Thank You.
    Krishna. B.

    hi
    goto tx genil_model_browser. Suppose you want to find fields reated to your order header eg sold to name. In component set write all and press F8. Then goto access object and in access object click on node BTAdminH. Click on attribute structure. Here you will find structure and attributes. If you click relationship then you will see all the relationship wrt btadminh. open any r/s that you require. and click on other object and attribute. You will get to know the structure.
    Best regards
    Pankaj kumar

  • Process to find out tables & functional module

    Hi,
    I would like to know the process to find out tables for configured objects not the master data objects and also the process for finding a functional module for particular application like action.
    regards Srinath

    Hi
    There is no direct way to see this.
    You need to Pick the Program(Se37/38) and tables (SE16/11)and to see where its been used
    The FM for RSZDELETE is RSZ_DB_COMP_REORG_AS_POPUP.
    Hope it helps

  • Query to pull out Tables from Workbooks/Folders

    Hi,
    Do anybody have a query which helps to pull out tables which are used in the Workbook or folders, without opening the workbook or a folder ? Your earliest help is Appreciated.
    Thanks,
    Ashok

    Hi Farheen......
    Please try this........
    SELECT T0.HousBnkAct, T1.CardName, T0.PymCode, T0.DflAccount,
    T0.DflBranch, T0.BankCtlKey, T1.DocNum,T1.NumAtCard, T2.LineTotal, T2.Dscription,
    T3.Branch, T3.Street FROM OCRD T0 LEFT JOIN OPCH T1 ON T0.CardCode = T1.CardCode
    LEFT JOIN PCH1 T2 ON T1.DocEntry = T2.DocEntry LEFT JOIN DSC1 T3 ON
    T0.HousActKey = T3.AbsEntry WHERE T1.DocDate >='[%0]' AND T1.DocDate <='[%1]' AND T1.DocStatus = 'o' AND T0.PymCode = 'EFT'
    Regards,
    Rahul

  • Errored out tables in SPUMG

    Hello All,
    I am doing Database Consistency Check (using SPUMG) to check the consistency of the database
    In the Scan, some tables have errored out because Table definition contains errors.
    I have checked in SE14 -> DB Object and Runtime Object Checks. Tables dont exist in DB and There is no active runtime object for the Tables.
    With discussion with my ABAPer , I safely deleted the runtime object (active nametab) of these Tables with function module DD_NAMETAB_DELETE .
    And then "Reset" the table entry in SPUMG.
    Updated the Worklist in SPUMG. Some extra tables appeared. And scan got completed successfuly.
    My Qyestions are,
    1. When I reset the Errored Out Tables to "Initial" Is it ignored in the next Consistency Check run?
    2. I cannot find those Tables in the Export Control List. Is it OK
    3. Suppose I had a "errored out" table which was inconsistent and I made it consistent. Should I also make it "Reset to Initial"? And run consistency Check Again?

    After I completed my SPUMG Scan can I go ahead with Export.
    Do I need to do anything else?
    Is Export Control file automatically generated or do I need to do something?

  • How to get orphan records in Wf_notifications table and how to purge records in WF notifications out table

    Hi Team,
    1) I need Query to get the orphan records in the wf_notification tables to purge them.
    2) Same way I need to purge unwanted records in WF NOTIFICATION OUT table.Can you please let me know the process to get unwanted records in
    WF NOTIFICATION OUT table and the process to purge them.
    Thanks in Advance!
    Thanks,
    Rakeesh

    Hi Rakeesh,
    Please review notes:
    11i-12 Workflow Analyzer script for E-Business Suite Workflow Monitoring and Maintenance [Video] (Doc ID 1369938.1)
    bde_wf_data.sql - Query Workflow Runtime Data That Is Eligible For Purging (Doc ID 165316.1)
    What Tables Does the Workflow Purge Obsolete Data Program (FNDWFPR) Touch? (Doc ID 559996.1)
    Workflow Purge Data Collection Script (Doc ID 750497.1)
    FAQ on Purging Oracle Workflow Data (Doc ID 277124.1)
    Thanks &
    Best Regards,

  • Script to find out table and index candidates to keep in the buffer pool

    I am looking for a script to find out tables and indexes to keep in the buffer pool.
    Could you help me on this ?
    thanks...
    Markus

    this is more of a open question. As you know ur data well. We do not know whats ur data. cachin tables in buffer pool is okay, but it might age out after not being used...instead you can use the KEEP POOL...to cache small tables/popular tables into the keep pool...as keep pool guarantees full caching .....
    here are some links on keep pool cacheing
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref410
    http://www.dba-oracle.com/oracle_tips_cache_small_fts.htm
    http://www.dba-oracle.com/t_script_automate_keep_pool_tables_indexes.htm
    http://www.dba-oracle.com/oracle_news/news_caching_keep_pool_large_objects_clob_blob.htm
    Edited by: user630084 on Apr 8, 2009 5:48 AM

  • Help needed in Table in Table Approach using OAF

    We have a requirement in OAF wherein the results region of search page should give header details. And in header details there is a show and hide button which would show all the line details corresponding to the header (like Table – in – Table).
    For Header details I have used advanced table under that I have used detail region and there I have created advanced table for line details.
    I have also created view link to link the header details view object and line details view object.
    In Process Request method of the controller I have set view link name and child attribute name for both outer table (header details table) and inner table (line details table)
    When I run the OAF page, I am getting the below error. I am facing this error when I tried to set the view link name and child attribute of inner table (i.e. line details table) in the controller.
    Detail 0 ##
    java.lang.NullPointerException
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.updateInnerTableProperties(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequestAfterController(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(Unknown Source)

    Hi,
    read the response above. This is the wrong forum.
    try OA Framework
    Frank

  • UIX/XML tables in tables in tables in .....

    Hi!
    An interesting question for the JDev team:
    I'm trying to create a uix table with detailDisclosure and I added another table in the detail section of this table. But somehow this didn't work as I had hoped. I added a header to the detailSection and added a table to this header.
    However this doesn't render very well - the first column of the rows below the undisclosed element of the outer table is rendered much too wide and the inner table doesn't display any data.
    Just to make sure before I continue to try it out: Is this supposed to work at all?
    I think this would be a really cool feature as it would allow displaying hierarchical data in tables and this is something I need to do.
    thanks
    Guido

    By accident I tried creating a table in the detail section of a table, and lo and behold it works with the 9.0.3 Preview version.
    Is this supposed to stay that way - I mean can I rely on this feature working the future versions as well? I think it looks quite nice and makes sense in some cases.
    Guido

  • Enable hide/show only for selected rows for table in table

    I have an advanced table with a detail table connected by a view link. This adds a "Details" column of Hide/Show links on the left of the table to expand the inner-table for each row of the outer-table. The goal is to have the hide/show in the outer table, only when there is data for the outer row in the detail region.
    Normally, hide/show appears for all rows in the outer table.
    Thanks!

    In the processRequest method of the controller execute the query of the Outer table region and check is there any row or not.
    If yes then do nothing else hide the bean i.e. hide/show bean. You need to do PPR for this.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Leopard slows down and freezes - please help

    I'm running Leopard on a Macbook and I have had startup problems and slowdowns in general a couple of days now. When I start up the machine I get the apple logo, the spinning circle and then the blue screen for about 2-3 minutes before I get my Leopa

  • Install IDES ECC6- Abap Import phase error

    Hi all, I have seen many post on this error but I have not still understood why it happens. I have tried to install an IDES ECC6 on Windows 2003S 32 bit with 4gb of RAM on a VMWARE virtual machine. I have done all the preparation steps: 1) adjust net

  • Oracle9i Reports J2EE Thin Client

    Hi all, I tried to create a own report servlet with the Oracle9i Reports J2EE Thin Client. The reason I want to have a own report servlet is, I want to have a own path to access the reports. At the moment it is possible to access the reports with the

  • Cropping a landscape to a portrait

    Hi, I have a landscape photo I would like to crop into a portrait with the 4x6 dimensions, obviously iPhoto knows what a landscape and portrait photo is so I have no option to crop it the way I want unless doing it with no lock on but then how do I k

  • ISight powers up for 3 seconds then dies on plug-in.  Help!

    My iSight worked great for several months on my G4 Dual processor. Unfortunately, my G4 was problematic from day one and the firewire ports were always hit and miss (i.e. my Epson 2450 scanner would not be recognized on Firewire... and eventually my