Unable to create table because object exists. Where do I find object ?? :-0

Hi,
I deployed some scripts to a database, had to roll it back and then deployed again but I'm unable to create a particular table. The error says an object already exists but I can't find it. Hope this isn't a dumb question. Oracle 10.2.0.4 2 node RAC on Linux
I have looked through dba_objects for anything called LS_AURULD_RULEDATA or LI_AURULD_RULEDATA.
Here is the command and error..........
CREATE TABLE aee.T_AUDITRULEDEFINITION
2 (
OBID RAW(16) CONSTRAINT NN_AURULD_OBID NOT NULL,
SECURE_COMPANY_FK RAW(16) CONSTRAINT NN_AURULD_SCFK NOT NULL,
AUDITRULESET_FK RAW(16),
AUDITRULECLASST_FK NUMBER(2,0),
DESCRIPTION NVARCHAR2(128),
FAILUREACTION_FK NUMBER(2,0),
RULEDATA NCLOB,
RULETYPE NVARCHAR2(50),
SEQUENCENUMBER NUMBER(10,0),
TAG NVARCHAR2(64)
LOB(RULEDATA) STORE AS LS_AURULD_RULEDATA (INDEX LI_AURULD_RULEDATA)
15 TABLESPACE MOTOR_TABLES;
LOB(RULEDATA) STORE AS LS_AURULD_RULEDATA (INDEX LI_AURULD_RULEDATA) *
ERROR at line 14:
ORA-00955: name is already used by an existing object
Any help appreciated

Thanks for pointing me towards dba_lobs
SQL> select TABLE_NAME,INDEX_NAME from dba_lobs where OWNER='AEE' and index_name like 'LI_AURULD%';
TABLE_NAME INDEX_NAME
BIN$XdjCvAyQhMrgQBCsZat/dQ==$0 LI_AURULD_RULEDATA
I purged the recyclebin and all was ok

Similar Messages

  • UCM - Unable to create table 'WebdavUserPaths'.

    Hi,
    we have UCM Version:10.1.3.5.1 (091014) (Build:7.2.4.29). It runs on production environment and also we have a test instance.
    It runs fine for long time. Yesterday I stopped the content server on test environment. Problem is that I am not able to start it anymore. While starting I am receiving this error:
    Unable to create table 'WebdavUserPaths'. ORA-00955: name is already used by an existing object
    ORA-00955: name is already used by an existing object
    intradoc.common.ServiceException: !csDbUnableToPerformAction_create,WebdavUserPaths!$ORA-00955: name is already used by an existing object
    While analyzing this, I found there is the table WebdavUserPaths in the database and it is empty. This table is present in both databases - PROD and also in TEST. In both envs it is empty.
    I found out that when I disable CoreWebdav component in ComponentWizard, then the content server starts up fine, bud WebDav is not working of course...
    I would need to solve this issue, but I do not want to start immediately dropping that tables, etc... without knowing what is it used for, why content server wants to recreate the tables, etc...
    Any body has an ideas?
    Thanks.

    Thanks for pointing me towards dba_lobs
    SQL> select TABLE_NAME,INDEX_NAME from dba_lobs where OWNER='AEE' and index_name like 'LI_AURULD%';
    TABLE_NAME INDEX_NAME
    BIN$XdjCvAyQhMrgQBCsZat/dQ==$0 LI_AURULD_RULEDATA
    I purged the recyclebin and all was ok

  • Does any link exists where we can find Language code to Country mapping?

    Does any link exists where we can find Language code to Country code mapping pls?

    DrClap wrote:
    >
    You might be able to use the Locale.getAvailableLocales() method to get a subset of that list.
    Use of getAvailableLocales() display the following: [Below is Language: Country values for AvailableLocales]
    ar:
    ar: AE
    ar: BH
    ar: DZ
    ar: EG
    ar: IQ
    ar: JO
    ar: KW
    ar: LB
    ar: LY
    ar: MA
    ar: OM
    ar: QA
    ar: SA
    ar: SD
    ar: SY
    ar: TN
    ar: YE
    hi: IN
    iw:
    iw: IL
    ja:
    ja: JP
    ko:
    ko: KR
    th:
    th: TH
    th: TH
    zh:
    zh: CN
    zh: HK
    zh: TW
    be:
    be: BY
    bg:
    bg: BG
    ca:
    ca: ES
    cs:
    cs: CZ
    da:
    da: DK
    de:
    de: AT
    de: CH
    de: DE
    de: LU
    el:
    el: GR
    en: AU
    en: CA
    en: GB
    en: IE
    en: IN
    en: NZ
    en: ZA
    es:
    es: AR
    es: BO
    es: CL
    es: CO
    es: CR
    es: DO
    es: EC
    es: ES
    es: GT
    es: HN
    es: MX
    es: NI
    es: PA
    es: PE
    es: PR
    es: PY
    es: SV
    es: UY
    es: VE
    et:
    et: EE
    fi:
    fi: FI
    fr:
    fr: BE
    fr: CA
    fr: CH
    fr: FR
    fr: LU
    hr:
    hr: HR
    hu:
    hu: HU
    is:
    is: IS
    it:
    it: CH
    it: IT
    lt:
    lt: LT
    lv:
    lv: LV
    mk:
    mk: MK
    nl:
    nl: BE
    nl: NL
    no:
    no: NO
    no: NO
    pl:
    pl: PL
    pt:
    pt: BR
    pt: PT
    ro:
    ro: RO
    ru:
    ru: RU
    sh:
    sh: YU
    sk:
    sk: SK
    sl:
    sl: SI
    sq:
    sq: AL
    sr:
    sr: YU
    sv:
    sv: SE
    tr:
    tr: TR
    uk:
    uk: UA
    en:
    en: US
    Where, some of them have country values as blank. It seems strange..!! Any specific reason for blank country names?

  • Unable to Create Entity Model from existing oracle database

    Hi,
    I am using Visual Studio 2013, .net framework 4.5, entity framework 5.0 and oracle 11g database.
    Issue Description: I need to develop WCF service to exposing the account information which needs to get the data from 20 oracle tables. Trying to create entity model from existing oracle database. first i tried creating just two tables it
    was created but it took more than 30 minutes. then i selected remaining few tables it took more than a days but nothing created just showing spinning the wheel. then i tried with fresh project and selected all the tables but same issue nothing created and
    also there is no error. during this process i checked database query monitoring there is a big sql statement collection tables metadata. i don't know what was wrong the query taking too much time to complete the  process.
    we tried multiple machine and different oracle database all are same issue.
    Sql server database -looks good no issues.
    Any help/tips/ideas welcome to overcome this issue.

    Hi Sakthimp,
    Welcome to MSDN forum.
    Your issue is out of support range of VS General Question forum which mainly discusses the usage of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because your issue only occurred with oracle database, moreover Oracle developed the Entity Framework for Oracle itself, I suggest that you can consult your issue on Oracle forum/community:
    you will get better solution and support there.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Unable to create Tables in design view

    One of the two problems I am having (the other will also be
    posted) is that I am no longer able to use Design View to Insert
    Tables at all - I get the following error message: (I made a
    printscreen of the error but not sure how to embed the picture in
    this post so here is the message verbatim).
    "While executing objectTag, the following JavaScript error(s)
    occured:
    At line 26 of file "Macintosh HD:Applications:Macromedia
    Dreaweaver 8:Configuration
    bjects:Common:Table.htm":
    Type Error: cmdDOM.parentWindow.createTableStr is not a
    function"
    I can create tables only if I type the html for them by hand
    into the code pane. The file that the error message references does
    exist, and appears to look fine (code-wise). I've also tried
    uninstalling and reinstalling DW8, removing and recreating the
    Configuration Folder as well as the site prefs and site definitions
    - nothing has cured this problem.
    I am using DW8 v. 8.0.2 on a Mac Quad G5 running OS X 10.4.6.
    I am positive that I did not have this problem, or any of the other
    current problems, with DW MX , and I installed DW8 as a stand-alone
    app so that I could still use MX if needed. This and the other
    problems don't occur with MX but I would really like to get them
    solved because 8 offers other benefits that I want to be able to
    use.
    I'm wondering if anyone else has had this problem and managed
    to find a fix for it.

    One of the two problems I am having (the other will also be
    posted) is that I am no longer able to use Design View to Insert
    Tables at all - I get the following error message: (I made a
    printscreen of the error but not sure how to embed the picture in
    this post so here is the message verbatim).
    "While executing objectTag, the following JavaScript error(s)
    occured:
    At line 26 of file "Macintosh HD:Applications:Macromedia
    Dreaweaver 8:Configuration
    bjects:Common:Table.htm":
    Type Error: cmdDOM.parentWindow.createTableStr is not a
    function"
    I can create tables only if I type the html for them by hand
    into the code pane. The file that the error message references does
    exist, and appears to look fine (code-wise). I've also tried
    uninstalling and reinstalling DW8, removing and recreating the
    Configuration Folder as well as the site prefs and site definitions
    - nothing has cured this problem.
    I am using DW8 v. 8.0.2 on a Mac Quad G5 running OS X 10.4.6.
    I am positive that I did not have this problem, or any of the other
    current problems, with DW MX , and I installed DW8 as a stand-alone
    app so that I could still use MX if needed. This and the other
    problems don't occur with MX but I would really like to get them
    solved because 8 offers other benefits that I want to be able to
    use.
    I'm wondering if anyone else has had this problem and managed
    to find a fix for it.

  • Script to create tables from  an existing database

    I need a script to create tables without storage parameters from existing database

    Please repost your question in the database forum, General Database Discussions

  • Help...Unable to create table.

    I'm trying to create a table using following syntax and it's throwing "ORA-22809: nonexistent attribute" error. I've used the same script before on 10gR1 and it was fine. Now, I'm trying to test this on 10gR2 and it's not working. Any ideas?
    Schema
    DECLARE
    xmlblurb CLOB
    := '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" version="1.0" xdb:storeVarrayAsTable="true">
    <xs:element name="docattribs" type="DocAttribsType"/>
    <xs:complexType name="DocAttribsType" xdb:SQLType="DOCATTRIBS_T">
    <xs:sequence>
    <xs:element name="brandgroups" type="BrandGroupsType" xdb:SQLName="BRANDGROUPS"/>
    <xs:element name="messagegroups" type="MessageGroupsType" xdb:SQLName="MESSAGEGROUPS"/>
    <xs:element name="sources" type="SourcesType" xdb:SQLName="SOURCES"/>
    <xs:element name="contentgroups" type="ContentGroupsType" xdb:SQLName="CONTENTGROUPS"/>
    <xs:element name="authors" type="AuthorsType" xdb:SQLName="AUTHORS"/>
    <xs:element name="themes" type="ThemesType" xdb:SQLName="THEMES"/>
    <xs:element name="entities" type="EntitiesType" xdb:SQLName="ENTITIES"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="BrandGroupsType" xdb:SQLType="BRANDGROUPS_T">
    <xs:sequence>
    <xs:element name="bg" type="IdMentionsToneType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BG" xdb:SQLCollType="IDMENTIONSTONE_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MessageGroupsType" xdb:SQLType="MESSAGEGROUPS_T">
    <xs:sequence>
    <xs:element name="mg" type="MessageGroupType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="MG" xdb:SQLCollType="MG_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MessageGroupType" xdb:SQLType="MESSAGEGROUP_T">
    <xs:sequence>
    <xs:element name="bg" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BG" xdb:SQLCollType="ID_COLL"/>
    </xs:sequence>
    <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    </xs:complexType>
    <xs:complexType name="SourcesType" xdb:SQLType="SOURCES_T">
    <xs:sequence>
    <xs:element name="source" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="SOURCE" xdb:SQLCollType="ID_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ContentGroupsType" xdb:SQLType="CONTENTGROUPS_T">
    <xs:sequence>
    <xs:element name="pcg" type="ParentContentGroupType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="PCG" xdb:SQLCollType="PCG_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ParentContentGroupType" xdb:SQLType="PARENTCONTENTGROUP_T">
    <xs:sequence>
    <xs:element name="cg" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="CG" xdb:SQLCollType="ID_COLL"/>
    </xs:sequence>
    <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    </xs:complexType>
    <xs:complexType name="AuthorsType" xdb:SQLType="AUTHORS_T">
    <xs:sequence>
    <xs:element name="author" type="NameType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="AUTHOR" xdb:SQLCollType="NAME_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="ThemesType" xdb:SQLType="THEMES_T">
    <xs:sequence>
    <xs:element name="theme" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="THEME" xdb:SQLCollType="ID_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="EntitiesType" xdb:SQLType="ENTITIES_T">
    <xs:sequence>
    <xs:element name="af" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="ANALYST_FIRMS" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="a" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="ANALYSTS" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="b" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BRANDS" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="c" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="COMPANIES" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="l" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="LOCATIONS" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="m" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="MESSAGES" xdb:SQLCollType="IDMENTIONS_COLL"/>
    <xs:element name="p" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="PEOPLE" xdb:SQLCollType="IDMENTIONS_COLL"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="IdMentionsType" xdb:SQLType="IDMENTIONS_T">
    <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    <xs:attribute name="mentions" type="xs:integer" xdb:SQLName="MENTIONS"/>
    </xs:complexType>
    <xs:complexType name="IdMentionsToneType" xdb:SQLType="IDMENTIONSTONE_T">
    <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    <xs:attribute name="mentions" type="xs:integer" xdb:SQLName="MENTIONS"/>
    <xs:attribute name="toneid" type="xs:integer" xdb:SQLName="TONEID"/>     
    </xs:complexType>
    <xs:complexType name="IdType" xdb:SQLType="ID_T">
    <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    </xs:complexType>     
    <xs:complexType name="NameType" xdb:SQLType="NAME_T">
    <xs:attribute name="name" type="xs:string" xdb:SQLName="NAME"/>
    </xs:complexType>
    </xs:schema>';
    BEGIN
    dbms_xmlschema.registerschema ('cymfony_docattribs.xsd',
    xmlblurb,
    TRUE,
    TRUE,
    FALSE,
    FALSE
    END;
    Create table syntax:
    CREATE TABLE xml_docattributes (
    docid NUMBER,
    docdate DATE,
    statusid NUMBER)
    TABLESPACE data_10m_a
    ALTER TABLE xml_docattributes
    ADD (docattributes XMLTYPE)
    XMLTYPE COLUMN docattributes STORE AS OBJECT RELATIONAL
    XMLSCHEMA "cymfony_docattribs.xsd" ELEMENT "docattribs"
    VARRAY docattributes."XMLDATA"."brandgroups"."bg" STORE AS TABLE xml_brandgroups
    ((constraint pk_xml_brandgroups PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."messagegroups"."mg" STORE AS TABLE xml_messagegroups
    ((CONSTRAINT pk_xml_messagegroups PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY "bg" STORE AS TABLE xml_brandgroup
    ((CONSTRAINT pk_xml_brandgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
         ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."sources"."source" STORE AS TABLE xml_sources
    ((CONSTRAINT pk_xml_sources PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."contentgroups"."pcg" STORE AS TABLE xml_contentgroups
    ((CONSTRAINT pk_xml_contentgroups PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
         ORGANIZATION INDEX)
    VARRAY "cg" STORE AS TABLE xml_contentgroup
    ((CONSTRAINT pk_xml_contentgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
              ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."authors"."author" STORE AS TABLE xml_authors
    ((CONSTRAINT pk_xml_authors PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
         ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."themes"."theme" STORE AS TABLE xml_themes
    ((CONSTRAINT pk_xml_themes PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."a" STORE AS TABLE xml_analysts
    ((constraint pk_xml_analysts PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."af" STORE AS TABLE xml_analystfirms
    ((constraint pk_xml_analystfirms PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."b" STORE AS TABLE xml_brands
    ((constraint pk_xml_brands PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."c" STORE AS table xml_companies
    ((constraint pk_xml_companies primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."l" STORE AS table xml_locations
    ((constraint pk_xml_locations primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."m" STORE AS table xml_messages
    ((constraint pk_xml_messages primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    VARRAY docattributes."XMLDATA"."entities"."p" STORE AS table xml_people
    ((constraint pk_xml_people primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    ORGANIZATION INDEX)
    /

    At the end of the day there were a number of typos in the ALTER TABLE ADD statement. Here's a debugged version based on the orignal annotated XML Schema..
    SQL> var schemaURL varchar2(256)
    SQL> var schemaPath varchar2(256)
    SQL> --
    SQL> begin
      2    :schemaURL := 'cymfony_docattribs.xsd';
      3    :schemaPath := '/public/cymfony_docattribs.xsd';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SQL> call dbms_xmlSchema.deleteSchema(:schemaURL,4)
      2  /
    Call completed.
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" version="1.0" xdb:storeVarrayAsTable="t
    rue">
      5     <xs:element name="docattribs" type="DocAttribsType"/>
      6     <xs:complexType name="DocAttribsType" xdb:SQLType="DOCATTRIBS_T">
      7             <xs:sequence>
      8                     <xs:element name="brandgroups" type="BrandGroupsType" xdb:SQLName="BRANDGROUPS"/>
      9                     <xs:element name="messagegroups" type="MessageGroupsType" xdb:SQLName="MESSAGEGROUPS"/>
    10                     <xs:element name="sources" type="SourcesType" xdb:SQLName="SOURCES"/>
    11                     <xs:element name="contentgroups" type="ContentGroupsType" xdb:SQLName="CONTENTGROUPS"/>
    12                     <xs:element name="authors" type="AuthorsType" xdb:SQLName="AUTHORS"/>
    13                     <xs:element name="themes" type="ThemesType" xdb:SQLName="THEMES"/>
    14                     <xs:element name="entities" type="EntitiesType" xdb:SQLName="ENTITIES"/>
    15             </xs:sequence>
    16     </xs:complexType>
    17     <xs:complexType name="BrandGroupsType" xdb:SQLType="BRANDGROUPS_T">
    18             <xs:sequence>
    19                     <xs:element name="bg" type="IdMentionsToneType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BG" xdb:SQLCollType
    ="IDMENTIONSTONE_COLL"/>
    20             </xs:sequence>
    21     </xs:complexType>
    22     <xs:complexType name="MessageGroupsType" xdb:SQLType="MESSAGEGROUPS_T">
    23             <xs:sequence>
    24                     <xs:element name="mg" type="MessageGroupType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="MG" xdb:SQLCollType="
    MG_COLL"/>
    25             </xs:sequence>
    26     </xs:complexType>
    27     <xs:complexType name="MessageGroupType" xdb:SQLType="MESSAGEGROUP_T">
    28             <xs:sequence>
    29                     <xs:element name="bg" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BG" xdb:SQLCollType="ID_COLL"/>
    30             </xs:sequence>
    31             <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    32     </xs:complexType>
    33     <xs:complexType name="SourcesType" xdb:SQLType="SOURCES_T">
    34             <xs:sequence>
    35                     <xs:element name="source" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="SOURCE" xdb:SQLCollType="ID
    _COLL"/>
    36             </xs:sequence>
    37     </xs:complexType>
    38     <xs:complexType name="ContentGroupsType" xdb:SQLType="CONTENTGROUPS_T">
    39             <xs:sequence>
    40                     <xs:element name="pcg" type="ParentContentGroupType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="PCG" xdb:SQLCo
    llType="PCG_COLL"/>
    41             </xs:sequence>
    42     </xs:complexType>
    43     <xs:complexType name="ParentContentGroupType" xdb:SQLType="PARENTCONTENTGROUP_T">
    44             <xs:sequence>
    45                     <xs:element name="cg" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="CG" xdb:SQLCollType="ID_COLL"/>
    46             </xs:sequence>
    47             <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    48     </xs:complexType>
    49     <xs:complexType name="AuthorsType" xdb:SQLType="AUTHORS_T">
    50             <xs:sequence>
    51                     <xs:element name="author" type="NameType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="AUTHOR" xdb:SQLCollType="
    NAME_COLL"/>
    52             </xs:sequence>
    53     </xs:complexType>
    54     <xs:complexType name="ThemesType" xdb:SQLType="THEMES_T">
    55             <xs:sequence>
    56                     <xs:element name="theme" type="IdType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="THEME" xdb:SQLCollType="ID_C
    OLL"/>
    57             </xs:sequence>
    58     </xs:complexType>
    59     <xs:complexType name="EntitiesType" xdb:SQLType="ENTITIES_T">
    60             <xs:sequence>
    61                     <xs:element name="af" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="ANALYST_FIRMS" xdb:SQLC
    ollType="IDMENTIONS_COLL"/>
    62                     <xs:element name="a" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="ANALYSTS" xdb:SQLCollTyp
    e="IDMENTIONS_COLL"/>
    63                     <xs:element name="b" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="BRANDS" xdb:SQLCollType=
    "IDMENTIONS_COLL"/>
    64                     <xs:element name="c" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="COMPANIES" xdb:SQLCollTy
    pe="IDMENTIONS_COLL"/>
    65                     <xs:element name="l" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="LOCATIONS" xdb:SQLCollTy
    pe="IDMENTIONS_COLL"/>
    66                     <xs:element name="m" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="MESSAGES" xdb:SQLCollTyp
    e="IDMENTIONS_COLL"/>
    67                     <xs:element name="p" type="IdMentionsType" minOccurs="0" maxOccurs="unbounded" xdb:SQLName="PEOPLE" xdb:SQLCollType=
    "IDMENTIONS_COLL"/>
    68             </xs:sequence>
    69     </xs:complexType>
    70     <xs:complexType name="IdMentionsType" xdb:SQLType="IDMENTIONS_T">
    71             <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    72             <xs:attribute name="mentions" type="xs:integer" xdb:SQLName="MENTIONS"/>
    73     </xs:complexType>
    74     <xs:complexType name="IdMentionsToneType" xdb:SQLType="IDMENTIONSTONE_T">
    75             <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    76             <xs:attribute name="mentions" type="xs:integer" xdb:SQLName="MENTIONS"/>
    77             <xs:attribute name="toneid" type="xs:integer" xdb:SQLName="TONEID"/>
    78     </xs:complexType>
    79     <xs:complexType name="IdType" xdb:SQLType="ID_T">
    80             <xs:attribute name="id" type="xs:integer" xdb:SQLName="ID"/>
    81     </xs:complexType>
    82     <xs:complexType name="NameType" xdb:SQLType="NAME_T">
    83             <xs:attribute name="name" type="xs:string" xdb:SQLName="NAME"/>
    84     </xs:complexType>
    85  </xs:schema>');
    86  begin
    87    if (dbms_xdb.existsResource(:schemaPath)) then
    88      dbms_xdb.deleteResource(:schemaPath);
    89    end if;
    90    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    91  end;
    92  /
    PL/SQL procedure successfully completed.
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,FALSE
      7    );
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> set pages 0 lines 150
    SQL> --
    SQL> column column_name format A20
    SQL> column data_type format A20
    SQL> column qualified_col_name format A60
    SQL> --
    SQL> DROP TABLE DOCATTRIBUTES
      2  /
    Table dropped.
    SQL> CREATE TABLE docattributes
      2  (
      3    docid NUMBER,
      4    docdate DATE,
      5    statusid NUMBER
      6  )
      7  TABLESPACE USERS
      8  /
    Table created.
    SQL> ALTER TABLE docattributes ADD
      2  (
      3    docattributes XMLTYPE
      4  )
      5  XMLTYPE COLUMN docattributes
      6  XMLSCHEMA "cymfony_docattribs.xsd"
      7  ELEMENT "docattribs"
      8  VARRAY docattributes."XMLDATA"."BRANDGROUPS"."BG"
      9         STORE AS TABLE xml_brandgroups
    10         (
    11           (CONSTRAINT pk_xml_brandgroups PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$))
    12            ORGANIZATION INDEX OVERFLOW
    13         )
    14  VARRAY docattributes."XMLDATA"."MESSAGEGROUPS"."MG"
    15         STORE AS TABLE xml_messagegroups
    16         (
    17           (CONSTRAINT pk_xml_messagegroups PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$))
    18           ORGANIZATION INDEX OVERFLOW
    19           VARRAY "BG"
    20           STORE AS TABLE XML_BRANDGROUP
    21           (
    22             (CONSTRAINT pk_xml_brandgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    23             ORGANIZATION INDEX OVERFLOW
    24           )
    25         )
    26  VARRAY docattributes."XMLDATA"."SOURCES"."SOURCE"
    27         STORE AS TABLE xml_sources
    28         (
    29           (CONSTRAINT pk_xml_sources PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    30           ORGANIZATION INDEX OVERFLOW
    31         )
    32  VARRAY docattributes."XMLDATA"."CONTENTGROUPS"."PCG"
    33         STORE AS TABLE xml_contentgroups
    34         (
    35           (CONSTRAINT pk_xml_contentgroups PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    36            ORGANIZATION INDEX OVERFLOW
    37            VARRAY "CG"
    38            STORE AS TABLE xml_contentgroup
    39            (
    40              (CONSTRAINT pk_xml_contentgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    41              ORGANIZATION INDEX OVERFLOW
    42            )
    43         )
    44  VARRAY docattributes."XMLDATA"."AUTHORS"."AUTHOR"
    45         STORE AS TABLE xml_authors
    46         (
    47           (CONSTRAINT pk_xml_authors PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    48           ORGANIZATION INDEX OVERFLOW
    49         )
    50  VARRAY docattributes."XMLDATA"."THEMES"."THEME"
    51         STORE AS TABLE xml_themes
    52         (
    53           (CONSTRAINT pk_xml_themes PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    54           ORGANIZATION INDEX OVERFLOW
    55         )
    56  VARRAY docattributes."XMLDATA"."ENTITIES"."ANALYSTS"
    57         STORE AS TABLE xml_analysts
    58         (
    59           (constraint pk_xml_analysts PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    60           ORGANIZATION INDEX OVERFLOW
    61         )
    62  VARRAY docattributes."XMLDATA"."ENTITIES"."ANALYST_FIRMS"
    63         STORE AS TABLE xml_analystfirms
    64         (
    65           (constraint pk_xml_analystfirms PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    66           ORGANIZATION INDEX OVERFLOW
    67         )
    68  VARRAY docattributes."XMLDATA"."ENTITIES"."BRANDS"
    69         STORE AS TABLE xml_brands
    70         (
    71           (constraint pk_xml_brands PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
    72           ORGANIZATION INDEX
    73         )
    74  VARRAY docattributes."XMLDATA"."ENTITIES"."COMPANIES"
    75         STORE AS table xml_companies
    76         (
    77           (constraint pk_xml_companies primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    78           ORGANIZATION INDEX
    79         )
    80  VARRAY docattributes."XMLDATA"."ENTITIES"."LOCATIONS"
    81         STORE AS table xml_locations
    82         (
    83           (constraint pk_xml_locations primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    84           ORGANIZATION INDEX
    85         )
    86  VARRAY docattributes."XMLDATA"."ENTITIES"."MESSAGES"
    87         STORE AS table xml_messages
    88         (
    89           (constraint pk_xml_messages primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    90           ORGANIZATION INDEX
    91         )
    92  VARRAY docattributes."XMLDATA"."ENTITIES"."PEOPLE"
    93         STORE AS table xml_people
    94         (
    95           (constraint pk_xml_people primary key (NESTED_TABLE_ID, ARRAY_INDEX))
    96           ORGANIZATION INDEX
    97         )
    98  /
    Table altered.
    SQL>and here's the actual alter table statement source
    CREATE TABLE docattributes
      docid NUMBER,
      docdate DATE,
      statusid NUMBER
    TABLESPACE USERS
    ALTER TABLE docattributes ADD
      docattributes XMLTYPE
    XMLTYPE COLUMN docattributes
    XMLSCHEMA "cymfony_docattribs.xsd"
    ELEMENT "docattribs"
    VARRAY docattributes."XMLDATA"."BRANDGROUPS"."BG"
           STORE AS TABLE xml_brandgroups
             (CONSTRAINT pk_xml_brandgroups PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$))
              ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."MESSAGEGROUPS"."MG"
           STORE AS TABLE xml_messagegroups
             (CONSTRAINT pk_xml_messagegroups PRIMARY KEY (NESTED_TABLE_ID, SYS_NC_ARRAY_INDEX$))
             ORGANIZATION INDEX OVERFLOW
             VARRAY "BG"
             STORE AS TABLE XML_BRANDGROUP
               (CONSTRAINT pk_xml_brandgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
               ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."SOURCES"."SOURCE"
           STORE AS TABLE xml_sources
             (CONSTRAINT pk_xml_sources PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."CONTENTGROUPS"."PCG"
           STORE AS TABLE xml_contentgroups
             (CONSTRAINT pk_xml_contentgroups PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
              ORGANIZATION INDEX OVERFLOW
              VARRAY "CG"
              STORE AS TABLE xml_contentgroup
                (CONSTRAINT pk_xml_contentgroup PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
                ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."AUTHORS"."AUTHOR"
           STORE AS TABLE xml_authors
             (CONSTRAINT pk_xml_authors PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."THEMES"."THEME"
           STORE AS TABLE xml_themes
             (CONSTRAINT pk_xml_themes PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."ENTITIES"."ANALYSTS"
           STORE AS TABLE xml_analysts
             (constraint pk_xml_analysts PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."ENTITIES"."ANALYST_FIRMS"
           STORE AS TABLE xml_analystfirms
             (constraint pk_xml_analystfirms PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX OVERFLOW
    VARRAY docattributes."XMLDATA"."ENTITIES"."BRANDS"
           STORE AS TABLE xml_brands
             (constraint pk_xml_brands PRIMARY KEY (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX
    VARRAY docattributes."XMLDATA"."ENTITIES"."COMPANIES"
           STORE AS table xml_companies
             (constraint pk_xml_companies primary key (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX
    VARRAY docattributes."XMLDATA"."ENTITIES"."LOCATIONS"
           STORE AS table xml_locations
             (constraint pk_xml_locations primary key (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX
    VARRAY docattributes."XMLDATA"."ENTITIES"."MESSAGES"
           STORE AS table xml_messages
             (constraint pk_xml_messages primary key (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX
    VARRAY docattributes."XMLDATA"."ENTITIES"."PEOPLE"
           STORE AS table xml_people
             (constraint pk_xml_people primary key (NESTED_TABLE_ID, ARRAY_INDEX))
             ORGANIZATION INDEX
    /

  • Unable to create table in Dictionary DC

    Hi All,
    I m trying to add one more table to my Dictionary DC.
    I created table and nothing is getting attached to the Activity that I created for this !!!
    So when m adding it to DTR manually (right click -> add to DTR),  it is showing error pop up msg saying
    "BIT_ROLEDESC: Could not connect to name server" 
    and in error log following is the error displayed:-
    com.sap.dictionary.tools.nameserver.ReservationException: BIT_ROLEDESC: Could not connect to name server
         at com.sap.dictionary.tools.nameserver.DtrPropertySetter.createProperties(DtrPropertySetter.java:115)
         at com.tssap.dii.dtri.actions.file.FileAddAction.run(FileAddAction.java:144)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:229)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1391)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:286)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:795)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:602)
    Why is this happening?? What shud be done to get it rite??
    Pls help as my work is stuck in table creation !!!
    regards,
    Amey

    Ok...
    So if I set this property then it will work fine right? Can you pls elaborate the procedure ??
    But one thing I dont understand is how come all other tables got generated properly and got attached to their activities ???
    Why problem is coming with this particular table?
    regards,
    Amey
    Edited by: Amey Mogare on May 27, 2008 5:58 AM

  • Unable to create table with column default value with date interval

    Please help to create table with calculated date defaullt value:
    CREATE TABLE emp (
      birth_date  DATE  DEFAULT sysdate + interval '3' day NOT NULL
    or
    CREATE TABLE emp (
      some_date DATE,
      birth_date  DATE  DEFAULT some_date NOT NULL
    or
    CREATE TABLE emp (
      some_date DATE,
      birth_date  DATE  DEFAULT some_date + interval '3' day NOT NULL
    below syntax error:
    TT1001: Syntax error in SQL statement before or at: "+"

    I'm afraid this is not possible; as per the SQL Reference, TimesTen only supports 'constant expressions' for the DEFAULT clause and none of these are constant expressions.
    Chris

  • Unable to create tables through dbms_sql

    Hai
    I got the below error when i am createing table through dbms_sql package at any user except sys user.Our database is 8.1.6 standard edition
    SQL>CONNECT MOHAN/MOHAN;
    SQL> CREATE OR REPLACE Procedure EXECUTESQL (SQLStatement IN VARCHAR2) IS cursor
    _name INTEGER; ret
    2 INTEGER; BEGIN cursor_name := DBMS_SQL.OPEN_CURSOR; DBMS_SQL.PARSE(cursor_n
    ame, SQLStatement,
    3 DBMS_SQL.native); ret := DBMS_SQL.Execute(cursor_name); DBMS_SQL.CLOSE_CURS
    OR(cursor_name); END;
    4 /
    Procedure created.
    SQL> exec EXECUTESQL('create table test(name number)');
    BEGIN EXECUTESQL('create table test(name number)'); END;
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_SYS_SQL", line 782
    ORA-06512: at "SYS.DBMS_SQL", line 32
    ORA-06512: at "MOHAN.EXECUTESQL", line 2
    ORA-06512: at line 1
    Any idea about that
    Thanks in advance
    mohan

    Since you are using Oracle 8.1.6, you can use EXECUTE IMMEDIATE instead of DBMS_SQL. Make sure that the necessary privileges have been granted directly, not through roles. Click on the link below for more about privileges and roles and the error message that you got:
    http://osi.oracle.com/~tkyte/Misc/RolesAndProcedures.html
    Once you have the privileges granted properly, you should be able to use the code below. I should point out that this is still doing things the hard way. You can just issue the create table statement from the SQL prompt. I must assume that this is just a minimal experiment and that the eventual code involves more.
    SQL> CREATE OR REPLACE PROCEDURE executesql
      2    (SQLStatement IN VARCHAR2)
      3  IS
      4  BEGIN
      5    EXECUTE IMMEDIATE SQLStatement;
      6  END executesql;
      7  /
    Procedure created.
    SQL> EXEC executesql ('CREATE TABLE test (name NUMBER)')
    PL/SQL procedure successfully completed.
    SQL> DESC test
    Name                                      Null?    Type
    NAME                                               NUMBER

  • Where can I find object priviledges?

    I know dba_tab_privs has object prviledges. But I just did a test creating a user and granting execute on that user to a procedure. But the user does not show up as a grantee in this table. Where do I find this information in the dictionary?

    it must be in dba_tab_privs
    select * from dba_tab_privs where table_name='YOU_PROC_IN_UPPER_CASE';if its system level privs
    it wolud be in dba_sys_privs
    if its role priv, check in dba_role_privs

  • Thanks for helping us by creating excisitng browsers features. Where can I find exe to install Firefox14 on my machine.

    I have to do browser configuration testing on Firefox 14. Where can in find the exe to install the same on my windows7 mahcine. I am strictly looking for Firefox14 only. Thanks in advance for the help.

    Hi reaves009,
    you can not find 14 because it is not exist, only 14.0.1
    [https://support.mozilla.org/en-US/kb/install-older-version-of-firefox Install an older version of Firefox]
    thank you

  • Unable to create Table Bean advanced search criteria

    Hi,
    I want to create new search criteria for advanced search region. The reason being new search criteria i tried to add by personalization it didnt worked may be guessing construction mode is autocustomization mode. Somewhere i have seen if resultsbased it will work. Can someone confirm on this??
    I'm trying to create new bean for search criteria at the specified location under <oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" but unable to do so:
    Here is the part of the page
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile(120.15.12000000.2=120.18)(115.26=120.1):~PROD:~PATH:~FILE &fullpath_~PROD_~PATH_~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath_~PROD_mds_directory -->
    <page xmlns="http://xmlns.oracle.com/jrad" xmlns:ui="http://xmlns.oracle.com/uix/ui" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:user="http://xmlns.oracle.com/jrad/user" file-version="$Header: EAM_AD_ADVSEARCH_PAGE.xml 120.18.12010000.3 2009/02/11 09:21:55 smrsharm ship $" version="10.1.3_1147" xml:lang="en-US" xmlns:jrad="http://xmlns.oracle.com/jrad">
    <content>
    <oa:pageLayout id="EAM_AD_ADVSEARCH_PAGE" akRegionCode="EAM_AD_ADVSEARCH_PAGE" regionName="Asset Search" amDefName="oracle.apps.eam.asset.server.AdvSearchAM" controllerClass="oracle.apps.eam.asset.webui.AdvSearchPageCO" appMenu="EAM_MAIN_SS" amStateRequired="false" helpTarget="EAM_AD_ADVSEARCH_PAGE">
    <ui:corporateBranding>
    <oa:image id="corporateBranding" source="/OA_MEDIA/FNDSSCORP.gif" shortDesc="Oracle"/>
    </ui:corporateBranding>
    <ui:productBranding>
    <oa:image id="productBranding" source="/OA_MEDIA/EAMBRAND.gif" shortDesc="Asset Management"/>
    </ui:productBranding>
    <ui:contents>
    <oa:query id="EamAssetQueryRegion" mode="autoCustomizationCriteria" dispSimple="true" dispCustomized="true" dispAdvanced="true" defaultPanel="customized" controllerClass="oracle.apps.eam.asset.webui.AdvSearchSearchCO" simpleSearchPanelButtonLabel="Simple Search" viewConfPanelButtonLabel="Views" advSearchPanelButtonLabel="Advanced Search" customizePanelTitle="Views" saveSearchButtonText="Save Search">
    <oa:simpleSearchPanel>
    <oa:defaultSingleColumn id="AssetSimpleSearchRegion" headerDisabled="false" text="Simple Search">
    <ui:contents>
    <oa:messageTextInput readOnly="false" columns="25" prompt="Asset Number" rows="1" secret="false" maximumLength="30" shortDesc="Asset Serial Number" id="EamAssetNumber" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_NUMBER" user:akAttributeApplicationId="426" required="no" selectiveSearchCriteria="true"/>
    <oa:messageLovInput externalListOfValues="/oracle/apps/eam/lov/webui/EAM_ASSET_CATEGORY_LOV" readOnly="false" columns="25" prompt="Category" rows="1" secret="false" id="EamAssetCategory" promptTranslationExpansion="100%" user:akAttributeCode="EAM_ASSET_CATEGORY" user:akAttributeApplicationId="426" selectiveSearchCriteria="true" shortDesc="Category">
    <lovMappings>
    <lovMap criteriaFrom="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap1"/>
    <lovMap resultTo="EamAssetCategory" lovItem="EamAssetCategory" id="lovMap2"/>
    <lovMap id="lovMap39" lovItem="EamAssetCategoryId" resultTo="EamAssetCategoryId"/>
    </lovMappings>
    </oa:messageLovInput>
    <oa:messageChoice readOnly="false" prompt="Asset Route" pickListViewDef="oracle.apps.eam.asset.server.PicklistYesNoVO" pickListDispAttr="Meaning" pickListValAttr="LookupCode" id="EamNetworkAsset" promptTranslationExpansion="100%" user:akAttributeCode="EAM_NETWORK_ASSET" user:akAttributeApplicationId="426" shortDesc="Asset Route" allowBlankValue="false" defaultValue="N"/>
    <oa:formValue id="EamAssetCategoryId" dataType="NUMBER"/>
    </ui:contents>
    </oa:defaultSingleColumn>
    </oa:simpleSearchPanel>
    <oa:simpleSearchMappings>
    <oa:queryCriteriaMap id="AssetNumberMapSS" criteriaItem="EamAssetNumber" resultsItem="AssetNumber1"/>
    <oa:queryCriteriaMap id="AssetCategoryMapSS" criteriaItem="EamAssetCategory" resultsItem="AssetCategory1"/>
    <oa:queryCriteriaMap id="AssetRouteMapSS" criteriaItem="EamNetworkAsset" resultsItem="AssetRoute"/>
    <oa:queryCriteriaMap id="AssetCategoryIdMapSS" criteriaItem="EamAssetCategoryId" resultsItem="AssetCategoryId"/>
    </oa:simpleSearchMappings>
    <ui:contents>
    <oa:tableLayout akRegionCode="EAM_AD_ADVSEARCH_RESULTS" regionName="Results" controllerClass="oracle.apps.eam.asset.webui.AssetResultsCO" addChildren="true" id="EamResultsNr" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426">
    <ui:contents>
    <oa:tableLayout id="ResultsTableLayout2" width="100%" rendered="true">
    <ui:contents>
    <oa:rowLayout id="RowLayoutRegion2">
    <ui:contents>
    <oa:cellFormat id="CellFormatRegion2">
    <ui:contents>
    <oa:switcher id="MappedTableRegion">
    <ui:case name="ShowTable" id="ShowTable">
    <oa:table akRegionCode="EAM_AD_ASSET_RESULTS_TABLE" regionName="Asset Search" blockSize="25" standalone="true" height="1" id="MappedTable" user:akAttributeCode="EAM_RESULTS_NR" user:akAttributeApplicationId="426" width="100%" rendered="true" userCustomizable="true" shortDesc="Mapped Table">
    <ui:contents>
    <oa:messageStyledText id="AssetNumber1" viewName="AdvSearchVO" viewAttr="InstanceNumber" shortDesc="Serial Number" prompt="Asset Number"/>
    <oa:messageStyledText id="AssetDescription1" viewName="AdvSearchVO" viewAttr="DescriptiveText" shortDesc="Asset Description" prompt="Asset Description"/>
    <oa:messageStyledText id="AssetCategory1" viewName="AdvSearchVO" viewAttr="AssetCategory" shortDesc="Asset Category" prompt="Asset Category"/>
    I tried several ways :
    OAPageLayoutBean pageLayout = oapagecontext.getPageLayoutBean();
    OAQueryBean query=(OAQueryBean)pageLayout.findChildRecursive("EamAssetQueryRegion");
    OATableBean oawebbeantb = (OATableBean)query.findChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
    OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
    if (oawebbeantb==null){                    
    throw new OAException("Error this is a test!", OAException.ERROR);
    oawebbeantb.addIndexedChild(ccidbean); --here it getting null
    OR
    OATableBean oawebbeantb = (OATableBean)oawebbean.findIndexedChildRecursive("EAM_AD_ASSET_RESULTS_TABLE");
    OAMessageLovInputBean ccidbean = (OAMessageLovInputBean)oapagecontext.getWebBeanFactory().createWebBean(oapagecontext, OAWebBeanConstants.LOV_TEXT, null, "xxValidation");
    oawebbeantb.addIndexedChild(ccidbean); --here it getting null
    Please someone help me on this..
    thanks,
    mallik

    1) Search panel textinput item should be search allowed true and prompt is need. no other property need to set.
    HERE YOU DONT WANT TO SET VIEW INSTANCE AND ATTRIBUTE SINCE WE ARE DOING FOR EXTENDED VO ITEM AS SEARCH ITEM.THAT'S OK. I TRIED WITH YOUR COMMENTS FOR TEXTINPUT ITEM TOO.
    Comment--
    textinput item created is a simple item without any VO instance , etc.
    There is no question of extended VO item, its a simple textinput item.
    value in this field is going to compare with the values in result table.
    2) Search mapping, only search item id and result item id need to set.
    I'M DOING HERE MAPPING FOR ABOVE SEARCH ITEM ID AND RESULT ITEM ID
    Comment-- Perfect !!
    3) Item created in table , after you extended Vo, view instance and attribute needs to set.
    WHERE DO YOU WANT THIS TO BE SET?? CAN YOU ELABORATE THIS MORE PLEASE.MAY BE I'M MISSING HERE SOMETHING.
    Comment-- you must have created message styled text item in adv table bean, assign VO instance and attribute to it, right?
    4) One more thing Parag, do i need to include where clause for extended VO item in view object??
    for ex:
    where attribute(this is extended vo item)=:4
    Comment-- No need. this will be handled by point#2 above, i.e. criteria and result items.
    --Parag Narkhede                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Frm- 40505 Unable to query (table does not exist)

    Hey,
    I have a form which has two blocks that are master and detail blocks. On the form, there are 3 fields that allow the query. If there is record found in the master then it works fine. If nothing found, it shows "query causes no records" which is also fine. But afterwards, no matter what I type in to query, it always show frm-40505. Oracle error, unable to perform query. I click "display error", it shows:
    SELECT ROWID,LOC,INV_NUMBER,RECNO,FACTOR,C_DESC,ADJ_TYPE,CODE,AMT FROM OE_INVOICE_ADJ
    WHERE (LOC=:1) and (INV_NUMBER=:2) order by recno
    frm - 09402:Table or view does not exist.
    Here oe_invoice_adj is the detail table and it does exist. If I stop the form and run it again then it's fine. It only happens after "query causes no records".
    Any ideas? thanks a lot in advance.

    Jay, Have you created public synonym for the tables so that the users don't have to refer the tables with the schema scott.xtable...
    and have the users been given the SELECT privilege to those tables....
    mb
    I actually created the tables and views for my application by logging in as scott/tiger.Now the users I have created with due privileges are just able to log in but unable to perform any query or DML.The error message is FRM 40505'UNABLE TO PERFORM QUERY' which says table or view does not exist.How do I fix this problem?
    Please get me a solution
    Thanks
    Jay

  • Unable to create table in Oracle EX 11g

    I am new user without any background to Db or SQL. Recently I have installed Orale EX 11g and was trying to create new tables using script menu. Please guide me further as I am unable to do it. Error is Invalid Identifier.

    I have installed Orale EX 11g and was trying to create new tables using script menu.
    Which "script menu" ? How can we help you if we don't know what you're doing exactly ?
    And please post the exact Oracle error code you get ("Invalid Identifier" is too generic).

Maybe you are looking for

  • Need to send results to Word or Excel

    The following code is generated by macromedia captivate to send Quiz results via e-mail. Unfortunatly security issues make the transfer of data from the script to the e-mail very problematic. In fact it usually fails. Is there a way to send the resul

  • T-SQL functions & business rules

    Why can't I use T-SQL string functions in business rules? For example, REPLACE(my_attribute, 'xyz', '_') from Moscow with money

  • SQL Server JDBC Must read columns in order?

    Is this some kind of sick joke? If I use rs.getString() to retrieve columns by name from the data base, they must be retrieved exactly in the order that they appear in the actual database, or else an error will result. Someone please tell me that thi

  • GZip Compression on JSPs?

    Hi There, I was wondering if there is a nice simple way to apply GZip compression to JSPs. I use it at the moment when writing out of a servlet to a browser by doing: OutputStream out1 = response.getOutputStream(); out = new PrintWriter(new GZIPOutpu

  • Cd-error on ADMA export

    Hello everybody! I`m trying to provision users to AD. But when I run the "Export" rutine I get cd-error. The users get created in AD, but the are all disabled. My solution is like this: FIM server in one domain. (Win2008R2) Domain functional level: W