Create table error

hi
While creating table (only structure) i m gettting this error
ERROR at line 2:
ORA-01401: inserted value too large for column
ON CUSVAA (INST_NO,
ERROR at line 2:
ORA-00942: table or view does not exist
i m only creating structure not inserting any thing.... this scripts contains
create table command
and create index command..
second error i can understand but i m totaly confused with ora 01401 i m not inserting any thig though it is giving me this error..
please help

Try creating the table with the following
CREATE TABLE CUSVAA
(CODE CHAR (2) DEFAULT 00,
DELI CHAR (1) DEFAULT 0,
INST_NO CHAR (3) NOT NULL,
CUST_NO CHAR (16) NOT NULL,
RECNO CHAR (4) NOT NULL,
TITLE_CODE CHAR (2) DEFAULT (LPAD(CHR(0),002,CHR(0))),
NAME1 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
NAME2 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
NAME3 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
ADD1 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
ADD2 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
ADD3 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
ADD4 CHAR (80) DEFAULT (LPAD(CHR(0),080,CHR(0))),
POSTCODE CHAR (10) DEFAULT (LPAD(CHR(0),010,CHR(0))),
PHONE_NO_RES CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
PHONE_NO_BUS CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
FAX_NO CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
TELEX_NO CHAR (12) DEFAULT (LPAD(CHR(0),012,CHR(0))),
EFFE_DATE NUMBER (9) DEFAULT (0),
EXPI_DATE NUMBER (9) DEFAULT (0),
CITY_CODE CHAR (4) DEFAULT (LPAD(CHR(0),004,CHR(0))),
LAST_MAINT_DATE NUMBER (9) DEFAULT (0))
PCTFREE 005
PCTUSED 090
INITRANS 5
STORAGE (
PCTINCREASE 0
TABLESPACE USERS
CREATE UNIQUE INDEX CUSVAAPK
ON CUSVAA (INST_NO,
CUST_NO,
RECNO)
PCTFREE 005
INITRANS 5
STORAGE (
PCTINCREASE 0
TABLESPACE USERS
The specification of the defaults for the first two columns were changed
Regards

Similar Messages

  • Logical Standy - create table error

    Hi,
    I have a primary database from which i create a new table as:
    create table abc as select * from xyz;
    On the logical standby the table is NOT created and I get lots of PL/SQL errors in the alert_log created via the STDBYLOG session. The table cannot be created and I have to skip it manually.
    should the create table statement work on the logical standby automatically? Has anyone else used this with success.
    Thanks,
    Steve.

    By default, DDL on the primary should be replicated on the logical standby (at least in Oracle 9.2-- haven't looked into earlier versions). There is a section in the Oracle Data Guard Administrator's Guide on how to skip applying DDL to the logical standby http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96653/manage_ls.htm#1017328. Is it possible that the standby system was configured to ignore new tables?
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • SQL error #3115 during Create table

    As a new user to this AIR problem, I am using "adl
    application.xml" to start up testing.
    I am using disk file based table. Disk file is wiped out each
    time before startup this application.
    Following sql failed all the time. Is there anything wrong
    with adl or any cached data need to empty out prior to create
    table?
    createTables : function(callback) {
    // create tables
    var stmt = new air.SQLStatement();
    stmt.sqlConnection = this.sqlConnection;
    stmt.text = "CREATE TABLE IF NOT EXISTS Contacts ( " +
    "id INTEGER PRIMARY KEY AUTOINCREMENT, " +
    "manufacturer VARCHAR(32), " +
    "model VARCHAR(32), " +
    "sn VARCHAR(32), " +
    "orderNumber VARCHAR(64), " +
    "type VARCHAR(256), " +
    "shipping VARCHAR(32), " +
    "check VARCHAR(32), " +
    "notes VARCHAR, " +
    "photo BLOB)";
    var success = function(event) {
    if (callback) callback(true);
    var failure = function(event) {
    runtime.trace("CREATE TABLE error:", event.error);
    runtime.trace("event.error.code:", event.error.code);
    runtime.trace("event.error.message:", event.error.message);
    if (callback) callback(false, event.text);
    stmt.addEventListener(air.SQLErrorEvent.ERROR, failure);
    stmt.addEventListener(air.SQLEvent.RESULT, success);
    stmt.execute();
    D810# adl application.xml
    Loaded
    Loaded
    Loaded
    Loaded
    Loaded
    Loaded
    Loaded
    creating database D:\blackbooksafe\data\database.db
    CREATE TABLE error: SQLError: 'Error #3115: SQL Error.',
    details:'near 'VARCHAR'
    : syntax error', operation:'execute', detailID:'2003'
    event.error.code: undefined
    event.error.message: Error #3115: SQL Error.
    Cannot create database: Error #3115: SQL Error.
    D810#

    Hi Dimitri.
    If you click on the tables node before you right click, does this work for you? Apple's focus is different to windows and you need to click on the component you wish to get a menu on on OSX
    Let me know.
    B

  • Error while creating table

    Hi,
    I am getting an error while creating a table,
    create table cs_temp_xml_data as select rowid RW_ID, value(d).getClobVal() xml_value FROM cs_tmp_wcl_xml_data p,table(xmlsequence(extract(p.xml_data,'/records/record'))) d ;
    Here cs_tmp_wcl_xml_data contains a data of 600 mb in oracle directory
    ORA-04030: out of process memory when trying to allocate 4000 bytes (qmxlu subheap,qmemNextBuf:alloc)
    Can anyone help me out regarding this error?

    check out metalink doc: 543239.996
    also bug 3436395.

  • Error while creating table from csv file

    I am getting an error while creating a table using 'Import Data' button for a csv file containing 22 columns and 8 rows. For primary key, I am using an existing column 'Line' and 'Not generated' options.
    ORA-20001: Excel load run ddl error: drop table "RESTORE" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "RESTORE" ( "LINE" NUMBER, "PHASE" VARCHAR2(30), "RDC_MEDIA_ID" VARCHAR2(30), "CLIENT_MEDIA_LABEL" VARCHAR2(30), "MEDIA_TYPE" VARCHAR2(30), "SIZE_GB" NUMBER, "RDC_IMG_HD_A" NUMBER, "START_TECH" VARCHAR2(30), "CREATE_DATE" VARCHAR2(30), "RDC_MEDIA_DEST" VARCHAR2(30), "POD" NUMBER, "TAPE" NUMBER, "ERRORS_YN" VA
    Any idea?

    I am getting an error while creating a table using 'Import Data' button for a csv file containing 22 columns and 8 rows. For primary key, I am using an existing column 'Line' and 'Not generated' options.
    ORA-20001: Excel load run ddl error: drop table "RESTORE" ORA-00942: table or view does not exist ORA-20001: Excel load run ddl error: create table "RESTORE" ( "LINE" NUMBER, "PHASE" VARCHAR2(30), "RDC_MEDIA_ID" VARCHAR2(30), "CLIENT_MEDIA_LABEL" VARCHAR2(30), "MEDIA_TYPE" VARCHAR2(30), "SIZE_GB" NUMBER, "RDC_IMG_HD_A" NUMBER, "START_TECH" VARCHAR2(30), "CREATE_DATE" VARCHAR2(30), "RDC_MEDIA_DEST" VARCHAR2(30), "POD" NUMBER, "TAPE" NUMBER, "ERRORS_YN" VA
    Any idea?

  • Error while creating table "EDISEGMENT' entry 'BIC/CIBA0PLANT_ATTR

    While loading master data for 0PLANT, its giving me following error.
    "error while creating table "EDISEGMENT' entry 'BIC/CIBA0PLANT_ATTR"
    Please help me out.
    Thanks

    steve,
    Can you give the solution you used to correct this problem?
    This error occurred in BW during import.
    Raj.

  • Logical error in creating tables using db link in solaris

    Hi,
    While creating table using the syntax create table newtab...as select * from [email protected] .. I am facing a problem. The newtab table created is having a structure different (from datalength point of view of varchar2 and char datatypes) from the source. The data length is getting tripled i.e. if a column a is varchar2(20) in tab then it is becoming --- a varchar2(60) in newtab. This is happening in solaris environment when the two databases are in 2 different servers. Please let me know if there are any patches to resolve the problem.
    Thanks
    Arnab

    ORA-02019: connection description for remote database not foundHave you used this database link successfully for some other queries?
    The error posted seems to indicate that the DB Link is not functional at all. Has it worked for any other type of DML operation or is this the first time you ever tried to use the link?

  • Error while creating table maintenance generator

    Hi,
    I am getting below error while creating table maintenance generator.
    Screen SAPLZtest   0002 could not be generated.   In DYNPFIELD_ATTR field LENGTH has the invalid value 241.
    Reason for that error might be:
    In the table I have a field with a dataelement(customized) of type Char and length 241.
    But in the other table Iam using the standard data element(standard) of same type(241 char).In this table Iam able to create table maintenance generator without any errors.
    And the domain Iam using is same for both the tables.
    Please help me to solve this.
    Thanks in advance,
    Sravanthi

    Hi,
    you can go to transaction se51 and go your screen. active it.. you can find thesolution.
    refer these links..
    Error in table control
    Error while creating table maintainence generator !
    Thanks and Regards,
    Ahamed.

  • Source sys Restore "error while creating table EDISEGMENT "

    Dear All,
    I am Basis person and recently we have refreshed data of Test BI system from Development BI system. we normally carry out these Refresh but In this case we have also changed Hostname and SID for Test BI system.
    We have done all BW refresh steps as per guide and during Restore of source system we
    are getting errors during datasource activation as  " error while creating table EDISEGMENT ".
    we have checked RFC and Partner profiles and working fine.
    We have 2 clients connected from source system to our Test BI box.strange thing is we got one source system activated without any errors and for second
    source system we are getting above mentioned error.
    We have reviewed notes 339957 , 493422 but our BI fuctional team is not sure whether
    those apply to our OLTP system , as one source system from same OLTP system got
    successfully activated and source system for other client giving this issue .
    Please help us out with this problem.
    we are running on BI 7.0 platform and ECC 6.0 for source.
    Regards,
    Rr

    check the relevant profiles in We20 t code and also in sm59 if the remote connection with autorisation is sucssessfull, connection is ok otherwise you need to check th paramters.
    hope this helps
    regards
    santosh

  • Erro: "Error while creating table 'EDISEGMENT'"

    Pessoal bom dia,
    quando eu vou Ativar uma Regra de Transferência retona o seguinte erro:
    Error while creating table 'EDISEGMENT'
    não estou conseguindo desvendar o que pode ser isto, e a regra não ativa de jeito nenhum.
    Alguém já passou pelo problema?

    Please post this in the Portuguese Forum...
    Regards
    Juan

  • Error: "Error while creating table 'EDISEGMENT'"

    Hi,
    When I activate a Transfer Rule return the following error:
    Error while creating table 'EDISEGMENT'
    Someone has passed the problem?

    Bom dia Marques,
    Na SAP Note 339957 tem o síntoma descrito por você.
    Solução:
    In the system where the error occurs (usually the OLTP), create and run the report RS_CHECK_TS_EDISEGMENT (with SENDING and RECEIVING LOGSYS as an entry).
    Entretanto esta nota foi substituida pela SAP Note 493422, com bem mais detalhes e indica um programa Z
    Atenciosamente,
    Fernando Da Rós
    PS: Fórum em português.

  • Error while creating table 'EDISEGMENT' entry for Transfer Structures

    Hi Guyz...
    I've been facing a few issues regarding activation of transfer structures.
    I'll explain the whole process...so it makes sense to you guys.
    I've initially activated the Transfer Structures in BI Content for Master Data. Later on we faced some issues in the DEV server. So we had to transport all the objects and store them locally on a temporary location. When the BI DEV sever, was up and running, we transported all the objects back to the server.
    Now while moving the objects back to the sever. We had an errors in the Master Data Request (Log- Method Execution). After going into the log...this is what I found.
    Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0DIVISION_TEXT'
    Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0DISTR_CHAN_TEXT'
    Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0MATL_TYPE_TEXT'
    Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0SALESORG_TEXT'
    Error while creating table 'EDISEGMENT' entry '/BIC/CIIA0SALES_GRP_TEXT'
    I hope, I am clear here.
    Any suggestions, guys...
    Thanks,
    Regards,
    G

    Hi,
    Please check this link:
    Error while creating table EDISEGMENT entry
    Hope it helps.
    Thanks and Regards,
    MuraliManohar.

  • Error while creating table 'EDISEGMENT' entry '/BIC/CIBD0BILBLK_DL_TEXT'

    Hi All,
    I am getting a error"Error while creating table 'EDISEGMENT' entry", when running the program RS_Transtru ActivateAll to activate the transfer rules as we had reconnected our source system,
    we are on 2004s server and on SP level 17, I understand that this issue is created as the transfer rules are using IDOC as transfer method, and I Cannot manually change the transfer method to PSA and activate  as the number of transfer rules with this  issue are huge in number.
    Please suggest the suitable solution
    Thank you in advance
    krishna
    Edited by: krishna dvs on Feb 17, 2009 1:24 PM

    Hi,
    Please check the note 493422. The reports listed in the note
    should correct the inconsistencies and afterwards you can re-import the
    request and it should then work.
    Regards,
    Srikanth

  • Error while creating table 'EDISEGMENT' entry '/BIC/CIWA0TRZONE_TEXT'

    Hi experts,
    when I import my transport request to QA, I am getting this error
    "Error while creating table 'EDISEGMENT' entry '/BIC/CIWA0TRZONE_TEXT'"
    the performance assistance reads as below..
    Message no. EA201
    Diagnosis
    An attempt was made to create the entry '/BIC/CIWA0TRZONE_TEXT' in table 'EDISEGMENT'. The attempt failed.
    System response
    The operation was canceled.
    Procedure
    Please check whether the relevant entry already exists
    I have an entry for '/BIC/CIWA0TRZONE_TEXT'  in the table 'EDISEGMENT' do need to delete it before importing the transport. How to delete this entry, I donot see the options in SE11 /SE16..
    thanks in advance
    D Bret

    Hi,
    can you please be more precise with your enquiry?
    As far as I read the note, it is quite explanatory....
    What is your source system release?
    You'll need to implement this prog in your source system and execute it there.
    If everything works and is fine, import to program in your QA/PROD source systems and rexecute it as specified in the note...
    does it answer your question
    Olivier.

  • Error while creating table 'EDISEGMENT' entry '/BIC/CIBB0DISTR_CHAN_TEXT'

    When I am activating the transfer rules of 0divison_text giving me the error
    Error while creating table 'EDISEGMENT' entry '/BIC/CIBB0DISTR_CHAN_TEXT'
    Message no. EA201
    Diagnosis
    An attempt was made to create the entry '/BIC/CIBB0DISTR_CHAN_TEXT' in table 'EDISEGMENT'. The attempt failed.
    System Response
    The operation was canceled.
    Procedure
    Please check whether the relevant entry already exists.
    I have checked the note 493422 but I did not understand it can any one help me in this
    I am  working on 7.o with  SP SAPKW70010

    Hi Priya,
    Delete entries for the data source in ROOSGEN,  EDISEGMENT and EDSAPPL tables, both on ECC and BI sides.
    Try activating the infosource again.  This should solve your problem.
    Sasi

Maybe you are looking for

  • Navigation Cannot Start from this location. ERROR ...

    Navigation used to work fine on my X6, but since having to do a hard reset of the phone (due to other problems!) I cannot use the Navigation. Everytime I get the error 'navigation cannot start at this location' and it doesn't seem like the phone can

  • Require to connect to Oracle DB

    hi, I need to connect to an Oracle DB using JDBC drivers. Where will I get these drivers from. What all do I need to do to connect to the DB using these drivers. Is it possible to install the drivers through our application,incase they are not presen

  • Can we assign more than one sales org to one company code ?

    can we assign more than one sales org to one company code ? or one as to one only ? why sales org is assigned at company code level why not on plant level ? regards

  • ACS 5.5.0.46.6 and NEAT Problems

    Hi, We´re using a lot of NEAT-Switches. They all configured with the same username and password. Sometimes when we connect a new one, an other one, already working fine, looses connectivity. Both switches are connected to WS-C3750-48TS-E (Stack). IOS

  • Here is how to use Airport AirDisk with Time Machine

    I haven't tried this myself yet (I will give it a go this weekend), but since a lot of people are complaining about this, here is a link with instructions on how to do it. http://www.macosxhints.com/article.php?story=20071026075201634 for your conven