invalid character while create table

create table is in error. Can you please tell me what is the problem with the code below. in error.
CREATE TABLE TTAX.TTAT_REQUESTS_ALL
(
   REQUEST_ID                    NUMBER,
   REQUEST_TYPE_ID               NUMBER,
   REQUESTOR_ID                  NUMBER,
   DELEGATED_REQUESTOR_ID        NUMBER,
   AUTH_NO                       VARCHAR2 (50),
   ALTERNATIVE_CONTACT_NO        VARCHAR2 (50),
   PRIMARY_OFFICE_LOCATION       VARCHAR2 (100),
   PREAPPROVED_FLAG              VARCHAR2 (5),
   CITY                          VARCHAR2 (50),
   STATE                         VARCHAR2 (50),
   START_DATE                    DATE,
   END_DATE                      DATE,
   STATE_CAR                     VARCHAR2 (50),
   JUSTIFICATION                 VARCHAR (200),
   TOTAL_ESTIMATED_AIRFARE       NUMBER,
   TOTAL_ESTIMATED_CARERENTAL    NUMBER,
   TOTAL_ESTIMATED_OTHER_TRANS   NUMBER,
   TOTAL_ESTIMATED_LODGING    NUMBER ,
TOTAL _ESTIMATED_PER_DLEM    NUMBER ,
TOTAL _ESTIMATED_OTHER_TRAVEL    NUMBER ,
PAY_BY_OUTSIDEORG_AIRFARE    NUMBER ,
PAY_BY_OUTSIDEORG_CARE_RENTAL    NUMBER ,
PAY_BY_OUTSIDEORG_OTHER_TRANS    NUMBER ,
PAY_BY_OUTSIDEORG_LODGING    NUMBER ,
PAY_BY_OUTSIDEORG_PER_DLEM    NUMBER ,
PAY_BY_OUTSIDEORG_OTHER_TRAVEL    NUMBER ,
OUTSIDEORG_AIRFARE    NUMBER              ,
OUTSIDEORG_CAR_RENTAL    NUMBER          ,
OUTSIDEORG_OTHER_TRANS    NUMBER          ,
OUTSIDEORG_LODGING    NUMBER              ,
OUTSIDEORG_RPER_DLEM    NUMBER          ,
OUTSIDEORG_OTHER_TRAVEL    NUMBER      ,
PAY_IN_FULL_FLAG    VARCHAR2(5)         ,
ORGANIZATION_NAME    VARCHAR2(50)        ,
BCO_PCA    VARCHAR2(5)                     ,
BCO_UNIT    VARCHAR2(50)                ,
BCO_DIVISION_TRACK_NO    VARCHAR2(50)    ,
BCO_REMARKS    VARCHAR2(200)               ,
BCO_FUND    VARCHAR2(4)                 ,
BCO_BLANKET_NO    VARCHAR2(4)             ,
OST_CONFIRM_FLAG    VARCHAR2(5)         ,
TRAINING_TYPE    VARCHAR2(50)            ,
EESTIMATED_ TUITION_ REG_FEE    NUMBER  ,
EESTIMATED_COST_OTHERS    NUMBER          ,
SERVER_TYPE    VARCHAR2(50)                ,
VENDOR_ID    NUMBER                      ,
COURSE_TITLE    VARCHAR2(50)            ,
COURSE _ADDRESS    VARCHAR2(50)            ,
COURSE _CITY    VARCHAR2(50)            ,
COURSE _STATE    VARCHAR2(50)            ,
COURSE _ZIP_CODE    VARCHAR2(50)        ,
DATE_FROM1    DATE                        ,
DATE_TO1    DATE                        ,
DATE_FROM2    DATE                        ,
DATE_TO2    DATE                        ,
DATE_FROM3    DATE                        ,
DATE_TO3    DATE                        ,
TRAINING_HOUR    NUMBER                  ,
TRAINING_REASON    VARCHAR2(100)           ,
TRAINING_JUSTIFICATION    VARCHAR2(200)           ,
TRAINING_COMPLETED    DATE                ,
SPONSOR    VARCHAR2(50)                    ,
ATTEND_YN    VARCHAR2(5)                 ,
STATUS    VARCHAR2(10)                    ,
CREATED_BY    NUMBER                      ,
CREATE_DATE    DATE                        ,
LASTUPDATED_BY    NUMBER                  ,
LASTUPDATE_DATE    DATE                    )

EESTIMATED_ TUITION_ REG_FEE NUMBER,
still additional spaces. Where is - that run you this script in sqlplus? There are more user-friendly tools, such as PL/SQL developer, which will highlight the line that caused an error.

Tags: Database

