Error creating surveys Quick View

Hi all
I read < b > Oracle® Fusion Middleware Developer Guide for Oracle WebCenter
11g Release 1 (11.1.1.4.0) < /b > book.

article how to add the quick view of surveys to your Page < /b > < b > 37.2.2.2

When I run my app and try to make a new poll, once I click the < b > Ok < /b >, this popup warning message is displayed.
     
Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.1.2.v20101206-r8635): 
org.eclipse.persistence.exceptions.ValidationException
 Exception Description: Cannot acquire data source [java:comp/env/jdbc/WebCenterDS].
 Internal Exception: javax.naming.LinkException: [Root exception is 
 javax.naming.NameNotFoundException: While trying to lookup
 'jdbc.webcenter/CustomPortalDS' didn't find subcontext 'jdbc'. Resolved ''; 
 remaining name 'jdbc/webcenter/CustomPortalDS'];
 Link Remaining Name: 'jdbc/webcenter/CustomPortalDS'
 
Any suggestion?

Published by: M.Jabr on April 14, 2011 13:05

You have created a connection to your schema webcenter in JDeveloper as described in this documentation: http://download.oracle.com/docs/cd/E17904_01/webcenter.1111/e10148/jpsdg_svc_intro.htm#CEGEJAIF
Polls service requires the connection, other wise it will resolve this error.

Tags: Fusion Middleware

