ORA-12014 table does not contain a primary key constraint

Hi
I have some existing Materialised Views I am trying to redeploy through OWB as its now our standard tool.
The existing code has
CREATE MATERIALIZED VIEW .......
.REFRESH ON DEMAND WITH ROWID AS
SELECT *
FROM apps.fafg_assets
When I create in OWB you only put the select statement, there is nowhere to put the 'with rowid ' part hence I get the following error on deployment;
ORA-12014: table 'FAFG_ASSETS' does not contain a primary key constraint
I cannot put a primary key on this table though so how do I get around this in OWB? Like I say writing the MV in PL/SQL putting the 'with rowid' bit makes it work?
Thanks

Hi...
I believe you'll need a PK so Oracle will know how to update the MV. Is there any particular reason for you not having a PK in FAFG_ASSETS table? As an alternative, you may want to create a new column in this table and having a table trigger/sequence populating this column.
But It looks like you are using EBS, so, I don't know if you can add new columns to tables.
See if this thread can help you:
Re: ORA-12014: table 'XXX' does not contain a primary key constraint
Regards,
Marcos

Similar Messages

  • Error remote table does not contain a primary key

    I make replication between oracle and Microsoft sql using getway for sql but when I insert to table in oracle I get this error in apply process
    information :
    ASD.SUBHI.COM is database link from oracle to microsoft sql
    "DBO"."REGIONS" name of the table
    CREATE TABLE regions (a INTEGER primary key) command to create table
    error
    ORA-26711: remote table does not contain a primary key constraint ORA-26712: remote object is "DBO"."REGIONS"@"ASD.SUBHI.COM"
    Note: I go to sql server and verify that primary key is creates
    is this the best place to like this question ?
    if you need more details please tell me I need the answer

    I make replication between oracle and Microsoft sql using getway for sql but when I insert to table in oracle I get this error in apply process
    information :
    ASD.SUBHI.COM is database link from oracle to microsoft sql
    "DBO"."REGIONS" name of the table
    CREATE TABLE regions (a INTEGER primary key) command to create table
    error
    ORA-26711: remote table does not contain a primary key constraint ORA-26712: remote object is "DBO"."REGIONS"@"ASD.SUBHI.COM"
    Note: I go to sql server and verify that primary key is creates
    is this the best place to like this question ?
    if you need more details please tell me I need the answer

  • ORA-12014: table 'DBA' does not contain a primary key constraint

    Hai
    when implementing basic replication i got the below error.
    ORA-12014: table 'DBA' does not contain a primary key constraint
    I was wondering primary key is enable at remote table
    Any idea about this
    Regards
    mohan
    I am giving below example
    AT master site
    global_names=false in init.ora file
    sql>create table dba(no number primary key);
    table created
    and create snapshot log
    sql>create snapshot log on m1;
    materilized view created
    AT SNAPSHOT SITE
    1.Create service using net8 stiring name like n1
    2.create database link
    sql>create public database link m3 connect to system identified by manager using 'n1';
    Database link created.
    3.when creating snapshot site i got below error
    SQL> create snapshot snap1 refresh fast start with sysdate next sysdate+1/(24*60
    *60) as select * from dba@m3;
    create snapshot snap1 refresh fast start with sysdate next sysdate+1/(24*60*60)
    as select * from dba@m3
    ERROR at line 1:
    ORA-12014: table 'DBA' does not contain a primary key constraint

    Hello,
    Please repost this question in the appropriate section of the Discussion Forum.
    This forum is for general suggestions and feedback about the OTN site.
    You can also use our new offering called OTN Service Network:
    For Oracle Advice/Minimal Support (fee based) on the Oracle Database Server, Oracle9i Application Server Containers for J2EE (OC4J), Oracle9i JDeveloper, Reports, Forums, SQL*Plus, and PL/SQL, please go to: http://www.oracle.com/go/?&Src=912386&Act=45
    For customers with paid support (Metalink) please go to:
    http://www.oracle.com/support/metalink
    Regards,
    OTN

  • Materialized View - does not contain a primary key constraint

    I am trying to create materialized view. I gone through the MV wizard creation. Added 2 columns (foo_column, foo_pk) of the table and have a simple select statement (Select foo_column from foo_dim). Also created a primary key contrainst and refencing the primary key (FOO_PK) of the dimension.
    I am getting the following error:
    ORA-12014: table 'FOO_DIM' does not contain a primary key constraint

    It was solved. The table that I am querying has to have a primary key defined before creating a materialized view.

  • View object SponsorVwView does not include a primary key attribute RowId

    Hi,
    I have an Entity Object and a View Object which do not have a primary key. So I use a ROWID to act as one. The only thing is that sometimes I get this error which causes the application to fail on the server:
    JBO-30003: The application pool (gov.fda.cber.pts.model.services.CberPtsServiceLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.PersistenceException, msg=JBO-26028: View object SponsorVwView does not include a primary key attribute RowId of entity base SponsorVw.
    Does anyone have any any ideas on this?
    Thank you in advance

    Hi...
    I believe you'll need a PK so Oracle will know how to update the MV. Is there any particular reason for you not having a PK in FAFG_ASSETS table? As an alternative, you may want to create a new column in this table and having a table trigger/sequence populating this column.
    But It looks like you are using EBS, so, I don't know if you can add new columns to tables.
    See if this thread can help you:
    Re: ORA-12014: table 'XXX' does not contain a primary key constraint
    Regards,
    Marcos

  • Managed System Configuration ! The table does not contain any data !

    Hi,
    In Sol Man Setup , Managed System Configuration, in phase 6 - Create Logical Componets -
    There is no Product Version and Product Instance Available.
    The message is :  " The table does not contain any data "
    How can correct this problem ?
    Thanks

    Hi,
    while creating new Logical Component via SMSY , you need to specify Product first.
    e.g. if you managed system is ERP 6.0 , select Product as SAP ERP
    once you select Product , it automatically fetches information for product Version and Main Instance depending upon Product field input.
    Please check and let us know if issue still persits.
    Thanks,
    Rupali

  • E-recruitment - Table does not contain visible columns

    Guys,
    I am currently working on the e-recruitment. I had came across this
    Table does not contain visible columns
    in the all the tab in Application Entry, Preselection, Selection, Offer face... Is it a configuration or is it a portal error?

    Hello,
    This is a simple configuration issue I guess if you are using EhP4. There are no table entries for the respective processes in table V_T77RCF_CDCYLST. Just go and configure for each process in User Interfaces > Administrator and Recruiter > Settings for Candidate Selection > Assign Columns for Candidate Shortlists the columns you would like to be displayed in each process based on the business requirement.
    Regards,

  • Error : Rowkey does not have any primary key attributes

    Hello All,
    I'm developing an ADF application which has a few ADF forms. The forms have VO's and some tables.
    On running, I seem to be getting this error
    <Error> <oracle.adfinternal.view.faces.model.binding.CurrencyRowKeySet> <BEA-000000> <ADFv: Rowkey does not have any primary key attributes. Rowkey: oracle.jbo.Key[], table: oracle.jbo.server.ViewObjectImpl@2ecf4f19.>
    Where does the Rowkey have to be set? Is it in the VO?
    Regards,
    PP

    Make sure that the VO's you use have at least one attribute selected as a key attribute. GO to View Object overview editor and select attributes tab, see whether there is at least one attribute marked as a key. If not select the most appropriate attribute from the list of fields and go to edit attribute dialog, tick the key attribute property.

  • Getting ADFv: Rowkey does not have any primary key attributes

    Hi
    I am using 11.1.1.5.0 version of JDeveloper.
    The ViewObject has DistaccountId,OperatingUnit,PricingCategoryId,PartyId as Primary Key and
    the EntityObject also has DistaccountId,OperatingUnit,PricingCategoryId,PartyId as Primary Key
    and my Table also has the same set of attributes(DistaccountId,OperatingUnit,PricingCategoryId,PartyId) as Primary Key .
    I am getting the following error on Create,Update Operation -
    "<CurrencyRowKeySet> <_computeCurrentRowKey> ADFv: Rowkey does not have any primary key attributes. Rowkey: oracle.jbo.Key[], table: oracle.jbo.server.ViewObjectImpl@6c41af."
    Also,when i choose a row for Update operation,the pop-up that opens up holds the values for some other record.
    Please suggest.

    I'm not too sure but can you check if you have the following text in your page source ?
    selectedRowKeys="#{bindings.<TreeBindingName>.collectionModel.selectedRow}"
    selectionListener="#{bindings.<TreeBindingName>.collectionModel.makeCurrent}"

  • Error ORA-29532 service does not contain port

    I used utl_dbws in this simple function:
    CREATE OR REPLACE FUNCTION get_meteo (p_int_1 IN VARCHAR2,
    p_int_2 IN VARCHAR2)
    RETURN VARCHAR2
    AS
    l_service UTL_DBWS.service;
    l_call UTL_DBWS.call;
    l_wsdl_url VARCHAR2(32767);
    l_namespace VARCHAR2(32767);
    l_service_qname UTL_DBWS.qname;
    l_port_qname UTL_DBWS.qname;
    l_operation_qname UTL_DBWS.qname;
    l_xmltype_in SYS.XMLTYPE;
    l_xmltype_out SYS.XMLTYPE;
    l_return NUMBER;
    BEGIN
    l_wsdl_url := 'http://www.webservicex.net/globalweather.asmx?WSDL';
    l_namespace := 'http://www.webserviceX.NET/';
    l_service_qname := UTL_DBWS.to_qname(l_namespace, 'GlobalWeather');
    l_port_qname := UTL_DBWS.to_qname(l_namespace, 'GlobalWeatherSoap');
    l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'GetWeather');
    l_service := UTL_DBWS.create_service (
    wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
    service_name => l_service_qname);
    l_call := UTL_DBWS.create_call (
    service_handle => l_service,
    port_name => l_port_qname,
    operation_name => l_operation_qname);
    l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
    <ws_add xmlns="' || l_namespace || '">
    <CountryName>' || p_int_1 || '</CountryName>
    <CityName>' || p_int_2 || '</CityName>
    </ws_add>');
    l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
    request => l_xmltype_in);
    UTL_DBWS.release_call (call_handle => l_call);
    UTL_DBWS.release_service (service_handle => l_service);
    l_return := l_xmltype_out.extract('//return/text()').GetStringVal();
    RETURN l_return;
    END;
    SELECT get_meteo('Italy', 'Milan') FROM dual;
    When I try to execute it, I get the error:
    ORA-29532: chiamata Java terminata a causa di un'eccezione Java non ottenuta:
    service: {http://www.webserviceX.NET/}GlobalWeather does not contain port:
    {{http://www.webserviceX.NET/}GlobalWeather}GlobalWeatherSoap
    ORA-06512: a "SYS.UTL_DBWS", line 266
    ORA-06512: a "SYS.GET_METEO", line 29
    Why? Where is the mistake?
    Here is definition of the webservice:
    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.webserviceX.NET" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
    - <s:element name="GetWeather">ort
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="CityName" type="s:string" />
    <s:element minOccurs="0" maxOccurs="1" name="CountryName" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="GetWeatherResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetWeatherResult" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="GetCitiesByCountry">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="CountryName" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    - <s:element name="GetCitiesByCountryResponse">
    - <s:complexType>
    - <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetCitiesByCountryResult" type="s:string" />
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="string" nillable="true" type="s:string" />
    </s:schema>
    </wsdl:types>
    - <wsdl:message name="GetWeatherSoapIn">
    <wsdl:part name="parameters" element="tns:GetWeather" />
    </wsdl:message>
    - <wsdl:message name="GetWeatherSoapOut">
    <wsdl:part name="parameters" element="tns:GetWeatherResponse" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountrySoapIn">
    <wsdl:part name="parameters" element="tns:GetCitiesByCountry" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountrySoapOut">
    <wsdl:part name="parameters" element="tns:GetCitiesByCountryResponse" />
    </wsdl:message>
    - <wsdl:message name="GetWeatherHttpGetIn">
    <wsdl:part name="CityName" type="s:string" />
    <wsdl:part name="CountryName" type="s:string" />
    </wsdl:message>
    - <wsdl:message name="GetWeatherHttpGetOut">
    <wsdl:part name="Body" element="tns:string" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountryHttpGetIn">
    <wsdl:part name="CountryName" type="s:string" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountryHttpGetOut">
    <wsdl:part name="Body" element="tns:string" />
    </wsdl:message>
    - <wsdl:message name="GetWeatherHttpPostIn">
    <wsdl:part name="CityName" type="s:string" />
    <wsdl:part name="CountryName" type="s:string" />
    </wsdl:message>
    - <wsdl:message name="GetWeatherHttpPostOut">
    <wsdl:part name="Body" element="tns:string" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountryHttpPostIn">
    <wsdl:part name="CountryName" type="s:string" />
    </wsdl:message>
    - <wsdl:message name="GetCitiesByCountryHttpPostOut">
    <wsdl:part name="Body" element="tns:string" />
    </wsdl:message>
    - <wsdl:portType name="GlobalWeatherSoap">
    - <wsdl:operation name="GetWeather">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get weather report for all major cities around the world.</wsdl:documentation>
    <wsdl:input message="tns:GetWeatherSoapIn" />
    <wsdl:output message="tns:GetWeatherSoapOut" />
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get all major cities by country name(full / part).</wsdl:documentation>
    <wsdl:input message="tns:GetCitiesByCountrySoapIn" />
    <wsdl:output message="tns:GetCitiesByCountrySoapOut" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:portType name="GlobalWeatherHttpGet">
    - <wsdl:operation name="GetWeather">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get weather report for all major cities around the world.</wsdl:documentation>
    <wsdl:input message="tns:GetWeatherHttpGetIn" />
    <wsdl:output message="tns:GetWeatherHttpGetOut" />
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get all major cities by country name(full / part).</wsdl:documentation>
    <wsdl:input message="tns:GetCitiesByCountryHttpGetIn" />
    <wsdl:output message="tns:GetCitiesByCountryHttpGetOut" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:portType name="GlobalWeatherHttpPost">
    - <wsdl:operation name="GetWeather">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get weather report for all major cities around the world.</wsdl:documentation>
    <wsdl:input message="tns:GetWeatherHttpPostIn" />
    <wsdl:output message="tns:GetWeatherHttpPostOut" />
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get all major cities by country name(full / part).</wsdl:documentation>
    <wsdl:input message="tns:GetCitiesByCountryHttpPostIn" />
    <wsdl:output message="tns:GetCitiesByCountryHttpPostOut" />
    </wsdl:operation>
    </wsdl:portType>
    - <wsdl:binding name="GlobalWeatherSoap" type="tns:GlobalWeatherSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetWeather">
    <soap:operation soapAction="http://www.webserviceX.NET/GetWeather" style="document" />
    - <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <soap:operation soapAction="http://www.webserviceX.NET/GetCitiesByCountry" style="document" />
    - <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:binding name="GlobalWeatherSoap12" type="tns:GlobalWeatherSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetWeather">
    <soap12:operation soapAction="http://www.webserviceX.NET/GetWeather" style="document" />
    - <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <soap12:operation soapAction="http://www.webserviceX.NET/GetCitiesByCountry" style="document" />
    - <wsdl:input>
    <soap12:body use="literal" />
    </wsdl:input>
    - <wsdl:output>
    <soap12:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:binding name="GlobalWeatherHttpGet" type="tns:GlobalWeatherHttpGet">
    <http:binding verb="GET" />
    - <wsdl:operation name="GetWeather">
    <http:operation location="/GetWeather" />
    - <wsdl:input>
    <http:urlEncoded />
    </wsdl:input>
    - <wsdl:output>
    <mime:mimeXml part="Body" />
    </wsdl:output>
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <http:operation location="/GetCitiesByCountry" />
    - <wsdl:input>
    <http:urlEncoded />
    </wsdl:input>
    - <wsdl:output>
    <mime:mimeXml part="Body" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:binding name="GlobalWeatherHttpPost" type="tns:GlobalWeatherHttpPost">
    <http:binding verb="POST" />
    - <wsdl:operation name="GetWeather">
    <http:operation location="/GetWeather" />
    - <wsdl:input>
    <mime:content type="application/x-www-form-urlencoded" />
    </wsdl:input>
    - <wsdl:output>
    <mime:mimeXml part="Body" />
    </wsdl:output>
    </wsdl:operation>
    - <wsdl:operation name="GetCitiesByCountry">
    <http:operation location="/GetCitiesByCountry" />
    - <wsdl:input>
    <mime:content type="application/x-www-form-urlencoded" />
    </wsdl:input>
    - <wsdl:output>
    <mime:mimeXml part="Body" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    - <wsdl:service name="GlobalWeather">
    - <wsdl:port name="GlobalWeatherSoap" binding="tns:GlobalWeatherSoap">
    <soap:address location="http://www.webservicex.com/globalweather.asmx" />
    </wsdl:port>
    - <wsdl:port name="GlobalWeatherSoap12" binding="tns:GlobalWeatherSoap12">
    <soap12:address location="http://www.webservicex.com/globalweather.asmx" />
    </wsdl:port>
    - <wsdl:port name="GlobalWeatherHttpGet" binding="tns:GlobalWeatherHttpGet">
    <http:address location="http://www.webservicex.com/globalweather.asmx" />
    </wsdl:port>
    - <wsdl:port name="GlobalWeatherHttpPost" binding="tns:GlobalWeatherHttpPost">
    <http:address location="http://www.webservicex.com/globalweather.asmx" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>

    l_namespace := 'http://www.webserviceX.NET/';
    According to the WSDL, the target namespace is :
    http://www.webserviceX.NET(no ending slash)
    See if it makes a difference.
    I don't have UTL_DBWS installed to test, but the webservice works well when invoked via UTL_HTTP :
    SQL> DECLARE
      2    req_text   VARCHAR2(4000) :=
      3  '<?xml version="1.0" encoding="utf-8"?>
      4  <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      5    <soap:Body>
      6      <GetWeather xmlns="http://www.webserviceX.NET">
      7        <CityName>Nantes</CityName>
      8        <CountryName>France</CountryName>
      9      </GetWeather>
    10    </soap:Body>
    11  </soap:Envelope>';
    12 
    13    req        utl_http.req;
    14    res        utl_http.resp;
    15    res_text   VARCHAR2(32767);
    16 
    17  BEGIN
    18 
    19    req := utl_http.begin_request('www.webservicex.net/globalweather.asmx', 'POST', 'HTTP/1.1');
    20    utl_http.set_header(req, 'Content-Type', 'text/xml');
    21    utl_http.set_header(req, 'Content-Length', length(req_text));
    22    utl_http.set_header(req, 'SOAPAction', 'http://www.webserviceX.NET/GetWeather');
    23 
    24    utl_http.write_text(req, req_text);
    25 
    26    res := utl_http.get_response(req);
    27    utl_http.read_text(res, res_text);
    28    utl_http.end_response(res);
    29 
    30    dbms_output.put_line(res_text);
    31 
    32  END;
    33  /
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetWeatherResponse xmlns="http://www.webserviceX.NET"><GetWeatherResult>&lt;?xml version="1.0" encoding="utf-16"?&gt;
    &lt;CurrentWeather&gt;
      &lt;Location&gt;Nantes, France (LFRS) 47-10N 001-36W 27M&lt;/Location&gt;
      &lt;Time&gt;Feb 12, 2012 - 06:30 AM EST / 2012.02.12 1130 UTC&lt;/Time&gt;
      &lt;Wind&gt; from the ENE (060 degrees) at 9 MPH (8 KT):0&lt;/Wind&gt;
      &lt;Visibility&gt; greater than 7 mile(s):0&lt;/Visibility&gt;
      &lt;Temperature&gt; 32 F (0 C)&lt;/Temperature&gt;
      &lt;Wind&gt;Windchill: 24 F (-4 C):1&lt;/Wind&gt;
      &lt;DewPoint&gt; 8 F (-13 C)&lt;/DewPoint&gt;
      &lt;RelativeHumidity&gt; 36%&lt;/RelativeHumidity&gt;
      &lt;Pressure&gt; 30.53 in. Hg (1034 hPa)&lt;/Pressure&gt;
      &lt;Status&gt;Success&lt;/Status&gt;
    &lt;/CurrentWeather&gt;</GetWeatherResult></GetWeatherResponse></soap:Body></soap:Envelope>
    PL/SQL procedure successfully completed
    Or directly with the HTTP GET protocol :
    SQL> select *
      2  from xmltable(
      3       '/CurrentWeather'
      4       passing xmlparse(document
      5                xmlcast(
      6                 xmlquery(
      7                  'declare default element namespace "http://www.webserviceX.NET"; /string'
      8                  passing httpuritype('http://www.webservicex.net/globalweather.asmx/GetWeather?CityName=Nantes&CountryName=France').getXML()
      9                  returning content
    10                 ) as varchar2(4000)
    11                )
    12               )
    13       columns location    varchar2(100) path 'Location'
    14             , pressure    varchar2(100) path 'Pressure'
    15             , temperature varchar2(100) path 'Temperature'
    16  );
    LOCATION                                                 PRESSURE                            TEMPERATURE
    Nantes, France (LFRS) 47-10N 001-36W 27M                  30.53 in. Hg (1034 hPa)             32 F (0 C)

  • Dump showing that table does not contain any elements.

    Hi All,
    I have a table, with lead select.Based on the row selected, corresponding values of the row are filled in the input fields.
           I filter the table and only those rows are displayed which has status "waiting". Now the problem is when there is only one row with status "waiting", and process it, its status changes to "done", as a result of which there is no row in the table, and i get following error:
    Adapter error in INPUT_FIELD "IF_STATUS" of view "ZPWB.DISTRIBUTE_VIEW": Context binding for property VALUE cannot be resolved: The DISTRIBUTE_VIEW.1.PD_ITEMS_TAB node does not contain any elements
    Can you please help out:)

    I have now the same problem.
    somebody found out what the solution is for that issue?
    if i have an empty context i get a dump due to the context binding. what is the work around?

  • Data Services ORA-00942 table does not exist. Source/Target same DB

    Error: u201CORA-00942: table or view does not existu201D
    Source & Target Datastores in same Oracle DB but different User/Schemas.
    I set up the Data Services Tutorial Source & Target Data bases in ONE Oracle DB using a separate User/Schema for the ODS source DB & TARGET Source DB.
    I then created
    - Source datastore for the ODS DB User/schema
    - Target datastore for the TARGET DB user/Schema.
    I have no problem reading flat files & writing to TARGET datastore tables.
    However, when I read the ODS datasttore source table CUSTOMER & write to the TARGET datastore target table CUST_DIM I get an error: ORA-00942: table or view does not exist.
    I can query the table contents from the Data Flow & see the data in the source data & see the empty target table.
    So the tables exists & there is no security issues from the DS Designer.
    I did find note 1189910 - ERROR: Error Description: An error occurred while creating the result data - Data Insight XI
    Cause
    Multiple engines are being run against the same metadata repository.
    Resolution
    Verify that only one engine is being run against a single metadata repository.
    Has anyone seen this error?
    Or has anyone created a 2 data stores on the SAME DB, but to different User/Schemas?
    Thanks
    Jay Roble

    since you are accessing 2 schema which are on same oracle database, DS engine is trying to optimize and generating an INSERT INTO ... SELECT clause. Since its the same DB, DS Engine is doing a implicit linking of the datastores
    you can see the SQL generated from the Designer, drill down into DF, from the Menu select Validation ->Display Optimised SQL
    to disable this implicit linking, right click on the Dataflow, select properties
    in the properties window, unselect the the option "use database links"

  • Table does not exist when creating FK Constraint across schemas

    Hi all,
    This will probably boil down to a permissions issue since I'm sketchy on the various levels....
    I'm testing a conversion to Oracle from our legacy system. There are 4 schemas which I've created and each of those schema users have been granted DBA roles.
    After creating a number of tables I wrote the SQL to create the FK Constraints. Most of them went in, but the ones crossing schemas don't. Logged in as SYS, I can do a select from each table, I can even JOIN the two in the SELECT. However when I try creating the constraint it give me a: ORA-00942: table or view does not exist
    ALTER TABLE USERA.TABLEA ADD FOREIGN KEY (COLA) REFERENCES USERB.TABLEB (COLA) ON DELETE CASCADE
    Again, I have scads of commands that went in correctly so this must be a permissions type thing. I'm the only one logged into the database since it's my own test system. This is 10g BTW.
    If you have any suggestions as what to look into, please explain how to actually perform the checks since I'm still learning how to get around.
    Thanks very much!

    To bulk grant, you can use dynamic SQL; somthing like this:
    <BR><BR>
    SQL> declare
      2    l_grantor VARCHAR2(30) := 'USERA';
      3    l_grantee VARCHAR2(30) := 'USERB';
      4  begin
      5    for table_rec in (select owner,table_name from all_tables where OWNER=l_grantor) loop
      6      execute immediate 'GRANT REFERENCES ON '||table_rec.OWNER||'.'||table_rec.TABLE_NAME||' TO '||l_grantee;
      7    end loop;
      8  end;
      9  /

  • Select parent row where child table does not contain a value

    I have 2 tables Account and Transaction.
    I want to find all accounts where there is not a transaction of a particular type.
    eg find all accounts which do not have a transaction with a code of 20.
    Help please.

    Thanks for your help but I've got it sorted now.
    The answer was
    select clas_no, mainframe_acc_no, ttl_funds_available from summary_account sa1 where not exists (select 1 from
    (SELECT unique sa.clas_no, sa.mainframe_acc_no, ttl_funds_available, tc.tc_type
    FROM summary_account sa,
    summary_transaction st,
    transaction_type tt,
    transaction_category tc,
    transaction_group tg
    WHERE sa.sum_acc_id(+) = st.sa_sum_acc_id
    AND st.tran_type_id = tt.tran_type_id(+)
    AND tt.tran_type_id = tg.tt_tran_type_id
    AND tg.tc_tran_cat_id(+) = tc.tran_cat_id
         and tc.tc_type between 20 and 30)
              where sa1.clas_no = clas_no and tc_type = 20) and ttl_funds_available > 0
              order by clas_no

  • ORA-00942 Table does not exists

    Dear collegues,
    I have imported my csv file with the correct location. I have defined a user user for tagest Wh. T have connected the external tale to my csv file.The location ist setup correctly. But if i try to see my data in the external table i will get the above error message.
    Can someone tel me what is wrong with the process.
    Thanks

    I got the solution.
    After connect between external table and a flat file, you must deploy the external table to see the content of external table.

Maybe you are looking for

  • Safari on my iPad has a problem with the server

    Despite the connection to WLAN when trying to open an internet address is the following error message: "Page can not be opened because Safari could not connect to server" How can I fix this? cyranobandi

  • Invoice to order

    Dear Gurus, I am having scheduling agreement > delivery and collective invoice fortnightly, each day a single material is delivered to customer as per contract, so in collective invoice same material with different quantity as per POD will appear 15

  • Digital signature issues with windows 7

    My iphone won't open on my computer like it use to. This all happened when I updated my itunes software. I get a digital signature error. Apple says its a Windows problem. Windows says its an apple problem. Someone please help.

  • Adobe Reader app on my ipad air problem with combo boxes filling in

    I am using Adobe Reader app on my ipad air and when filling out forms, and making a selection from a combo box, my selection dissappears.  Not visible, not printable, not savable, just blank.  It works well on my Reader on my Windows desktop.  Any id

  • Deleting partition not working

    Running 10.5.6. On a macbook pro 17". Having managed to fill up my main hd and trying to free up some space. I'm trying to delete a 32gb partition I made and no longer have the use for. I went into disk utility and erased the partition. Then went to