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

Similar Messages

  • How to create table in Oracle 9i of name USER

    To whom so ever forum member,
    Please help me for creating table in Oracle 9i with the table name USER, though i know that it's reserve word for the Oracle DB
    Please give me the query if any for the same.
    Thanks in advance for timely help.
    Kiran.

    CREATE USER user-name IDENTIFY BY password
    user-name
    The name of the user to be created. The name is an identifier with a maximum of 30 characters. Note that if support for delimited identifiers is on and the user name begins with an underscore, you must place the user name in quotation marks.
    various identifiers possible
    simple-identifier ::= identifier-start { identifier-part }
    identifier-start ::= letter | % | _
    identifier-part ::= letter | number | _ | @ | # | $
    delimited-identifier ::= " delimited-identifier-part { delimited-identifier-part } "
    delimited-identifier-part ::= non-double-quote-character | double-quote-symbol
    double-quote-symbol ::= ""
    An identifier cannot be a SQL reserved word.
    An identifier may be either a simple identifier or a delimited identifier.
    password
    The password of the user to be created.
    the reserved words are:
    %AFTERHAVING | %ALPHAUP | %ALTER | %ALTER_USER | %BEGTRANS |
    %CHECKPRIV | %CREATE_ROLE | %CREATE_USER | %DBUGFULL |
    %DELDATA | %DESCRIPTION | %DROP_ANY_ROLE | %DROP_USER |
    %EXACT | %EXTERNAL | %FILE | %FOREACH | %FULL |
    %GRANT_ANY_PRIVILEGE | %GRANT_ANY_ROLE | %INORDER |
    %INTERNAL | %INTEXT | %INTRANS | %INTRANSACTION | %MCODE |
    %NOCHECK | %NODELDATA | %NOINDEX | %NOLOCK | %NOTRIGGER |
    %NUMROWS | %ODBCOUT | %ROUTINE | %ROWCOUNT | %STARTSWITH |
    %STRING | %THRESHOLD | %UPPER |
    ABSOLUTE | ACTION | ADD | ALL | ALLOCATE | ALTER | AND |
    ANY | ARE | AS | ASC | ASSERTION | AT | AUTHORIZATION | AVG |
    BEGIN | BETWEEN | BIT | BIT_LENGTH | BOTH | BY | CASCADE |
    CASE | CAST | CATALOG | CHAR | CHARACTER | CHARACTER_LENGTH |
    CHAR_LENGTH | CHECK | CLOSE | COALESCE | COBOL | COLLATE |
    COLLATION | COLUMN | COMMIT | CONNECT | CONNECTION |
    CONSTRAINT | CONSTRAINTS | CONTINUE | CONVERT |
    CORRESPONDING | COUNT | CREATE | CROSS | CURRENT |
    CURRENT_DATE | CURRENT_TIME | CURRENT_TIMESTAMP |
    CURRENT_USER | CURSOR | DATE | DAY | DEALLOCATE | DEC |
    DECIMAL | DECLARE | DEFAULT | DEFERRABLE | DEFERRED |
    DELETE | DESC | DESCRIBE | DESCRIPTOR | DIAGNOSTICS |
    DISCONNECT | DISTINCT | DOMAIN | DOUBLE | DROP | ELSE |
    END | ENDEXEC | ESCAPE | EXCEPT | EXCEPTION | EXEC |
    EXECUTE | EXISTS | EXTERNAL | EXTRACT | FALSE | FETCH |
    FILE | FIRST | FLOAT | FOR | FOREIGN | FORTRAN | FOUND |
    FROM | FULL | GET | GLOBAL | GO | GOTO | GRANT | GROUP |
    HAVING | HOUR | IDENTITY | IMMEDIATE | IN | INDICATOR |
    INITIALLY | INNER | INPUT | INSENSITIVE | INSERT | INT |
    INTEGER | INTERSECT | INTERVAL | INTO | IS | ISOLATION |
    JOIN | KEY | LANGUAGE | LAST | LEADING | LEFT | LEVEL |
    LIKE | LOCAL | LOWER | MATCH | MAX | MIN | MINUTE |
    MODULE | MONTH | NAMES | NATIONAL | NATURAL | NCHAR |
    NEXT | NO | NOT | NULL | NULLIF | NUMERIC | OCTET_LENGTH |
    OF | ON | ONLY | OPEN | OPTION | OR | ORDER | OUTER |
    OUTPUT | OVERLAPS | PAD | PARTIAL | PASCAL | PLI |
    POSITION | PRECISION | PREPARE | PRESERVE | PRIMARY |
    PRIOR | PRIVILEGES | PROCEDURE | PUBLIC | READ | REAL |
    REFERENCES | RELATIVE | RESTRICT | REVOKE | RIGHT | ROLE |
    ROLLBACK | ROWS | SCHEMA | SCROLL | SECOND | SECTION |
    SELECT | SESSION_USER | SET | SIZE | SMALLINT | SOME |
    SPACE | SQL | SQLCODE | SQLERROR | SQLSTATE | SUBSTRING |
    SUM | SYSTEM_USER | TABLE | TEMPORARY | THEN | TIME |
    TIMESTAMP | TIMEZONE_HOUR | TIMEZONE_MINUTE | TO |
    TRAILING | TRANSACTION | TRANSLATE | TRANSLATION | TRIM |
    TRUE | UNION | UNIQUE | UNKNOWN | UPDATE | UPPER | USAGE |
    <br>
    USER |
    <br>
    USING | VALUE | VALUES | VARCHAR | VARYING | VIEW |
    WHEN | WHENEVER | WHERE | WITH | WORK | WRITE | YEAR |
    ZONE
    hope it helps ...
    roli

  • 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

  • Unable to Create PLSQL Webservice in JDeveloper 11g

    Hi,
    i have created webservice for PL/SQL for functions with out TYPE data types as parameter..
    but i am unable to create a webservice for procedure having
    Freight_Pkg.PROCEDURE get_freight(
    p_sbl_source_line_tab IN OUT SYK_SBL_SOURCE_LINE_TAB_TYPE
    ,l_total_freight OUT NUMBER
    ,l_err_code OUT NUMBER
    ,l_err_mesg OUT VARCHAR2
    and when i try to create web service it generates below Warning
    =========================================
    Log Message of WebService
    ========================================
    Generating PL/SQL Web Service
    Generating WSDL and mapping file
    WARNING: OWS-00077 The Value Type class: SykSblSourceLineBase does not have a valid Java Bean pattern.
    Adding service files to deployment profile
    Service generation finished
    Generation complete.
    Please let me know the procedure for creating Webservice for PLSQL of Table Type Parameters passing as IN parameter in Procedure.
    Thanks,
    Vijay

    Vijay,
    Is this configured with Oracle E-Business Suite? If yes, please note that JDeveloper 11g is not certified with Oracle Apps 11i/R12.
    How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12.x [ID 416708.1]
    Configuring JDeveloper For Use With Oracle Applications 11i and R12 [ID 330236.1]
    If this is not related to EBS, post your question in the appropriate forum for a better/faster response.
    JDeveloper and ADF
    JDeveloper and ADF
    Thanks,
    Hussein

  • 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

  • Unable to Create FTP Adapter + Oracle ESB

    Hi,
    Following is the scenario in Oracle ESB:-------
    I created one FILE Adapter for reading file from directory and FTP Adapter to put that file to FTP site in Oracle ESB.
    When i checked in the ESB console File was getting picked up by the FILE ADAPTER but unable to put on the FTP Site.
    Could any one please tell me what should i suppose to enter in the field of "Directory for Outgoing Files (physical path):" and what should i select "Physical Path" OR "logical path" i.e in STEP 4
    I have given all access to FTP site i.e READ/WRITE
    Following is the error message i am getting in Oracle ESB Console for the same....
    Could any one please suggest some thing???
    An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: esb:///ESB_Projects/Application1_Project2/FTP_Adapter.wsdl Put_ptt::Put(opaque) - WSIF JCA Execute of operation 'Put' failed due to: Error sending file to FTP Server. Unable to send file to server. ; nested exception is: ORABPEL-11429 Error sending file to FTP Server. Unable to send file to server. Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max chararters allowed by the OS and 3. Remote File System has enough space. at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:623) at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeInputOnlyOperation(WSIFOperation_JCA.java:726) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source) at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source) at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source) at oracle.tip

    Hi JTaylor,
    I am still unable to find FtpAdapter in the EM (Enterprise Manager) so can't find/change the entry for "eis/Ftp/FtpAdapter"
    Following are the some application which are already in my EM.
    Applications:-
    ascontrol, ccore, coreman, datatags, default, esb-dt, esb-rt,
    gateway, hw_services, javasso, orabpel, orainfra, policymanager, ruleauthor ,
    rulehelp , WSIL-App
    Still i am getting the following error which is related to step 2. Entry in the step 2 & oc4j-ra.xml is the same i.2
    ""eis/Ftp/FtpAdapter"
    An unhandled exception has been thrown in the ESB system. The exception reported
    is: "org.collaxa.thirdparty.apache.wsif.WSIFException:
    esb:///ESB_Projects/Application1_Project2/FTP_Adapter.wsdl [
    Put_ptt::Put(opaque) ] - WSIF JCA Execute of operation 'Put' failed due to:
    Adapter Framework unable to create outbound JCA connection.
    esb:///ESB_Projects/Application1_Project2/FTP_Adapter.wsdl [
    Put_ptt::Put(opaque) ] - : The Adapter Framework was unable to establish an
    outbound JCA connection due to the following issue: ORABPEL-12510 Unable to
    locate the JCA Resource Adapter via WSDL port element jca:address. The Adapter
    Framework is unable to startup the Resource Adapter specified in the WSDL
    jca:address element: location='eis/Ftp/FtpAdapter'. The reason for this is most
    likely that either 1) the Resource Adapters RAR file has not been deployed
    successfully to the OC4J Application server or 2) the 'location' attribute in
    $J2EE_HOME/application-deployments/default/deployed-adapter-name/oc4j-ra.xml has
    not been set to eis/Ftp/FtpAdapter. In the last case you might have to add a new
    'connector-factory' entry (connection) to oc4j-ra.xml. Please correct this and
    then restart the BPEL/OC4J Application Server ; nested exception is:
    ORABPEL-12511 Adapter Framework unable to create outbound JCA connection.
    esb:///ESB_Projects/Application1_Project2/FTP_Adapter.wsdl [
    Put_ptt::Put(opaque) ] - : The Adapter Framework was unable to establish an
    outbound JCA connection due to the following issue: ORABPEL-12510 Unable to
    locate the JCA Resource Adapter via WSDL port element jca:address. The Adapter
    Framework is unable to startup the Resource Adapter specified in the WSDL
    jca:address element: location='eis/Ftp/FtpAdapter'. The reason for this is most
    likely that either 1) the Resource Adapters RAR file has not been deployed
    successfully to the OC4J Application server or 2) the 'location' attribute in
    $J2EE_HOME/application-deployments/default/deployed-adapter-name/oc4j-
    Could please give me u r e-mail id so i can send some snap shot to u ? So it would be greate help for me to solve this problem.
    Thanks & Regards
    Shivraj

  • Creating table in oracle lite 10g

    Hi,
    I believe the following is the way to create a database table in Jdeveloper 10g and Oracle BPEL process Manager 10.1.3.1.0
    1.Created bpel project--> right click project ---> create schema---> right click schema---> create table(completed the wizard and created schema and table)
    2.Right click schema ---> new---> database tier---> offline database objects ----> SQL generated from offline database objects(and then complete the wizard)
    If the above is the correct approach to create the table, then I am facing two situations.
    a. In the project properties(offline database), if the 'database to emulate' is set to oracle lite 10g release 1, then "SQL generated from offline database objects" option is not enabled to choose in the step 2 above. So I cannot proceed further.
    b. If the 'database to emulate' is set to oracle database 10g release 2 (this is default), "SQL generated from offline database objects" in step 2 is enabled, but in the wizard that follows, when I tick 'perform operation against the database' it asks me for oracle database connection settings. But I only have the Oracle 10g Lite version and not Oracle database 10g. So I am not able proceed further.
    All I need is to create tables in the Oracle Lite database that I have.
    Any help on this issue will be greatly appreciated.
    -Sagar

    While waiting for an answer here ... you may want to investigate the Oracle Lite forum at Database Mobile Server (inc. legacy Database Lite)

  • 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

  • Querying SQL server table from Oracle database 11g

    Hi all
    We are using oracle database 11g R2 on REL 5 and i have an SQL server database used by one of our application.
    In my Oracle database, i want to query one table in my SQL server database and to link it in a table in Oracle database to compare data.
    Is there a way like database link or something else to do this need>
    Please send a link or pots here step by step the way on how to accomplish my query.
    Thank you.

    Yes, you can set up your SQL Server as an external database link, using Oracle Heterogeneous Services with SQL Server as an ODBC connection (easier to do if your Oracle server is a Windows server, a little more tricky if your Oracle server is *nix based)
    Here's the documentation... for 11gR2
    http://www.oracle.com/pls/db112/search?remark=quick_search&word=heterogeneous+services

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

  • 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 content properly in UCM 11G using validateStandard filter

    Hi All,
        We have used validateStandard filter to assign content id with 16 digits in UCM 10G and it worked well, we deployed this component in UCM 11G but it is not working properly. When we click on Check In button content is getting created and displaying  Check_In Confirmation with 16 digit Content ID, upon clicking on Content Info it is displaying the complete info page. When we try to search the content it is not displaying in search results, also when tried to export it using Archiver it is not creating batch file. When we see logs in View Server out put it is displaying
    Unable to lock content with dDocName: 6322932684534064
    File to be removed: D:/oracle/ucm/cs/oracle/ucm/cs/vault/~temp/6322932684534064_meta.htm
    Below is the code and its corresponding log after check In is performed
    trace("=====Set 16 digit random number as ContentId=====");
                 String contId = databinder.getLocal("dDocName");
                 trace("=====value of contId====="+ contId);
            if("".equals(contId))
            //trace("=====Inside ContentId generetion=====");
            int maxdigits = 16;
            StringBuilder result = new StringBuilder();
            Random r = new Random();
            for (int i = 0; i<maxdigits; i++)
            result.append(r.nextInt(10));
            databinder.putLocal("dDocName", result.toString());
            trace("=====Generated ContentId is====="+ result.toString());
    View Server O/P:
    =====Set 16 digit random number as ContentId=====
    =====value of contId=====001885
    =====Generated ContentId is=====6322932684534064
    >(internal)/6 07.08 15:09:28.273 IdcServer-968 Unable to lock content with dDocName: 6322932684534064
    >(internal)/6 07.08 15:09:29.476 IdcServer-968 File to be removed: D:/oracle/ucm/cs/oracle/ucm/cs/vault/~temp/6322932684534064_meta.htm
    Thanks,
    Ashok

    Its a bug. References BUG:16231709 - OBIA7964:ERROR WHILE CREATING DATA WAREHOUSE TABLES USING DAC 11G
    So far the workaround is to use one Container Name at a time when creating the Warehouse.
    If helps mark and update back

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for