Similar Questions

  • Creating a dashboard with the quick view component included.

    I'm new to Foglight (6.5) and try to create a dashboard for my overview of the virtual environment in a first time, so I can allow others to see.
    I was able to create a view that contains the main clusters, an alarm summary and so on, BUT I would like to be able to include the quick view component that appears on the front of the virtual environment summary at the top of the dashboard and can't seem to find a way to do it.
    CNA anyone help?

    Because of the complex environment that supports the component entries he has not been exposed for use with drag and drop. The component is provided with context so the tiles above as a whole and / or types of alarm and by the selected service name. Provide all these entries a drag / move dashboard or report is too complex.
    Are there some aspects of visualization that you particularly want to see?

  • Error ORA-01115 creating the materialized view

    Hi friends,

    When I create a materialized view it by throwing some error

    CREATE THE PNR_RES_MV MATERIALIZED VIEW
    TABLESPACE FAS
    NOCACHE
    LOGGING
    NOCOMPRESS
    NOPARALLEL
    IMMEDIATE CONSTRUCTION
    REFRESH THE STRENGTH TO DEMAND
    WITH THE PRIMARY KEY
    AS
    SELECT C_CREATION_DATE, C_PNR, B.CARRIER_CD1, B.CARRIER_CD2, B.CURRENT_STATUS_CD, A.CANCELLED_IND, A.BOOKING_OFFC_NMBR,-, B.LEG_NMBR, C_PAX_NMBR
    COUNT (CASE WHEN TRIM (B.CURRENT_STATUS_CD) = "HK" AND (TRIM (C_CHANGE_OR_CANCELL_IND) = "OR C_CHANGE_OR_CANCELL_IND IS NULL) THEN 1 OTHER TRAILING NULL) CONFIRMED_COUNT,.
    COUNT (CASE WHEN (B.CURRENT_STATUS_CD) TRIM = "HK" AND (TRIM (C_CHANGE_OR_CANCELL_IND) = "or C_CHANGE_OR_CANCELL_IND IS NULL) null THEN 1 OTHER END) cancELLED_COUNT
    OF PNR_RES_LEG_PAX_MV B, PNR_RES HAS
    WHERE A.PNR = B.PNR
    AND a.CREATION_DATE = b.CREATION_DATE
    - and A.BOOKING_OFFC_NMBR = '1F'
    - AND C_PNR = 'XE76V. '
    AND A.FILE_UPDATE_DATE. A.UPDATE_DATE IN (SELECT MAX (D.FILE_UPDATE_DATE |)) (UPDATE_DATE) OF PNR_RES D WHERE D.PNR = B.PNR AND D.CREATION_DATE = B.CREATION_DATE)
    GROUP OF C_CREATION_DATE, C_PNR, B.CARRIER_CD1, B.CARRIER_CD2, B.CURRENT_STATUS_CD, A.CANCELLED_IND, A.BOOKING_OFFC_NMBR;



    When executing it it gives this error


    ORA-01115: reading block IO file error 4 (block # 63757)
    ORA-01110: data file 4: ' D:\APP\IGT\ORADATA\ORCL\USERS01. DBF'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read the file
    S/O-error: (27 OS) the drive cannot find the sector requested.



    And I checked through RMAN

    RMAN > validate the audit logic datafile 4;

    From post 11 March 14
    using the control file of the target instead of recovery catalog database
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 127 type device = DISK
    channel ORA_DISK_1: starting from the data file validation
    channel ORA_DISK_1: datafile (s) for specification validation
    Enter a number of file datafile = 00004 name = D:\APP\IGT\ORADATA\ORCL\USERS01. DBF
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure to validate the command channel ORA_DISK_1 11/03/2014 13:0
    04:12
    ORA-19501: read error on the file 'D:\APP\IGT\ORADATA\ORCL\USERS01. DBF', block numbe
    r 63745 (block size = 8192)
    ORA-27070: async read/write failed
    OSD-04016: error queuing an asynchronous i/o request.
    S/O-error: (27 OS) the drive cannot find the sector requested.



    Please suggest me what to do it is a mistake to associate related database or OS. DB version is - 11 GR 2


    Kind regards


    Arya


    This is the error message that you should focus:

    > O/S-error: (27 OS) the drive cannot find the sector requested.

    Run disk checker utilities, eventually the file system is damaged.

    Hemant K Collette

  • create a relational view received the error: ORA-19276: XPST0005 - XPath step Brown

    Hi expert,
    I'm using Oracle XML DB 11.2.0.1.0.
    I'm schema successfully registered and generated a DOCUMENT table.
    I have succfully inserted 12 at this table .xml files.

    SQL > SELECT OBJECT_VALUE FROM document;

    OBJECT_VALUE
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    <? XML version = "1.0" encoding = "UTF-8"? > <? XML-stylesheet href = "http://www.accessdata.fda.gov/spl/stylesheet/spl.xsl" type = "text/xsl"? >
    "< document xmlns =" "urn: hl7 - org:v3" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi: schemaLocation = "urn: hl7 - org:v3 http://localhost:8080/home/DEV/xsd/spl.xsd" & gt;
    < root id = "03d6a2cd-fdda-4fe1-865d-da0db9212f34" / >
    < code = '51725-0' codeSystem = "2.16.840.1.113883.6.1" displayName = "REGISTRATION OF ESTABLISHMENTS" / >
    < / component >
    < / document >

    then I tried to create a relational view of create base on inserted one .xml file I got the error:

    ERROR at line 3:
    ORA-19276: XPST0005 - step XPath specifies an invalid element/attribute name: (text)

    someone he knows what wrong?

    Thank you very much!

    Cow

    Published by: cow on February 15, 2011 20:58

    Published by: cow on February 21, 2011 06:59

    Hello

    You declare the default namespace of the document:

    ...
    XMLTable(
      XMLNamespaces(default 'urn:hl7-org:v3'),
      '$p/document'
      PASSING doc.OBJECT_VALUE as "p"
      COLUMNS
    ...
    
  • Cannot create a quick refreshment Mview

    Hi all

    I keep on getting error when I try to create a quick refreshment mview. Don't know what the cause of the error.

    I will be very happy if someone can help here.

    Script journal MVIEW-

    CREATE MATERIALIZED VIEW LOG ON my_car_dim WITH ROWID;

    CREATE MATERIALIZED VIEW LOG ON my_acc WITH ROWID;

    -MVIEW create - script

    K_dim_mvw CREATE MATERIALIZED VIEW

    tabletop pass-fail

    QUICKLY REFRESH ON DEMAND

    AS

    SELECT a.id,

    a.Time,

    a.Accid,

    b.Name,

    b.Owner

    feed,

    a.Speed,

    . Length,

    TO_NUMBER (substr(a.date,1,6)) months,

    EXCERPT from HOURVALUE (TIME of a. thedate).

    When case feed > 40 and a.speed > = 20 then 1 0 otherwise end gearval

    my_car_dim a, my_acc b

    where a.id = b.id

    and a.accid = b.accid

    Your definition of MV missing ROWID. Without it, you have MV newspapers with rowid and MV do not. In order to fast refresh, Oracle needs to know how to apply the newspapers of MV (which stores vector Exchange since last refresh) to MV. For example:

    SQL > create materialized views emp with rowid; journal

    Materialized view log that is created.

    SQL > create materialized view dept with rowid; journal

    Materialized view log that is created.

    SQL > create materialized view emp_dept_mv
    2 fast refresh
    3 on request
    4, as
    5. Select e.*,
    6 dname
    7 loc
    e emp 8,
    d 9 dept
    10 where e.deptno = d.deptno
    11.
    from emp e,.
    *
    ERROR on line 8:
    ORA-12052: is unable to fast refresh materialized view SCOTT. EMP_DEPT_MV

    SQL > create materialized view emp_dept_mv
    2 fast refresh
    3 on request
    4 with rowid - in option
    5 as
    6. Select e.*,
    7 dname
    8 loc,
    9 e.rowid hamza,
    10 d.rowid drid
    11 e emp,
    Dept 12 d
    13 where e.deptno = d.deptno
    14.

    Materialized view created.

    SQL >

    SY.

  • ORA-12008: error path refresh materialized view

    Hello world

    I get a weird error when I try to do a quick refresh on my materialized view. My basic approach is simple, that I had a newspaper of MV on my fact table with all the columns required by the materialized view, sequence, including NEW rowid VALUES.

    I have my setup of materialized with a view my summary level, COUNT (*) and COUNT (EXP) for every SUM (EXP). I check the MV_CAPABILITIES_TABLE, and of course, it can be run with fast refresh. I have my fact table in the schema USER1 and my materialized in USER2 schema view.

    When I create the materialized view, there is no problem. If I immediately executes a fast refresh (EXEC DBMS_MVIEW. REFRESH ('MY_MV', 'F'); ), once again, no problem.

    However, if I run the ETLs that update the source fact table, and then I run the quick update again, I get ORA-120008.

    But if I do the exact same MV in the scheme of the User1, I have no problem making quick refreshes. What is happening with this? Is the owner of the table must be the one with the materialized view? User1 and USER2 are on the same PB and have the same table space. Should User2 also select additional subsidies on the source fact table? What I give to select on the MVIEW connect you somehow?

    Thanks for the help!

    -Joe

    The mview journal is a separate table. You must grant select, insert, update, delete on it to the user mview.

  • Need help: error creating record

    Hi refugees,

    Gud morning...

    I get this error during the creation of the new record twice (for the first record, it works fine...)

    As master details page, I am Manager differently which... first of all I save the details of masters and while saving the level of detail, I will assingn the id of the header to the attribute display... when I create the first new record and save it works fine... but when I try to create a record more it shows error... This is the code... AMImpl

    It is showing the error in the createRecord() method only... it runs until the row.setNewRowState (Row.STATUS_INITIALIZED) after that only it is throwing error (assigning values for the attributes of display...) But for the first record it works fine...

    Please... give your valuable suggestions...

    ' Public Sub createRecord (pageContext OAPageContext, OAWebBean webBean)

    {

    saveMasterDtls (pageContext, webBean);

    String vunitid = pageContext.getParameter ("ctrlUnitId");

    String vapproval_id = pageContext.getParameter ("ctrlApprovalId");

    OAViewObject vo = getcapexApprovalHierarchyVO1();

    Try

    {

    String ctrl_headerId = null;

    Conn connection = (Connection) pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();

    String query = "select header_id OF XXNH_CAPEX_APPROVALS where unit_id =: 1 and APPROVAL_id =: 2;

    PreparedStatement stmt = conn.prepareStatement (query);

    stmt = conn.prepareStatement (query);

    stmt.setString(1,vunitid);

    stmt.setString(2,vapproval_id);

    ResultSet rs = stmt.executeQuery ();

    RS = stmt.executeQuery ();

    While (RS. Next())

    {

    ctrl_headerId = rs.getString (1);

    System.out.println ("id of the header in all new record:" + ctrl_headerId);

    }

    If (! vo.isPreparedForExecution ())

    {

    searchRecords (pageContext, webBean);

    }

    Line line (Row) = vo.createRow ();

    vo.insertRow (row);

    row.setNewRowState (Row.STATUS_INITIALIZED);

    System.out.println ("before assigning values id...");

    vo.getCurrentRow () .setAttribute ("HeaderId", ctrl_headerId);

    vo.getCurrentRow () .setAttribute ("UserUnitId", vunitid);

    }

    catch (System.Exception e)

    {

    throw new OAException ("error creating record:" + OAException.ERROR, e);

    }

    }

    =======================

    ' Public Sub saveMasterDtls (pageContext OAPageContext, OAWebBean webBean)

    {

    / * checking already Masters details existed or not for unity & approval * /.

    System.out.println ("master dtls start");

    String v_unitid = pageContext.getParameter ("ctrlUnitId");

    String v_unitName = pageContext.getParameter ("ctrlUnitName");

    String v_approval_name = pageContext.getParameter ("ctrlApprovalName");

    String v_approval_id = pageContext.getParameter ("ctrlApprovalId");

    OAApplicationModule am = pageContext.getApplicationModule (webBean);

    int cnt = 0;

    Try

    {

    Connection pconn = (Connection) pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();

    String pquery = "select count (*) FROM XXNH_CAPEX_APPROVALS where unit_id =: 1 and APPROVAL_id =: 2;

    PreparedStatement stmt = pconn.prepareStatement (pquery);

    stmt.setString(1,v_unitid);

    stmt.setString(2,v_approval_id);

    ResultSet rs = stmt.executeQuery ();

    While (RS. Next())

    {

    CNT = rs.getInt (1);

    }

    System.out.println ("count is:" + cnt);

    If (cnt == 0)

    {

    System.out.println ("If condition start");

    Tran OADBTransaction = getOADBTransaction();

    Number v_header_id;

    v_header_id = am.getSequenceValue ("XXNH_CAPEX_APPROVAL_SEQ");

    capexApprovalVOImpl vo = getcapexApprovalVO1();

    If (!) VO.isPreparedForExecution ())

    {

    vo.executeQuery ();

    }

    Line = vo.createRow ();

    row.setNewRowState (rank. STATUS_INITIALIZED);

    row.setAttribute ("UnitId", v_unitid);

    row.setAttribute ("UnitName", v_unitName);

    row.setAttribute ("ApprovalName", v_approval_name);

    row.setAttribute ("ApprovalId", v_approval_id);

    row.setAttribute ("HeaderId", v_header_id);

    vo.insertRow (row);

    getTransaction () .commit ();

    System.out.println ("unless condition end");

    }

    on the other

    {

    capexApprovalVOImpl vo = getcapexApprovalVO1();

    vo.executeEmptyRowSet ();

    }

    }

    catch (System.Exception e)

    {

    throw new OAException ("error in recording: master Dtls prepare Stmt query:" + OAException.ERROR, e);

    }

    }

    ============================================

    ' Public Sub searchRecords (pageContext OAPageContext, OAWebBean webBean)

    {

    String v_unitid = pageContext.getParameter ("ctrlUnitId");

    String v_approval_id = pageContext.getParameter ("ctrlApprovalId");

    OAViewObject vo = getcapexApprovalHierarchyVO1();

    vo.setMaxFetchSize(-1);

    vo.setWhereClause (null);

    vo.setWhereClauseParams (null);

    int v_header_id = 0;

    Try

    {

    Connection pconn = (Connection) pageContext.getApplicationModule (webBean) .getOADBTransaction () .getJdbcConnection ();

    String query = "select header_id from xxnh_capex_approvals, including 1 = 1 and = unit_id: 1 and APPROVAL_ID =: 2;

    PreparedStatement stmt = pconn.prepareStatement (query);

    stmt.setString(1,v_unitid);

    stmt.setString(2,v_approval_id);

    ResultSet rs = stmt.executeQuery ();

    While (RS. Next())

    {

    v_header_id = rs.getInt (1);

    vo.setWhereClause ("HEADER_ID =" + v_header_id);

    }

    vo.executeQuery ();

    }

    catch (System.Exception e)

    {

    throw new OAException ("error in query records...") Prepare the query Stmt: "+ OAException.ERROR, e);

    }

    }

    ============================================================

    Best regards and thanks,

    Jaya...

    Jaya,

    could you please check if the Id of the header is marked as primary key in database level or the level of the view object.

    Concerning

    GYAN

  • Column alias error in one query views

    Hello
    I was trying to drive this query

    Create view dept_sal as
    Select d.department_name, sum (e.salary)
    departments d left outer join employee e
    on e.department_id = d.department_id
    D.department_name group;

    and I received this error message...


    Error in the command line: 2 column: 25
    Error report:
    SQL error: ORA-00998: must appoint this expression with a column alias
    00998 00000 - 'must appoint this expression with a column alias.
    * Cause:
    * Action:


    I tried to put an alias to the function sum (e.salary) and it worked, but I do not understand why it is necessary or is the problem somewhere else and why an alias is needed here?

    In fact the book has not specified the need for an alias to this place... .so I wanted to know why I get this error...

    create or replace view dept_sal as
    Select d.department_name, sum (e.salary) as d_sal
    departments d left outer join employee e
    on e.department_id = d.department_id
    D.department_name group;


    view DEPT_SAL created.



    I also wanted to know if I can start a thread whenever I want to have a problem or if I can add my questions to someone
    otherwise a wire...

    Thank you
    Jayshree

    Also, I wanted to know if I can start a thread everytime I want to have a problem or I can add my questions to someone in another thread...

    Best thing you can do is to start a new thread.
    This is after you have completed :
    -Documentation
    -forums
    and found nothing.
    Do not start new threads that are FAQ...

    Adding questions to existing threads is called 'diversion' a thread and is not appreciated. Especially when you're digging up old threads.

  • Hosting with Go Daddy - error creating folder //images

    I just tried to download my Muse 2.0 on GoDaddy site and saw this arror in point 60% complete.

    Error creating folder //images

    The tech to Go Daddy, said that their server recognizes all the names of folders with slash.

    Screen shot 2012-08-26 at 3.45.29 PM.png

    Suggestions appreciated

    So, here's a solution that works...

    After viewing the site at the main directory HOST example... / host/45/37857485/html

    Go to the GoDaddy localize file manager html folder that your files are backed up to...

    Click the folder

    Select all the contect

    Click on move

    Choose the HTML (home folder)

    That all of your files will go to the desired destination.

  • Unable to create the job views

    Hello, I am using ODI for the first time and shows up in the run script generated:

    delete the synonym "undefined <>. C$ _0S_DATA_SOURCE_XWALK


    or

    create or replace view. C$ _0S_DATA_SOURCE_XWALK
    ------------------------------------------------------------------------------
    I know that the schema name is not provided, somewhere, but where? Please point me to the right place.
    Thank you very much
    Irina

    Hi Irina,.

    This error comes usually if you don't mention name of scheme of work (topology--> Phys Arch--> technology--> src/tgt connection--> physicalschema--> workschema).

    Select the appropriate schema in the menu drop down and re - run.

    Thank you

  • Create or replace view still holding

    Hello

    I'm trying to update an existing view, but "CREATE or REPLACE" takes forever. When I try to see the results of this point of view, I can see the results quickly. Also, I am able to create/upgrade new or existing views very fast.
    CREATE OR REPLACE VIEW OBR.IFV_OFFC_MGR_INFO
    AS 
     /* --------------------------------------------------------
      *   IFV_OFFC_MGR_INFO
      * --------------------------------------------------------
      *
      *   View to be used by those objects that require the office
      *       manager information pertinent to an office.
      *
      *   This is designed to return all Office Manager Info from
      *   various tables that store the related information
      *   for an agent.
      *
      *
      * --------------------------------------------------------
      */
    SELECT           
         NVL(MD.OFFC_TERR_CD, NVL(OCM.OFFC_TERR_CD, NVL(TVP.OFFC_CD, COS.OFFC_CD))) OFFC_CD,
         MD.IONS_ID      MD_IONS_ID, 
         MD.ASSOC_NAME      MD_NAME, 
         MD.ASSOC_EMAIL_ID      MD_EMAIL_ID, 
         OCM.IONS_ID      OCM_IONS_ID, 
         OCM.ASSOC_NAME      OCM_NAME, 
         OCM.ASSOC_EMAIL_ID      OCM_EMAIL_ID, 
         OCC.IONS_ID      OCC_IONS_ID, 
         OCC.ASSOC_NAME      OCC_NAME, 
         OCC.ASSOC_EMAIL_ID      OCC_EMAIL_ID,
         TVP.IONS_ID      TVP_IONS_ID, 
         TVP.ASSOC_NAME      TVP_NAME, 
         TVP.ASSOC_EMAIL_ID      TVP_EMAIL_ID, 
         COS.IONS_ID      TVP_COS_IONS_ID, 
         COS.ASSOC_NAME      TVP_COS_NAME, 
         COS.ASSOC_EMAIL_ID      TVP_COS_EMAIL_ID,
         NVL(MD.TERR_DESC, NVL(OCM.TERR_DESC, NVL(TVP.TERR_DESC, COS.TERR_DESC))) TERR_NAME
    FROM 
    (     SELECT 
              DISTINCT OFFC_TERR_CD, 
              TC.TERR_DESC, 
              FMA.IONS_ID, 
              OTC.OFFC_CD, 
              FMA.ASSOC_NAME, 
              FMA.ASSOC_EMAIL_ID 
         FROM OBR.IFT_IONS_OFFC_TERR IOT, 
                             OBR.IFT_OFFC_TERR_CD OTC, 
                             OBR.IFT_FLD_MGMT_ASSOC FMA, 
                             OBR.IFT_TERR_CD TC 
         WHERE IOT.OFFC_TERR_CD = OTC.TERR_CD 
                    AND ROLE_CD='TVP' 
                    AND IOT.OBR_ASSOC_ID = FMA.OBR_ASSOC_ID
                    AND TC.TERR_CD = OTC.TERR_CD) TVP
    FULL OUTER JOIN
    (     SELECT           
              DISTINCT OFFC_TERR_CD, 
              TC.TERR_DESC, 
              FMA.IONS_ID, 
              OTC.OFFC_CD, 
              FMA.ASSOC_NAME, 
              FMA.ASSOC_EMAIL_ID 
         FROM OBR.IFT_IONS_OFFC_TERR IOT, 
                             OBR.IFT_OFFC_TERR_CD OTC, 
                             OBR.IFT_FLD_MGMT_ASSOC FMA, 
                             OBR.IFT_TERR_CD TC 
         WHERE IOT.OFFC_TERR_CD = OTC.TERR_CD 
                    AND ROLE_CD='COS' 
                    AND IOT.OBR_ASSOC_ID = FMA.OBR_ASSOC_ID
                    AND TC.TERR_CD = OTC.TERR_CD) COS
    ON TVP.OFFC_CD = COS.OFFC_CD
    FULL OUTER JOIN 
    (     SELECT           
              DISTINCT OFFC_TERR_CD, 
              TC.TERR_DESC, 
              FMA.IONS_ID, 
              FMA.ASSOC_NAME, 
              FMA.ASSOC_EMAIL_ID 
         FROM OBR.IFT_IONS_OFFC_TERR IOT, 
                             OBR.IFT_OFFC_TERR_CD OTC, 
                             OBR.IFT_FLD_MGMT_ASSOC FMA, 
                             OBR.IFT_TERR_CD TC 
         WHERE IOT.OFFC_TERR_CD = OTC.OFFC_CD 
                    AND ROLE_CD='OCC' 
                    AND IOT.OBR_ASSOC_ID = FMA.OBR_ASSOC_ID 
                    AND OTC.TERR_CD = TC.TERR_CD) OCC
    ON TVP.OFFC_CD = OCC.OFFC_TERR_CD
    FULL OUTER JOIN 
    (     SELECT 
              DISTINCT OFFC_TERR_CD, 
              TC.TERR_DESC, 
              FMA.IONS_ID, 
              FMA.ASSOC_NAME, 
              FMA.ASSOC_EMAIL_ID 
         FROM OBR.IFT_IONS_OFFC_TERR IOT, 
                             OBR.IFT_OFFC_TERR_CD OTC, 
                             OBR.IFT_FLD_MGMT_ASSOC FMA, 
                             OBR.IFT_TERR_CD TC 
         WHERE IOT.OFFC_TERR_CD = OTC.OFFC_CD 
                    AND ROLE_CD='OCM' 
                    AND IOT.OBR_ASSOC_ID = FMA.OBR_ASSOC_ID 
                    AND OTC.TERR_CD = TC.TERR_CD) OCM
    ON TVP.OFFC_CD = OCM.OFFC_TERR_CD
    FULL OUTER JOIN
    (     SELECT 
              DISTINCT OFFC_TERR_CD, 
              TC.TERR_DESC, 
              FMA.IONS_ID, 
              FMA.ASSOC_NAME, 
              FMA.ASSOC_EMAIL_ID 
         FROM OBR.IFT_IONS_OFFC_TERR IOT, 
                             OBR.IFT_OFFC_TERR_CD OTC, 
                             OBR.IFT_FLD_MGMT_ASSOC FMA, 
                             OBR.IFT_TERR_CD TC 
         WHERE IOT.OFFC_TERR_CD = OTC.OFFC_CD 
                    AND ROLE_CD='MD' 
                    AND IOT.OBR_ASSOC_ID = FMA.OBR_ASSOC_ID 
                               AND OTC.TERR_CD = TC.TERR_CD) MD 
    ON TVP.OFFC_CD = MD.OFFC_TERR_CD
    ORDER BY 2;
    Some history: previously, we had a table IFT_OFFC_MGR_INFO store information from each office and the details of MD, CMO, PST etc each office has a line with name, email, and id of MD, CMO, PST and COS. Since it wasn't standard if we standardized it for new extensions of office associates by creating several tables. Since we use this non standard table IFT_OFFC_MGR_INFO in various places and to minimize the impact, we have created this point of view that would return results in a similar format, as it was in this table. We found that some of the existing views with IFT_OFFC_MGR_INFO and replacing with new view that ifv_offc_mgr_info hung just this point of view. I don't know if there is no best approach to create this view so that it can return the result in a similar format as table not standardized. This table has generally only 50 odd lines. Please help me to solve this problem of production!

    Hello

    All those FULL of the EXTERNAL JOINTS are going to be slow.
    It seems that all the subqueries in the FULL OUTER JOIN are the same, except that each of them is limited to a single role_cd. In this case, it would be preferable to simply rotate your ITO the form table you want that it:

    WITH     universe     AS
    (
         SELECT
              DISTINCT OFFC_TERR_CD,
              TC.TERR_DESC,
              FMA.IONS_ID,
              OTC.OFFC_CD,
              FMA.ASSOC_NAME,
              FMA.ASSOC_EMAIL_ID,
              ROLE_CD                                   -- added
         FROM OBR.IFT_IONS_OFFC_TERR IOT,
                             OBR.IFT_OFFC_TERR_CD OTC,
                             OBR.IFT_FLD_MGMT_ASSOC FMA,
                             OBR.IFT_TERR_CD TC
         WHERE IOT.OFFC_TERR_CD = OTC.TERR_CD
                    AND ROLE_CD IN ('TVP', 'COS', 'OCC', 'OCM', 'MD')     -- All role_cds of interest
                    AND IOT.OBR_ASSOC_ID = FMA.OBR_ASSOC_ID
                    AND TC.TERR_CD = OTC.TERR_CD
    )
    SELECT       offc_terr_cd          AS offc_cd,
           MAX (CASE WHEN role_cd = 'MD'  THEN ions_id          END)       AS md_ions_id,
           MAX (CASE WHEN role_cd = 'MD'  THEN assoc_name     END)       AS md_name,
           MAX (CASE WHEN role_cd = 'MD'  THEN assoc_email_id     END)       AS md_email_id,
           MAX (CASE WHEN role_cd = 'OCM' THEN ions_id          END)       AS ocm_ions_id,
    ...
           MAX (CASE WHEN role_cd = 'COS' THEN assoc_email_id     END)       AS tvp_cos_email_id,
           MAX (terr_desc)                                         AS terr_name
    FROM       universe
    GROUP BY  offc_terr_cd
    ;
    

    That's assuming that this terr_desc is dependent on offc_terr_cd. If this isn't the case, then the expression for computing, it will be a bit more complicated. In this case, after a few sample data and the results you need from these data.

  • 2159 m 'Quick View Modes '.

    I just bought a new monitor of 2159 m. Manual and the page of the HP store for her (http://www.shopping.hp.com/product/display/display//3/storefronts/FV585AA%2523ABA), the State "Customize your opinion: optimize display for movies, pictures or games with one of the fast display modes. But where can I find these 'Quick views '? I've been through OSD menus and I don't know that it isn't here. The manual does not help you, it comes, it lists as characteristic but said nothing more on the subject. I am connected via DVI if that makes a difference.

    Could someone help me please? This feature was a major decision-maker in when choosing the 2159 m above other monitors.

    Thank you

    I 2009f OSD should be the same. Its located color slot, fast display.

  • Quick Viewer problem

    My wife runs a program of Embird embroidery. While trying to work with a design, a quick Viewer window opens and locks work. The only way out is to restart the computer. Is there a way to turn off or disable quick view? Thanks for any input.

    Hello

    I suggest you to uninstall and reinstall the program and check if it helps:

    http://support.Microsoft.com/kb/307895

    It will be useful.

  • In windows live quick view mail, how can I activate the button Delete

    Hello

    When I opened my windows live mail, I can see a quick view, which is great. There are more than 3,000 mail there that I don't need. When I click on the button Delete is in shadow. How can I activate the button Delete or is there a quick way to delete these messages at once. I'm working on Windows xp

    Hello

    The question you posted would be better suited to Windows Live Solution Center. I suggest you to send your application in the Windows Live Solution Center for better support.

    http://windowslivehelp.com/product.aspx?ProductID=15

  • I have an error in my event viewer: the fault bucket + 45216 0xD1_athr, type the name of the event 0: BlueScreen. Can someone please explain to me how to solve this problem.

    I have an error in my event viewer: the fault bucket + 45216 0xD1_athr, type the name of the event 0: BlueScreen

    Can someone please explain to me how to solve this problem. My computer shuts down whenever I get on the internet. I need some answers please.

    You have a problem with a driver Atheros.

    It could be the network card is bad or the driver is damaged.

    If it is a wireless card, try to connect to the router with an ethernet cable. See if you can get an updated driver from the computer manufacturer's website.

    http://msdn.Microsoft.com/en-us/library/ff560244 (v = VS. 85) .aspx

Maybe you are looking for

  • Built-in apps stopped working with 10.11.6 updating

    I have a 2012 end MacBook Pro (16 GB of RAM, 180 GB of available disk space).  After the update, all normal applications built-in OSX (TextEdit, QuickTime Player, preview, even the Mac App Store) have stopped working.  They will bounce once the launc

  • enabling kernel on core duo processor

    When I bought my pc with a processor duo, both hearts were activated and working. Now for some reason any after I ran a hardware diagnostic test, she came back to say even though I have carrots of duo, that a single core is enabled. I tried Googling

  • HP recovery D needsrepairs says not enough memory for the backup

    need to know which files can be deleted or how re-branded more memory for this partition without damaging it.

  • QFileSystemWatcher couldn't addPath

    Hey guys,. I know there are some other threads on this problem, but nothing has solved my problem: I want to develop an existing application on a user interface and some headless. I use QSettings communication. A few days ago everything worked pretty

  • Disconnect the call that is on hold

    Hi all I want to end the call on hold while another call is active on the phone. Currently I use injector event to end the call. but it cuts call in progress. Kind regards Shekhar.