Similar Questions

  • ORA-00904 on CREATE TABLE with a virtual column based on the XMLTYPE content

    Hello

    This is another one for the gurus of the syntax...

    Try the following, fails with ORA-00904: "MESSAGE". "' GETROOTELEMENT": invalid identifier
    CREATE TABLE XML_TEST_VIRT
      (
       MSG_TYPE         GENERATED ALWAYS AS (MESSAGE.GETROOTELEMENT()) VIRTUAL,
       MESSAGE  XMLTYPE             NOT     NULL,
       IE906    XMLTYPE             DEFAULT NULL
      )
       XMLTYPE COLUMN MESSAGE STORE AS SECUREFILE BINARY XML
       XMLTYPE COLUMN IE906   STORE AS SECUREFILE BINARY XML
    /
    While it succeeds
    CREATE TABLE XML_TEST_VIRT
      (
       MSG_TYPE         GENERATED ALWAYS AS (EXTRACT(MESSAGE, '/*').GETROOTELEMENT()) VIRTUAL,
       MESSAGE  XMLTYPE             NOT     NULL,
       IE906    XMLTYPE             DEFAULT NULL
      )
       XMLTYPE COLUMN MESSAGE STORE AS SECUREFILE BINARY XML
       XMLTYPE COLUMN IE906   STORE AS SECUREFILE BINARY XML
    /
    The GETROOTELEMENT from SYS member function. XMLTYPE is stated as "PARALLEL_ENABLE DETERMINISTIC" the method called is not the problem, as evidenced by the 2nd case.
    Using the MESSAGE column that is of type XMLTYPE directly seems to be the problem. But the question is "why." The result of the EXTRACT function is of type XMLTYPE and call his works of members, the column is also of type XMLTYPE still call its members fails...

    Thanks in advance for any ideas on that.

    Best regards
    Philippe

    Going on the means to go far, far back.

    2003 re: function getRootElement ORA-00904

  • I got a prob while creating a link/link between two tables in a jdeveloper11g

    Hi guys...

    I got a prob while creating a link/link between two tables in a jdeveloper11g, help me.

    I use two table employee, Department.

    Unfortunately there is no primary key and foreign key in these tables.now i updated on those of table structure.

    I want to create a form like it should be a link between the Department data, i.e. data and employee while the Department is changed then only present corresponding employees in this block...

    Table structure as follows

    Employee:

    -------------------

    employe_id,

    name,

    Department,

    GR,

    Date of birth

    Department of justice

    Department:

    --------------------

    department_id,

    department_name;

    Note: in the employee department table is the same as in the department table department_id...

    So, you want to build master / detail between Department & sub_departments?

    In the same way, create a new, yet another link between departments & sub_departments, so that the connection is:

    Department.Department_Id = sub_departments.department_id

  • When I have a constarint of deferable in the Oracle database, while creating the ADF BC, all the columns in this table is marked as primary key. any help on how to fix this?

    DROP TABLE TWO.

    DROP TABLE ONE;

    CREATE TABLE 'A

    (

    ACTIVATE THE 'ID' NUMBER NOT NULL,

    ACTIVATE THE "SERIAL" VARCHAR2 (10 BYTE) NOT NULL,

    ACTIVATE THE "FIRST NAME" VARCHAR2 (30 BYTE) NOT NULL,

    ENABLE 'PK_ONE' CONSTRAINT PRIMARY KEY ('ID', "SERIAL")

    )

    TABLESPACE 'USERS ';

    CREATE TABLE "TWO"

    (

    ACTIVATE THE 'ID' NUMBER NOT NULL,

    ACTIVATE THE "SERIAL" VARCHAR2 (5 BYTE) NOT NULL,

    ACTIVATE THE "DEGREE_CODE" VARCHAR2 (10 BYTE) NOT NULL,

    'TEST_NAME' VARCHAR2 (20 BYTE),

    ACTIVATE THE KEY PRIMARY CONSTRAINT 'PK_TWO' ('ID', 'SERIAL'),

    "FK_TWO' FOREIGN KEY ('ID', 'DEGREE_CODE') CONSTRAINT REFERS TO 'ONE' ('ID', 'SERIAL') MAYBE DEFERRED ENABLE

    )

    TABLESPACE 'USERS ';

    If we use the above sql scripts to create the tables and create the ADF BC using the above 2 tables, all 4 columns in table 2 are reported as the primary key.

    User, tell us your version of Jdev, please!

    You should file an SR with support.oracle.com for this.

    As a work around you can change the area of occurrence, and remove the check mark key pirmary on the unwanted columns. After that, it should work.

    Timo

  • ORA-00600 while creating the queue table

    Hello
    I'm getting
    ERROR on line 1:
    ORA-00600: internal error code, arguments: [kcbz_check_objd_typ], [0], [0,]
    [1], [], [], [], []
    ORA-06512: at "SYS." DBMS_AQADM_SYS', line 2830
    ORA-06512: at "SYS." DBMS_AQADM', line 58
    ORA-06512: at line 2
    When creating table queue.
    The problem seems to be the name of the created object. Here's the script:

    CREATE OR REPLACE TYPE BNA_CHG_EVENT AS OBJECT
    (
    NUMBER (2),
    INTEGER ID
    );
    /

    (it works fine)

    BEGIN
    SYS. DBMS_AQADM. CREATE_QUEUE_TABLE
    (
    QUEUE_TABLE = > 'BNA_CHG_EVENT_QT '.
    , QUEUE_PAYLOAD_TYPE = > 'BNA_CHG_EVENT '.
    "Compatible = > ' 10.0.0 '.
    , SORT_LIST = > 'ENQ_TIME, PRIORITY '.
    , MULTIPLE_CONSUMERS = > TRUE
    , MESSAGE_GROUPING = 0 >
    , SECURE = > FALSE
    );
    End;
    /

    (it crashes with ora-600).
    When I change the name of BNA_CHG_EVENT_QT to the BNA_CHG_EVENT_OT object is created without errors.
    Database is Oracle Database 10 g Enterprise Edition Release 10.2.0.4.0.

    Any suggestions on the cause of the error?
    Thanks in advance

    ARO
    Kuba Gasiorowski

    ERROR on line 1:
    ORA-00600: internal error code, arguments: [kcbz_check_objd_typ], [0], [0,]
    [1], [], [], [], []
    ORA-06512: at "SYS." DBMS_AQADM_SYS', line 2830
    ORA-06512: at "SYS." DBMS_AQADM', line 58
    ORA-06512: at line 2

    Check on the support of Oracle
    If you have upgraded DB to 10g, check 8247215 Bug

    Workaround
    A temporary workaround is to set dbblock_check_objtyp = false

  • ORA-00911: invalid character in SQL dynamic

    I think I need another set of eyes. I do not see the invalid character in this dynamically generated SQL statement:

    INSERT INTO source_arc
    select v.*, sysdate, 'archived'
    from source v
    where v.id IN  ( SELECT *
                             FROM TABLE( SELECT
                                    CAST(str2tbl( 1,2,4 )
                                                 AS myTableType
                                       )
                                         FROM
                                              dual ));
    

    Here is the complete configuration:

    create or replace type myTableType as table of number;
    /
    
    
    create or replace function str2tbl( p_str in varchar2 ) return myTableType
     as
         l_str   varchar2(32767) default p_str || ',';
         l_n        number;
         l_data    myTableType := myTabletype();
     begin
         loop
             l_n := instr( l_str, ',' );
             exit when (nvl(l_n,0) = 0);
             l_data.extend;
             l_data( l_data.count ) := trim(substr(l_str,1,l_n-1));
             l_str := substr( l_str, l_n+1 );
         end loop;
         return l_data;
     end str2tbl;
     /
    
     create table source
     ( id   number
      ,txt  varchar2(25)
     )
     /
    
     insert into source
     values(1,'aaa')
     /
    
     insert into source
     values(2,'bbb')
     /
    
     insert into source
     values(3,'ccc')
     /
    
     insert into source
     values(4,'ddd')
     /
    
     insert into source
     values(5,'eee')
     /
    
     commit ;
    
     create table source_arc
     ( id  number
      ,txt varchar2(25)
      ,dt  date
      ,comments varchar2(512)
     )
     /
    

    )

    /

    Here is the result when I run this code:

    DECLARE
       i_owner_tbl_arc varchar2(61) := 'source_arc';
       i_owner_tbl     varchar2(61) := 'source' ;
       v_qry       varchar2(32767) := 'INSERT INTO ' ||  i_owner_tbl_arc ;
       g_content_list varchar2(32767) := '1,2,4';
    BEGIN
       v_qry := v_qry || chr(10) ||
           'select v.*, sysdate, ''archived'' ' || chr(10) ||
           'from ' || i_owner_tbl || ' v '      || chr(10) ||
           'where v.id IN  ( SELECT * ' || chr(10) ||
           '                         FROM TABLE( SELECT ' || chr(10) ||
           '                                          CAST(str2tbl( ' || g_content_list || ' ) ' || chr(10) ||
           '                                             AS myTableType ' || chr(10) ||
           '                                   ) ' || chr(10) ||
           '                                     FROM dual ));';
           
           execute immediate v_qry;
    END ;
    /
    ERROR at line 1:
    ORA-00911: invalid character
    ORA-06512: at line 17
    

    Any help appreciated.

    Remove the semicolon at the end of the string and put single quotes while calling the function.

    Try the below

    DECLARE

    i_owner_tbl_arc varchar2 (61): = "source_arc";

    i_owner_tbl varchar2 (61): = 'source ';

    v_qry varchar2 (32767): = 'INSERT INTO ' |  i_owner_tbl_arc;

    g_content_list varchar2 (32767): = '1,2,4';

    BEGIN

    v_qry: = v_qry | Chr (10) |

    "select v.*, sysdate,"archived"| Chr (10) |

    'from ' | i_owner_tbl | ' v '      || Chr (10) |

    «where v.id IN (SELECT * ' |)» Chr (10) |

    ' TABLE (SELECT ' |) Chr (10) |

    "CAST (str2tbl ("' |)) ". g_content_list | ''' ) ' || Chr (10) |

    '                                             AS myTableType ' || Chr (10) |

    '                                   ) ' || Chr (10) |

    '                                     FROM dual ))';

    immediately run v_qry;

    END;

  • Error trivial Drives Me Crazy - ORA-00911: invalid character - Oracle 10 g

    I have no idea where I was wrong. I get this ORA-00911: invalid character
    I looked at the excerpt from tons of times, but could not find a glitch. Code appear nested into a TOAD
    CREATE TABLE RoomAssociates
    (
         roomAssociatesID           NUMBER(7)                                     , CONSTRAINT roomasso_roomassoid_pk                            PRIMARY KEY(roomAssociatesID)                                                         ,                                                     
         roomID                       NUMBER(7)                                        CONSTRAINT roomasso_roomid_nn                                NOT NULL                                                                                     ,
                                                                                           CONSTRAINT roomasso_roomid_fk                            FOREIGN KEY(roomID) REFERENCES Room(roomID) ON DELETE CASCADE               ,
         roomFacilityID              NUMBER(7)                                      CONSTRAINT roomasso_roomfid_nn                                NOT NULL                                                                                         ,
                                                                                           CONSTRAINT roomasso_roomfid _fk                             FOREIGN KEY(roomFacilityID) REFERENCES RoomFacility(roomFacilityID)          ,
         enSuitID                   NUMBER(7)                                         CONSTRAINT roomasso_ensuitid_nn                             NOT NULL                                                                                          ,
                                                                                           CONSTRAINT roomasso_ensuitid_fk                       FOREIGN KEY(enSuitID) REFERENCES EnSuit(enSuitID)
    );

    Now, this will work:

    CREATE TABLE RoomAssociates
    (
         roomAssociatesID           NUMBER(7)                                     , CONSTRAINT roomasso_roomassoid_pk                            PRIMARY KEY(roomAssociatesID)                                                         ,
         roomID                       NUMBER(7)                                        CONSTRAINT roomasso_roomid_nn                                NOT NULL                                                                                     ,
                                                                                           CONSTRAINT roomasso_roomid_fk                            FOREIGN KEY(roomID) REFERENCES Room(roomID) ON DELETE CASCADE               ,
         roomFacilityID              NUMBER(7)                                      CONSTRAINT roomasso_roomfid_nn                                NOT NULL                                                                                         ,
                                                                                           CONSTRAINT roomasso_roomfid_fk                             FOREIGN KEY(roomFacilityID) REFERENCES RoomFacility(roomFacilityID)          ,
         enSuitID                   NUMBER(7)                                         CONSTRAINT roomasso_ensuitid_nn                             NOT NULL                                                                                          ,
                                                                                           CONSTRAINT roomasso_ensuitid_fk                       FOREIGN KEY(enSuitID) REFERENCES EnSuit(enSuitID)
    );
    

    The error is here:

    CONSTRAINT roomasso_roomfid _fk
    

    Better formatting:

    CREATE TABLE RoomAssociates
    ( roomAssociatesID NUMBER(7), CONSTRAINT roomasso_roomassoid_pk PRIMARY KEY(roomAssociatesID),
      roomID           NUMBER(7)  CONSTRAINT roomasso_roomid_nn     NOT NULL,
                                  CONSTRAINT roomasso_roomid_fk FOREIGN KEY(roomID) REFERENCES Room(roomID) ON DELETE CASCADE,
      roomFacilityID   NUMBER(7)  CONSTRAINT roomasso_roomfid_nn NOT NULL,
                                  CONSTRAINT roomasso_roomfid_fk FOREIGN KEY(roomFacilityID) REFERENCES RoomFacility(roomFacilityID),
      enSuitID         NUMBER(7)  CONSTRAINT roomasso_ensuitid_nn     NOT NULL,
                                  CONSTRAINT roomasso_ensuitid_fk FOREIGN KEY(enSuitID) REFERENCES EnSuit(enSuitID)
    );
    

    Max
    [My Italian blog Oracle | http://oracleitalia.wordpress.com/2009/12/18/table-elimination-oppure-join-elimination-lottimizzatore-si-libera-della-zavorra/]

    Published by: Massimo Ruocchio, December 19, 2009 12:05 AM

  • error "invalid character" using the database link

    Hello!

    I use db 9.2 and trying to connect to a 10g database.
    I created the db link... when I use it (select * from table@dblink), an error occurred: ORA-00911 invalid character. It does not accept the '@'!

    I tried to use it on sql * plus, worked well...

    Any ideas?
    Thank you!

    Can you try to set America/America in preferences - Database - NLS?

    Hope that helps,
    K.

  • DB tools create Table

    Hello.. I got this error when trying to create a database

    Conn Execute.vi-> DB tools create Table.vi--> CreateDatabase.viException occurred in the Microsoft Office Access database engine: syntax error in the statement CREATE TABLE in Conn Execute.vi-> DB tools create Table.vi-> CreateDatabase.vi

    I can't open your vi, but in many cases, the syntax error is caused by the invalid table or field names (reserved words, spaces or invalid characters). In this case, you can change the names; Alternatively, you can frame them square brackets: [my_column_name].

    If you open the DB create Table.vi-> Conn Execute.vi block diagram, you can enter the full text of the SQL query and post, so we can take a look.

  • program files contains an invalid character

    Whenever I try to install sony vegas it comes up saying "program files contains an invalid character" and it will not be installed. There is enough space on the hard drive and it seems to be only vegas that will not be installed. All solutions? Thank you.

    Hello

    This problem can occur if you type an invalid destination in the folder on the screen name box change the current Destination folder.

    Step 1: To resolve this problem, specify a destination that resides on a disk drive hard local area name of folder on the screen change the current Destination folder.

    Step 2: Try to install in a new user account.

    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-user-account

  • Problem SAXParser (SaxParser invalid character exception) using wifi

    Greetings to all developers,

    I have a problem in the use of SAX parser...

    I'm developing an application that will receive the XML data in the web service...

    When I try my app using BIS, I got the data correctly... & it's good...

    But, when I use only the wifi connection, I got an error like

    invalid character '& #x0' encountered in SaxParser exception...

    Can you help me with this problem?

    Thank you...

    Thanks for the reply...

    I already found the solution here...

    rather than use this to read the input stream:

    byte incomingData[] = new byte[length];
    is.read(incomingData);
    XML = new String(incomingData);
    

    I use the following method:

    ByteArrayOutputStream bytestream = new  ByteArrayOutputStream();
    int ch;
    while ((ch = is.read()) != -1)
    {
       bytestream.write(ch);
    }
    XML = new String(bytestream.toByteArray());
    bytestream.close();
    

    I don't know why to use wifi can not do with the first method anyway, but at least it works now using the second method...

    Thanks for everything... ^^

    HM... For IOUtilities, I'm afraid, I can't use it, because my goal is for OS 5.0...

    I think it is appropriate only for OS 6.0

  • Error 1324. Path my pictures contains an invalid character during the withdrawal of Mgr access VZ.

    Originalt title: Error 1324. The path my pictures contains an invalid character. I get this message when I try to remove a program. I'm trying to retire an old version of VZ access Mgr please help with this problem. Thank you.

    Error 1324 the path my pictures contains an invalid character. Fatal error during installation.

    Hi Kurt wolfe,

    This happens because the value type for the wrong shell folder, or due to incorrect data in the registry. To resolve this problem, solve the My Pictures Shell folder paths in the registry accordingly. The default values are given in a column in a table in the following article. There is also a REG fix available on the next page:

    Windows stores the location of special folders by user under the following registry key:

    HKEY_CURRENT_USER-Software-Microsoft-Windows-CurrentVersion------Explorer------user Shell folders

    Microsoft has a Fix - It solution that fixes most of the paths of shell (shell by both user and computer files) folder automatically. You can download the fix from.

    You receive an "Error 1606" error message when you try to install or remove a program from Microsoft
    http://support.Microsoft.com/kb/886549

    Note: The error message may vary, but you can give it a try and see if the problem is resolved.

    Thank you, and in what concerns:
    I. Suuresh Kumar - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Create Table of records names

    Hello

    Can someone help me add/create the Tables folder that can appear in the list of choices while creating a file group ID?

    Please let me know if I should explain more.

    Thank you

    Concerning

    RS

    Hi all

    The solution was a simpler than what we thought. We are all beginners.

    After some research, we realized that the Master Data is not completely loaded.

    With the help of my administrator, we downloaded and the problem is now resolved.

    I thought that I would always post there, a newbie like us might find useful.

    Thank you!

    Concerning

    RS

  • Need help - multilevel nested table - create table problem

    Hello

    My version of oracle db: 11g

    I just created a table that contains a nested multi-level table.

    Here is the code:

    create or replace type sdef_t_nt_empNames21 is table of the varchar2 (50);

    create or replace type sdef_ot_SCmarks21 as an object (number of physics, chemistry number, number of Biology);

    create or replace type sdef_t_nt_SCmarks21 is table of the sdef_ot_SCmarks21;

    create or replace type sdef_ot_allsubmarks21 as an object (eid, eng, math, sc sdef_t_nt_SCmarks21 number number);

    create or replace type sdef_t_nt_dep_m_info21 is table of the sdef_ot_allsubmarks21;

    create the table nt_dep21

    (number of fact

    , dname varchar2 (50)

    c_sdef_t_nt_empNames21 sdef_t_nt_empNames21

    c_sdef_t_nt_dep_m_info21 sdef_t_nt_dep_m_info21)

    nested as NT_c_sdef_t_nt_empNames21 table c_sdef_t_nt_empNames21 store

    store table nested like NT_c_sdef_t_nt_dep_m_info21; c_sdef_t_nt_dep_m_info21  <-I know that the problem is here.

    TRACE OF THE ERROR:

    Error at startup on line: 13 in the command.

    create the table nt_dep21

    (number of fact

    , dname varchar2 (50)

    c_sdef_t_nt_empNames21 sdef_t_nt_empNames21

    c_sdef_t_nt_dep_m_info21 sdef_t_nt_dep_m_info21)

    nested as NT_c_sdef_t_nt_empNames21 table c_sdef_t_nt_empNames21 store

    Nested table c_sdef_t_nt_dep_m_info21 (sdef_t_nt_SCmarks21) store as NT_c_sdef_t_nt_dep_m_info21

    Error report-

    SQL error: ORA-00904: invalid identifier

    00904, 00000 - '% s: invalid identifier '.

    * Cause:

    * Action:

    PS: I'm just solve a problem given to me by some1, is not a practical implementation, I'm just trying to get through

    I'm sure that some1 could help me with this, I have searched a lot of this problem but could not find my answer, please help me.

    Concerning

    Rahul

    SQL > create table (nt_dep21)
    Did number 2,
    3 dname varchar2 (50).
    4 c_sdef_t_nt_empNames21 sdef_t_nt_empNames21,
    c_sdef_t_nt_dep_m_info21 5 sdef_t_nt_dep_m_info21
    6                       )
    store c_sdef_t_nt_empNames21 7 nested as NT_c_sdef_t_nt_empNames21 table
    store c_sdef_t_nt_dep_m_info21 8 table nested as NT_c_sdef_t_nt_dep_m_info21)
    9 table nested as NT_sc sc store
    10                                                                               )
    11.

    Table created.

    SQL >

    SY.

  • COPY OF DB1 to DB2 CREATE TABLE...

    If I run script (3) in the database of and remove (-), it will run.  But when I turn into a COPY OF DB1 to DB2 (my example uses DB1 to DB1 for you) and try and run - it returns immediately and does not create the table in the database TO.  And I do not get an error.

    I'm looking for 40 + combos 3 different characters but the characters are not separated in the table, it's just all crushed together.  I try so to analyze the data, and then look 3 character codes.  (I know it's a ugly script).

    Are there limits using a script to COPY OF DB1 to DB2?  For me, it was mentioned that there are too many characters in my select statement.  If this is the case, anyone have any suggestions?


    Thank you in advance... Shelli

    --(1) CREATE TABLE RPO_EX

    create table rpo_ex)

    EMP varchar2 (25).

    option_group varchar2 (100));

    --(2) INSERT SOME SAMPLE DATA INTO THE RPO_EX TABLE

    insert into rpo_ex values ("Gary", "AL0AQ9ATHAT8AXJAYGCF5CJ2DCPDR5EF7FE2FE9FHOF46GGCGW6G7Q");

    insert into rpo_ex values ("Gary", "H2GIO3I15J55KA1KR1LALLTGMAHMYANP5NT7Q5URA6R6WR9NSLMTUJ");

    insert into rpo_ex values ("Gary", "UDDUE1UPFUQAU2KU80VH9VK3VRGVRHVRJVRKVRLVRMVRNVRRVT7V8D");

    insert into rpo_ex values ("Gary", "WMFXFE1SD1SZ4AA5A76SU7SU8GR9GR9L3");

    insert into rpo_ex values ('Craig', 'AL0AQ9ATHAT8AXJAYGCJ2DCPDR5EF7FE2FE9FHOGANGGCGM3HHMIO3');

    insert into rpo_ex values ('Craig', 'I15J55KR1LALLCVMAHMYANP5NT7Q5URA6R6WR9NSLMS08TUJUDDUE1');

    insert into rpo_ex values ('Craig', 'UPFUQAU2KU80VH9VRGVRHVRJVRKVRLVRMVRNVRRVT7V8DWMFYM81SA');

    insert into rpo_ex values ('Craig', '1SZ4C15A76SA7SA8GM9GM9L3');

    insert into rpo_ex values ('Fred', '1SZ4AA5A76SA7SA8GM9GM9L3');

    insert into rpo_ex values ('Fred', 'AL0AQ9ATHAT8AXJAYGCJ2DCPDR5EF7FE2FE9FHOGBAGGCGM3H2GIO3');

    insert into rpo_ex values ('Fred', 'I15JE5KR1KTILALLCVMAHMYANP5NT7Q5WRA3R6WR9NSLMTUJUDDUE1');

    insert into rpo_ex values ('Fred', 'UPFUQAU2KU80VH9VK3VRGVRHVRJVRKVRLVRMVRNVRRVT7V8DWMF1SA');

    insert into rpo_ex values ('Frank', 'AL0AQ9ATHAT8AXJAYGCF5CJ2DCPDR5EF7FE2FHOGGCGW6G1MH2GIO3');

    insert into rpo_ex values ('Frank', 'I15J55KR1LALLTGMAHMYANC7NP5NU5RA6R1UR6WR9NSLMTUJUDDUE1');

    insert into rpo_ex values ('Frank', 'UPFUQAU2KU80VH9VK3VRGVRHVRJVRKVRLVRMVRNVRRVT7V8DWMFXFE');

    insert into rpo_ex values ('Frank', 'YF51SC1SZ4AA5A76SA7SA8GM9GM9L3');

    insert into rpo_ex values ("Jim", "4C15A76SA7SA8GM9GM9L3");

    insert into rpo_ex values ("Jim", "AL0AQ9ATHAT8AXJAYGCJ2DCPDR5EF7FE2FE9FHOGGCGM3GTRHHMIO3");

    insert into rpo_ex values ("Jim", "I15JE5KR1KTILALLCVMAHMYANP5NT7Q5WRA3R6WR9NSLMTUJUDDUE1");

    insert into rpo_ex values ("Jim", "UPFUQAU2KU80VH9VRGVRHVRJVRKVRLVRMVRNVRRVT7V8DWMF1SA1SZ");

    sqlplus usr/pw@db1 @ 'copy_rpo_ex.sql' usr/pw@db1 usr/pw@db1


    --(3) COPY OF THE TABLE CREATION SCRIPT

    whenever sqlerror exit rollback sql.sqlcode

    SET ARRAYSIZE 5000

    SET COPYCOMMIT 20

    set linesize 4000

    TERMOUT OFF SET

    COPY OF usr/pw@db1 to usr_pw_db1-

    CREATE using rpo_ex2-

    SELECT * FROM (-)

    WITH v1 as (-)

    Select emp, option_group, | " -

    substr (option_group, 1, 3)-

    ||','|| substr (option_group, 4, 3)-

    ||','|| substr (option_group, 7, 3)-

    ||','|| substr (option_group, 10, 3)-

    ||','|| substr (option_group, 13, 3)-

    ||','|| substr (option_group, 16, 3)-

    ||','|| substr (option_group, 19, 3)-

    ||','|| substr (option_group, 22, 3)-

    ||','|| substr (option_group, 25, 3)-

    ||','|| substr (option_group, 28, 3)-

    ||','|| substr (option_group, 31, 3)-

    ||','|| substr (option_group, 34, 3)-

    ||','|| substr (option_group, 37, 3)-

    ||','|| substr (option_group, 40: 3)-

    ||','|| substr (option_group, 43, 3)-

    ||','|| substr (option_group, 46, 3)-

    ||','|| substr (option_group, 49: 3)-

    ||','|| substr (option_group, 52, 3) | ',' RPO-

    of rpo_ex).

    Select emp, case.

    When (rpo like ('% UFF %') and rpo like ('% UP9% ')) then 'UFF + UP9 -.

    When the rpo like ('% ADG %') then 'ADG ' -.

    When rpo love ("IO3%") then "IO3 -.

    When the rpo as ("IO4%") then "IO4 -.

    When the rpo as ('IO5% ") then 'IO5 -.

    When the rpo as ("IO6% %") then "IO6" -.

    When rpo like ('% ROMANO %') then 'ROMAN '.

    When the rpo like ('% U0F %') then 'U0F '.

    When the rpo like ('% U0H %') then 'U0H '.

    When the rpo like ('% U1C %') then 'U1C;

    When the rpo as ('UCH %") then"UCH -.

    When the rpo as ('UCM % %') then 'UCM -.

    When the rpo like ('% UF7% ') then 'UF7;

    When the rpo as ("UFF %") then "UFF;

    When the rpo like ('% UFU %') then 'UFU -.

    When the rpo like ('% UG4% ') then 'UG4;

    When the rpo like ('% UGU %') then 'UGU;

    When the rpo like ('% UGX %') then 'UGX;

    When the rpo like ('% YFU %') then 'YFU;

    When the rpo like ('% UH7% ') then 'UH7;

    When the rpo like ('% UHQ %') then 'UHQ -.

    When the rpo as ("UHU %") then 'UHU '.

    When the rpo like ('% UHV %') then 'UHV;

    When the rpo like ('% UHW %') then 'UHW -.

    When rpo love ('UI2% ") then"UI2. "

    When rpo like ('% UI4% ') then 'UI4;

    When the rpo like ('% UI6% ') then 'UI6 '.

    When the rpo as ("UI7%") then "UI7;

    When the rpo as ("UI8%") then "UI8;

    When the rpo like ('% UL5% ') then 'UL5;

    When the rpo like ('% UM7% ') then 'UM7;

    When the rpo as ("UMT %") then "UMT" -.

    When the rpo as ("UNM %") then "UNM;

    When the rpo like ('% UPX %") then"UPX"

    When the rpo like ('% US8% ') then 'US8 -.

    When the rpo like ('% Mikiduta %') then 'KARIM ' -.

    When the rpo like ('% UUJ %') then 'UUJ;

    When the rpo as ('UUN %") then"UUN -.

    When the rpo like ('% % PERFORMED') then 'PERFORMED '.

    When the rpo like ('% UYE %') then 'UYE.

    When the rpo as ("UYS %") then "UYS' end - RPO

    v1 -.

    where the rpo like ('%, ADG, %').

    or the rpo like ('%, IO3, %')-

    or the rpo like ('%, IO4, %')-

    or the rpo like ('%, IO5, %')-

    or the rpo like ('%, IO6, %')-

    or the rpo like ('%, ROE, %')-

    or rpo like ('% U0F %')-

    or rpo like ('% U0H %')-

    or the rpo like ('%, U1C, %')-

    or the rpo like ('%, UCH, %')-

    or the rpo like ('%, UCM, %')-

    or the rpo like ('%, UF7, %')-

    or the rpo like ('%, UFF, %')-

    or the rpo like ('%, UFU, %')-

    or the rpo like ('%, UG4, %')-

    or the rpo like ('%, UGU, %')-

    or the rpo like ('%, UGX, %')-

    or the rpo like ('%, YFU, %')-

    or rpo like ('% UH7, %')-

    or the rpo like ('%, UHQ, %')-

    or the rpo like ('%, UHU, %')-

    or the rpo like ('%, UHV, %')-

    or the rpo like ('%, UHW, %')-

    or the rpo like ('%, UI2, %')-

    or the rpo like ('%, UI4, %')-

    or the rpo like ('% UI6% ')-

    or the rpo like ('%, UI7, %')-

    or the rpo like ('%, UI8, %')-

    or the rpo like ('%, UL5, %')-

    or the rpo like ('%, UM7, %')-

    or the rpo like ('%, UMT, %')-

    or the rpo like ('%, UNM, %')-

    or the rpo like ('%, UPX, %')-

    or the rpo like ('%, US8, %')-

    or the rpo like ('%, KARIM, %')-

    or the rpo like ('%, UUJ, %')-

    or the rpo like ('%, UUN, %')-

    or rpo like ('% PERFORMED, %')-

    or the rpo like ('%, UYE, %')-

    or the rpo like ('%, UYS, %')-

    or the rpo like ('%, ROE, %'))

    /

    output

    If you google you will see many examples, here is one:

    Double on the database table. Laurent Schneider

Maybe you are looking for

  • Safari does not not on the MacBook Air

    My father has a MacBook Air, (which I use sometimes when I'm not at my desk). Now when I use Safari (and this has always been a problem because he got) for some reason when I reopen it Safari opens the last page I visited. At first, I thought the set

  • GarageBand-export the audio tracks

    Hello! Need advice on how to export the audio tracks separately in GarageBand. I record an audio podcast in which I interview a guest. I need to record and send audio tracks separately to my assistant audio to change. Thank you in advance for your he

  • Table 2D with the ones and zeros

    Hello I want to use a MATLAB code in Labview, but without the help of MATLAB. The code is the following: Mask = ones (size (cc));Mask (1:sze, = 0;)Mask(:,1:Sze) = 0;Mask (end - sze, + 1:end, = 0;)Mask(:,end-Sze+1:end) = 0; It must be a picture 2D wit

  • Size of the graphics and fonts

    I just bought a laptop Pavilion g7 with Windows 8. I don't know what I hit, but the graphics and fonts have increased in size. How can I put them back to normal?

  • My laptop screen goes black and restart but not when I'm in safe mode. What could be the problem?

    I am running Vista with Service Pack 1 (I tried unsuccessfully to install SP 2) and this started happening a few months ago.