ORA-01400 in mapping

Hello world

I created a mapping that loads an external table data into the destination table.
The external table contains fewer fields than the destination table, so I leave these fields unconnected.
Check and delpoying mapping works very well. So I did a test of the mapping.

Now a warning occurs "ORA-01400: cannot insert null into tablename.fieldname". But the field who complains is a field unconnected in my correspondence.
But in the destination table, this field is defined as NOT NULL.

Is it possible to get rid of this warning?

I hope my problem clearly.

Greetings.

What you're trying is like

Target table has column 3. source has 2 columns and these 2 must be connected to your target. Off-line column is defined as not null.

Now when your code runs, it inserts the value for column 2, and a null value is passed to your 3rd column target.
Oracle doesn't like it and it gives an error.

If you do not remove null column then this problem will not come another wise set a default value for this column so that when your code runs, it inserts the value of 2 columns and oracle privieds default value in column 3.

Thank you
Fati

Tags: Business Intelligence

Similar Questions

  • Error ORA-01400 creation policy in AV 12 c

    Hello

    I have configured the host, the agent, collectors everything is ok and works, but when I try to create a strategy of the VA gives me this error:

    ORA-01400: cannot insert NULL into ('AVSYS". "" "" AUDIT_SETTING_ARCHIVE_MAP '. "" ARCHIVE_ID')

    ANY IDEA? NO MATTER WHAT SETTING I NEED TO CHECK FIRST?

    THNKS FOR MORE INFORMATION!

    Hello.!!

    thnks... !!

    Yes, I opened a SR and the response was the question in the note, so then oracle created the note:

    Creating a strategy for auditing in 12 c AVDVF fails with error ORA-01400 (Doc ID 1680878.1)

  • Autconfig error: ORA-01400: cannot insert NULL into ('APPLSYS". "" "" FND_NODES '. "" NODE_NAME')

    Nice day

    I'm under EBS 11.5.10 with DB 10.2.0.4. I applied patch 7429271 following the steps described in the Doc id 233044.1.

    After restarting the application, I had one "node id does not exist for the current application" when forms started.

    After serving nodes (exec fnd_conc_clone.setup_clean) DNF, I ran successfully on the dbtier autoconfig but got the error below in the layer of apps.

    I also noticed that the content of my BCD file has been deleted and replaced by the model data (all values are by default). I tried to restore but it just had class written once again with default data.

    Hope my explanation was clear enough.

    Any suggestions?

    -adconfig.log error-

    Unique constraint error (00001) is OK if the key already exists

    java.sql.SQLException: ORA-01400: cannot insert NULL into ('APPLSYS". "" "" FND_NODES '. "" NODE_NAME')

    ORA-06512: at the 'APPS '. FND_CONCURRENT', line 1504

    ORA-06512: at the 'APPS '. FND_APP_SERVER_PKG', line 163

    ORA-06512: at line 1

    -Database error change the server

    You have the latest applied AutoConfig patch (Patch 9535311 - T2K AUTOCONFIG AND TEMPLATES CUMULATIVE HOTFIX U)? If this isn't the case, please apply the patch and then try.

    Additionally, make sure that you have entered in the file/etc/hosts.

    Thank you

    Hussein

  • ORA-01400 ccannot insert NULL into ("SYS". «SUMINLINE$ '.» ("' TEXT ')

    Hello

    First I'll apologize I can't give too much information as my client is offline and remotely. The SQL I will discuss work on his test and my solution Oracle XE. But on live, we get the error shows:

    ORA-00604: an error has occurred at the SQL level 1 recursive
    ORA-01400: cannot insert NULL into ("SYS". «SUMINLINE$ '.» ("' TEXT ').

    I have never posted on this forum but I do not understand what makes the table SUMINLINE$ and it has relevance. Please also excuse if there is a better way to write the SQL code), in any case any guideance would be useful.

    I thought it may be down to how I use rownum (he is a complete proposal) but he materializes in the previous view, I don't see how it could be)

    In any case if someone is good enough to spend a little time there, watching the SQL below I would be eternally grateful.

    -----------------------------------------------------
    STEP 1: I have a materialized view of base:
    (he uses the 'rownum' as primary key as a primary key is needed more late and from this point of view does not
    a primary key, as it is a view complex)
    -------------------------------------------------------

    Bo_socrates.baseCSIIdentPerPerson CREATE MATERIALIZED VIEW
    TABLESPACE bo_socrates
    PCTUSED 0
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE)
    1040K INITIALS
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    DEFAULT USER_TABLES
    )
    NOCACHE
    NOLOGGING
    NOPARALLEL
    IMMEDIATE CONSTRUCTION
    COMPLETE REFRESH
    WITH THE PRIMARY KEY
    AS
    SELECT rownum iid,
    csi.attendId,
    csi.sceneId,
    csi.caseId,
    csi.identDate,
    csi.identType,
    csi.subIdenttype,
    csi.suspectId,
    CSI. Surname,
    CSI. Data,
    CSI. CRO,
    CSI. ConfirmedIdent
    OF bus_objects.v_factCSIIdentPerPerson csi
    ;

    CREATE INDEX bo_socrates.ind_baseCSIIdentPerson_Id on bo_socrates.baseCSIIdentPerPerson (id)
    TABLESPACE bo_socrates
    STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;


    -----------------------------------------------------
    STEP 2: This materialized view (my fact table) uses the previous view of the materilalized
    as a point to calculate the date of fact. It is for example the background 'unit' people
    but I also need to know what people came first, that people came first with blue hats, etc..
    So I use one with instructions to discover these facts.
    * PLEASE NOTE THAT IT IS THIS VIEW WHICH TRIGGERS THE ERROR WHEN THE SCRIPT IS RUN *.
    If there is a simpler way to write so please let me know
    This point of view basically uses the primary key (id) generated in the above view by using rownum
    -------------------------------------------------------
    Bo_socrates.factCSIIdent CREATE MATERIALIZED VIEW
    TABLESPACE bo_socrates
    PCTUSED 0
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE)
    1040K INITIALS
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    DEFAULT USER_TABLES
    )
    NOCACHE
    NOLOGGING
    NOPARALLEL
    IMMEDIATE CONSTRUCTION
    COMPLETE REFRESH
    WITH THE PRIMARY KEY
    AS
    With
    firstAttend like)
    Select Attendid, Min (IdentDate) Identdate,
    Min (ID) Id,
    Min (case when identtype = 0 Then ID else null end) IPF,
    Dnaid, min (case when identtype = 1 Then ID else null end),
    Fwid, min (case when identtype = 2 Then ID else null end),
    Min (Case When Confirmedident = 1 then end Id or Null) Idconfirm,
    Fpidconfirm, min (case when identtype = 0 and Confirmedident = 1 Then ID else null end),
    Dnaidconfirm, min (case when identtype = 1 and Confirmedident = 1 Then ID else null end),
    Min (case when identtype = 2 and confirmedident = 1 Then ID else null end) FwidConfirm
    Of Bo_Socrates.Basecsiidentperperson
    Attendid GROUP),
    firstInd AS)
    Select Attendid, SuspectId, Identdate, Min (Id) Id, Min (IdentDate),
    Min (case when identtype = 0 Then ID else null end) IPF,
    Dnaid, min (case when identtype = 1 Then ID else null end),
    Fwid min (case when identtype = 2 Then ID else null end)
    Of bo_socrates. BaseCSIIdentPerPerson
    Attendid group, Suspectid)
    Select csi.id,
    csi.attendId,
    csi.sceneId,
    csi.caseId,
    csi.identDate,
    CSI.identtype,
    csi.subIdenttype,
    csi.suspectId,
    CSI. Surname,
    CSI. Data,
    CSI. CRO,
    Csi.Confirmedident,
    Case when Ind.Id is Null then 0 otherwise 1 end Firstindident.
    Case when Ind.Fpid is Null then 0 otherwise 1 end Firstindidentfp.
    Case when Ind.DNAid is Null then 0 otherwise 1 end FirstindidentDNA.
    Case when Ind.FWid is Null then 0 otherwise 1 end FirstIndIdentFW.
    Case when Att.Id is Null then 0 otherwise 1 end Firstattident.
    Case when Attfp.Fpid is Null then 0 otherwise 1 end Firstattidentfp.
    Case when AttDNA.DNAid is Null then 0 otherwise 1 end FirstattidentDNA.
    Case when Attfw.Fwid is Null then 0 otherwise 1 end Firstattidentfw.
    Case when Att.IdConfirm is Null then 0 otherwise 1 end FirstattidentConfirm.
    Case when Attfpc.Fpidconfirm is Null then 0 otherwise 1 end Firstattidentfpconfirm.
    Case when AttDNAc.DNAidconfirm is Null then 0 otherwise 1 end FirstattidentDNAconfirm.
    Cases where AttFWc.FWidconfirm is Null then 0 otherwise 1 end FirstattidentFWconfirm
    Of Bo_Socrates.Basecsiidentperperson Csi
    Left outer join Firstind Ind Csi.Id = Ind.Id
    Left outer join Firstind Indfp Csi.Id = Indfp.Fpid
    Left outer join Firstind Inddna Csi.Id = Inddna.Dnaid
    Left outer join Firstind IndFW Csi.Id = IndFW.FWid
    Left outer join Firstattend Att Csi.Id = Att.Id
    Left outer join Firstattend Attfp Csi.Id = Attfp.Fpid
    Left outer join Firstattend Attdna Csi.Id = Attdna.Dnaid
    Left outer join Firstattend Attfw Csi.Id = Attfw.Fwid
    Left outer join Firstattend Attfpc Csi.Id = AttFPc.Fpidconfirm
    Left outer join Firstattend Attdnac Csi.Id = AttDNAc.DNAidconfirm
    Left outer join Firstattend Attfwc Csi.Id = AttFWc.Fwidconfirm
    ;


    CREATE INDEX bo_socrates.ind_factCSIIdent_Id on bo_socrates.factCSIIdent (attendId)
    TABLESPACE bo_socrates
    STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;

    CREATE INDEX bo_socrates.ind_factCSIIdent_date on bo_socrates.factCSIIdent (identDate)
    TABLESPACE bo_socrates
    STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;

    CREATE INDEX bo_socrates.ind_factCSISubIdent_type on bo_socrates.factCSIIdent (subidentType)
    TABLESPACE bo_socrates
    STORAGE (INITIAL 64K MINEXTENTS 1 MAXEXTENTS UNLIMITED) NOLOGGING;


    COMMIT;

    Details of the message of pl of the OS and database versions. It is probably a bug - pl see these Docs MOS

    Error ORA-01400 creating MView ANSI join [ID 1495499.1]
    While Alter Materialized View compilation then error ORA-01400 product [1377447.1 ID]

    As the State of docs, a fix is available in the next version of Oracle (12g) - I'd say you open an SR with Support

    HTH
    Srini

  • ORA-01400: cannot insert NULL into () in the procedure OE_Header_Util package

    Hi Hsawwan,

    When you try to save the header in the order form, you will see the following message in R12.

    Note
    --------------------------------------------------------------------------------
    ORA-01400: cannot insert NULL in
    ("TO HAVE". "" "" OE_ORDER_HEADERS_ALL '. "" ORDER_NUMBER") in the package OE_Header_Util procedure Insert_Row


    I followed the Doc-ID 1208783.1 and change the value of the profile Option, OM: Default sale Transaction Phase, NULL or "Fulfillment". and I srt a configuration document for sales orders sequence.


    Please help me how to solve the problem.

    Thank you
    Concerning
    GSM

    Are you connected to the correct responsibility?

    Have you checked if this simultaneous program is added to the application group that is the responsibility?

    Thank you
    Hussein

  • Import error: ORA-01400: cannot insert NULL in

    I'm performing a level schema import and I get this error. Half an hour, this error comes without any stop. could you please tell me how to ignore this error when executing import?

    IMP-00019: rejected due to the ORACLE 1400 error line
    IMP-00003: ORACLE error 1400
    ORA-01400: cannot insert NULL into ("LWARE_ADMIN". "" "" SAMPLE_AUDIT_LOG '. "" COUNTER")

    Db version is 10.2.0.4 and platform HP - UX B.11.31 U ia64

    Thank you!

    Hello

    Please read this article

    ORA-1400 when you import the Export Dump written in Mode Direct Path [ID 826746.1]

    Kind regards
    Rakesh jayappa

  • ORA-01400: cannot insert NULL in

    Hi all
    I got the following error when inserting values in the database can someone guide me please?
    ORA-01400: cannot insert NULL in

    create table sara1
    (ID number primary key (10),)
    Add varchar2 (10) not null,
    Add2 varchar2 (10) not null;

    Insert into sara1
    (add, add2)
    values ('USA', 'Angel');

    ERROR on line 1:
    ORA-01400: cannot insert NULL in


    Sarah

    Published by: SarahSarahSarah on August 27, 2009 13:56

    Is missing a value for the column ID of the insert statement. And a primary key cannot contain NULL values.

    -Andy

    Published by: a Tael on August 27, 2009 16:03

  • Implementation of Ldap errors - ORA-01400, ERR-10480

    Scott,

    I get this error when you try to implement Ldap in active directory.

    I use apex 3.2.0.00.27 and oracle database 10g Enterprise Edition Release 10.2.0.3.0


    ORA-01400: cannot insert NULL into ("APEX_030200". «WWV_FLOW_USER_ACCESS_LOG2$ '.» ("' SECURITY_GROUP_ID")
    ERR-10480 error cannot perform the function of verification of the authentication credentials.
    Ok


    Request 103 101 home edition page create Session activity Debug Hide Edit links see change it links
    Location: f? p = 103:101:189300501816980¬ification_msg =
    Invalid%20Login%20Credentials/4AA19826E86C3D0EE59CA6ED37F419D4/


    My plsql function tests fine in sql developer.


    I have read all the threads that I can find and I'm still not able to solve the problem

    Here's my function less sensitive data.

    create or replace
    FUNCTION ldap_auth (p_username in varchar2, p_password in varchar2) return a Boolean value
    is
    -Set Variables-
    l_ldap_host VARCHAR2 (512): = 'server ';
    l_ldap_port PLS_INTEGER: = 389;
    l_ldap_user VARCHAR2 (512): = "Cn = test_system, or = test accounts, dc is corp, dc = test, dc = com';"
    l_ldap_passwd VARCHAR2 (512): = "password";
    l_ldap_base VARCHAR2 (256): = 'dc = corp, dc = test, dc = com';
    l_filter VARCHAR2 (100): = 'cn =' | p_username;
    l_session DBMS_LDAP. SESSION;
    l_res DBMS_LDAP. MESSAGE;
    l_msg DBMS_LDAP. MESSAGE;
    instantaneous VARCHAR2 (1000);
    l_retval PLS_INTEGER;
    l_retval2 PLS_INTEGER;
    l_retval3 PLS_INTEGER;
    l_attr DBMS_LDAP.string_collection;
    BEGIN
    l_retval: = - 1;
    DBMS_LDAP.use_exception: = true;

    BEGIN
    -Connect to session-
    l_session: = DBMS_LDAP.init (l_ldap_host, l_ldap_port);
    -DBMS_OUTPUT.put_line (RPAD ('l_filter', 25, ' ') |) ': ' || l_filter);
    -DBMS_OUTPUT.put_line (RPAD ('ldap session', 25, ' ') |) ': '||
    -SUBSTR (l_session, 1, 16). -(renvoyées_par_init) ');
    -DBMS_OUTPUT.put_line (RPAD ('user', 25, ' ') |) ': ' || p_username);
    -Simple bind with service account
    l_retval2: = DBMS_LDAP.simple_bind_s (l_session, l_ldap_user, l_ldap_passwd);
    -DBMS_OUTPUT.put_line (RPAD ("S Binnd Simple", 25, ' ') |) ': ' || l_retval2);
    -Search
    l_retval: =.
    DBMS_LDAP.search_s (ld = > l_session,)
    Base = > l_ldap_base,
    SCOPE = > DBMS_LDAP.scope_subtree,
    filter = > l_filter,
    uploading = > l_attr,
    attronly = > 0,
    RES = > l_res
    );
    -DBMS_OUTPUT.put_line (RPAD ('return search_s', 25, ' ') |) ': '|| To_char (l_retval));
    -The county entered
    l_retval: = DBMS_LDAP.count_entries (l_session, l_res);
    -DBMS_OUTPUT.put_line (RPAD ("number of entries", 25,"'") | ': ' |) l_retval);
    -Made the first entry
    l_msg: = DBMS_LDAP.first_entry (l_session, l_res);
    -DBMS_OUTPUT.put_line (RPAD ('l_msg,' 25, ' ') |) ': ' || l_msg);
    -DBMS_OUTPUT.put_line (RPAD ('user', 25, ' ') |) ': ' || p_username);
    -Do Dn
    instantaneous: = DBMS_LDAP.get_dn (l_session, l_msg);
    -DBMS_OUTPUT.put_line (RPAD ('instantaneous', 25, ' ') |) ': ' || instantaneous);
    -Fact - unbind
    l_retval3: = DBMS_LDAP.unbind_s (l_session);
    RETURNS true;
    EXCEPTION
    WHILE OTHERS
    THEN
    l_retval3: = DBMS_LDAP.unbind_s (l_session);
    RETURNS false;
    END;
    EXCEPTION
    WHILE OTHERS
    THEN
    RETURNS false;
    END ldap_auth;



    On the login processing screen I have following information

    LDAP host: Server
    LDAP port: 389

    LDAP dn string: % LDAP_USER %
    LDAP username change function: return ldap_auth;


    I also try to use access control, which worked correctly with the authentication request.


    Any help would be appreciated.

    It seems that your authentication below is the full agreement. Why not take the ldap information as it is and only have the function with the parameter authentication scheme:

    Authentication:
    return ldap_auth

  • Error ORA-01400 in application

    Hello:

    I get the following error when I try to create a new customer.
    ORA-01400: cannot insert null into ('client.id")

    It comes to my table structure:
    ID number not Null PK
    ClientID varchar2
    client_code varchar2
    client_name varchar2

    I created a report that displays all the customers table. I also have a button CREATE on the report so my users can create new customers. The branches of button CREATE to the next page which is a form.

    I click on CREATE and the form appears. Screen displays all fields except id which is the primary key and the area of items in Page rendering, it will appear as hidden.

    I try to add a customer, click on create and I get the above message.

    I changed the element id of hidden in the text field and attempted to create a new one and this time it worked.

    Also, the id field should be autoincremented which I'm unable to understand how to configure. I have a sequence is created, ID2_SEQ. NEXTVAL, which, once I do a real insert via SQL statement * most ID field increments of one.

    When I created the report, I couldn't find a way to make reference to this sequence for the button. I think that may have something to do with the fact that I'm not my error message insert a value for the primary key. Yet, in the APEX, I read that the primary key is not supposed to be editable. Here, I'm totally confused.

    Basically when the user clicks CREATE, I want the following INSERT statement to work:
    INSERT INTO customer (id, clienid, client_code, client_name) VALUES (id2.seq.nextval,: P1_clientid,: P1_client_code,: P1_client_name);

    The APEX documentation is not very clear on how to do it.

    Can someoene help out me? This should not be complicated.

    Thanks for all the help.

    Hello

    I hope I'm reading your code correctly... I think that your trigger must be:

    CREATE OR REPLACE TRIGGER ENCRYPT_PW_T1
    BEFORE INSERT OR UPDATE ON ENCRYPT_PW
    FOR EACH ROW
    BEGIN
      IF :NEW.PW_ID IS NULL
        THEN SELECT PW_ID2_SEQ.NEXTVAL INTO :NEW.PW_ID FROM DUAL;
      END IF;
      IF INSERTING THEN
        :NEW.PASSWORD := ENC_CLIENT.ENC_PASSWORD(:NEW.PASSWORD, :NEW.CLIENTID, 'OpenSesame');
      ELSE
        IF :NEW.PASSWORD <> :OLD.PASSWORD THEN
          :NEW.PASSWORD := ENC_CLIENT.ENC_PASSWORD(:NEW.PASSWORD, :NEW.CLIENTID, 'OpenSesame');
        END IF;
      END IF;
    END;
    

    It will handle inserts and updates. The code should first check if a new PK PW_ID is necessary and set if it is. Then, for insertions only, it will encrypt the entered password - I assume here that the password will be "plain text" and requires encryption. For updates only, check if the current password matches the old password (comparing a new version decrypted with decrypted version) - if it does not (that is to say, the password has been changed), then update the password with the new encrypted password value.

    Unfortunately, the package of dbms_crypto doesn't seem to be available on my workspace OTN (don't know why), so I have not been able to test this.

    Andy

  • ORA-01400: cannot insert NULL into...

    Hello

    I've created and activated an authentication scheme that is customized by using the function below.

    FUNCTION authenticate (p_username IN VARCHAR2,

    p_password IN VARCHAR2) RETURN BOOLEAN IS

    v_activated TANK;

    v_pass_hash VARCHAR2 (32);

    v_db_pass_hash VARCHAR2 (32);

    BEGIN

    -check if there is a user

    Password enabled, SELECT

    IN v_activated, v_db_pass_hash

    OF t7_users

    WHERE username = p_username;

    v_pass_hash: = md5hash (UPPER (p_username): p_password);

    -check if the password matches

    IF v_db_pass_hash! = v_pass_hash THEN

    apex_util.set_session_state ('login_message', 'invalid password');

    apex_util.set_authentication_result (4);

    RETURN FALSE;

    END IF;

    -Check if the account is activated

    IF v_activated = n THEN

    apex_util.set_session_state ('login_message', 'your account has not been verified yet');

    apex_util.set_authentication_result (2);

    RETURN FALSE;

    END IF;

    -If no error has occurred so far, then authenticate

    apex_util.set_authentication_result (0);

    RETURN TRUE;

    EXCEPTION

    WHEN NO_DATA_FOUND THEN

    apex_util.set_session_state ('login_message', 'invalid username');

    apex_util.set_authentication_result (1);

    RETURN FALSE;

    WHILE OTHERS THEN

    apex_util.set_session_state ('login_message', ' unknown internal error, contact the administrator of the site "");

    apex_util.set_authentication_result (7);

    RETURN FALSE;

    END to authenticate;

    When I try to log in using a combination of user and password correct name, it works perfect. However if using invalid credentials my app guard throwing the error below

    error.jpg

    I have nothing special to the login form (#101), which was established jointly with the request. This is how it is configured

    login1.jpg

    Process connection:

    login2.jpg

    I use ApEX 4.0.2 with DB Oracle 11g XE.

    This could be the cause? What Miss me? :/

    Your help is very appreciated!

    Hi Szabolcs Tenkei,

    The reason behind this:

    When I try to log in using a combination of user and password correct name, it works perfect. However if using invalid credentials my app guard throwing the error below

    is:

    There is no session state prior to logon. User authentication is made before the login and the authenticated user is assigned a Session ID by the procedure of wwv_flow_cust_auth_std.login on the login page and the logon process then takes the user authenticated with the session id valid for the home page of the application.

    The problem here with your authentication function (code mentioned above) is the use of APEX_UTIL. Procedure SET_SESSION_STATE which only works with a session state is valid.

    Please comment/delete the above procedure code and see if it works.

    Admission to the status of different custom authentication, there are specific values mentioned in the blog/thread below:

    I hope this helps!

    Kind regards

    Kiran

  • ORA-01400

    win 8, 6i and 10g rel2 db dev

    Hello

    I have a block of master detail,.

    -the master's (order_id).

    -retail has (order_id) and a button and other elements.

    what needs to happen is

    When I go into any field of the retail block, the order_id should be attributed to the order_id in the retail block, but

    This does not happen if I click on the button in the detail to show an lov from which I should choose the values to be assigned to the two text elements in the block of retail.

    and it is not affected even after that I have move the cursor in any item after I click the button.

    It does not affect the value unless I have move the pointer over an item in the block of detail without clicking the button?

    Why does this happen?

    PS: I think that the problem is the button 'mice navigate' is set to 'no', because I changed it, and it affects the value now,

    but I have to do 'No', because the element of text next to it is needed.

    I found it,

    I can make the field required and mouse navigate = no, but

    I should change the property 'validatioin unit' to 'record', not by default which is the element.

    Thank you very much

  • ORA-01400: cannot insert NULL into ("APEX_040200". "" "" WWV_FLOW_SW_RESULTS '. "" FILE_ID')

    Hi all, it's weird, I just installed Application Express 4.2.4.00.08

    I tried to paste a script in SQL Studio-> Scripts SQL Editor and it gives this error if I try to run the script.

    I tried to save the script, and the result is displayed as none of the existing scripts.

    I tried the same thing with an insert script, same results.

    INSERT INTO OM_STATES (STATE_ABBR, STATE_NAME, batch) VALUES ("WV", "WestVirginia", 1);

    Any ideas?

    Searched the forum and Google came with 3 of the same, but the dates were 2006 and 2005

    Thank you very much,
    Bill

    Hi all

    I uninstalled APEX using the apxremov.sql and reinstalled but it's always the same things.

    The solution

    apxremov. SQL

    Cascade DROP USER EBS_APEX; (my diagram)

    DROP cascade USE APEX_030200; (this client never had used before APEX so I removed it all)

    DROP cascade USE APEX_040200;

    DROP TABLESPACE APEX_TS INCLUDING CONTENT AND DATA FILES; (it's the table space that I used to install the APEX 4.2.4)

    exec dbms_network_acl_admin.delete_privilege ('power_users.xml', 'FLOWS_030200', 'connect', TRUE); -remove all links to old users

    exec dbms_network_acl_admin.delete_privilege ('power_users.xml', 'FLOWS_040200', 'connect', TRUE); - remove links to older users

    Reinstall the APEX

  • How to find tables partitioned, whose loading may fail with error ORA-14400

    Hello

    We have several partitioned tables. Sometimes when partitions are not created for this month, we get this error

    ORA-14400 does map to any partition inserted partition key

    May I know if there are any script or sql that I can use to discover arrays that may fail to load if DBA creates partitions in the next 2 weeks?

    Thank you
    Sarayu K.S.

    Of course, you can:

    1. look in DBA_TAB_PARTITIONS by nom_partition if you are using a special naming convention, where owner = and table_name = and nom_partition =

    2. without entering the name of the partition, you could use dba_tab_partitions and instead check that there is a partition to your table with a high_value you plan to use. Know that the high_value is a long data type, then you will probably need to convert it into a varchar2.

    3. before your big load, you can also insert a row into the table of destination with the new partition key that will be used and intercept errors with an exception handler. Roll it back if he succeeds.

    4. a number of partitions may be created in advance to avoid the constant surveillance of the new partitions.

    5 or you could also consider switching to interval partitioning if you're on 11 g and get out of the business of having to manually create partitions.

  • Insert stmt fail with ORA 1400 to use extractvalue in tab xmltype.

    insert into USER_CMNT select extractvalue (xmlfile1,
    ("/ ONLINE/USER_CMNT_ID '),
    ExtractValue (xmlfile1,
    ("/ LINE/OPERATOR_ID").
    ExtractValue (xmlfile1,
    ("/ ONLINE/CMNT_TEXT '),
    ExtractValue (xmlfile1,
    ("/ ONLINE/CMNT_DTMS")
    of gt_xmltype_tab gt,.
    TABLE (XMLSequence (extract (gt.xmlfile1, ' / LINES/LINE '))) x

    I'm running above stmt insert in the following table...

    user_cmnt / / DESC
    Name Null? Type
    USER_CMNT_ID NOT NULL NUMBER
    OPERATOR_ID VARCHAR2 (3)
    CMNT_TEXT NOT NULL VARCHAR2 (120)
    CMNT_DTMS NOT NULL DATE


    GT is a global temporary table that contains the following data in the xmltype column.

    <? XML version = "1.0"? >
    rowset <>
    < ROW >
    < USER_CMNT_ID > 1 < / USER_CMNT_ID >
    < OPERATOR_ID > 4 < / OPERATOR_ID >
    < CMNT_TEXT > Noémie test < / CMNT_TEXT >
    < CMNT_DTMS > 5 May 11 < / CMNT_DTMS >
    < / ROW >
    < ROW >
    < USER_CMNT_ID > 2 < / USER_CMNT_ID >
    < OPERATOR_ID > 4 < / OPERATOR_ID >
    < CMNT_TEXT > Noémie test < / CMNT_TEXT >
    < CMNT_DTMS > 5 May 11 < / CMNT_DTMS >
    < / ROW >
    < ROW >
    < USER_CMNT_ID > 3 < / USER_CMNT_ID >
    < OPERATOR_ID > 4 < / OPERATOR_ID >
    < CMNT_TEXT > Noémie test < / CMNT_TEXT >
    < CMNT_DTMS > 5 May 11 < / CMNT_DTMS >
    < / ROW >
    < ROW >
    < USER_CMNT_ID > 4 < / USER_CMNT_ID >
    < OPERATOR_ID > 4 < / OPERATOR_ID >
    < CMNT_TEXT > Noémie test < / CMNT_TEXT >
    < CMNT_DTMS > 5 May 11 < / CMNT_DTMS >
    < / ROW >
    < ROW >
    < USER_CMNT_ID > 5 < / USER_CMNT_ID >
    < OPERATOR_ID > 4 < / OPERATOR_ID >
    < CMNT_TEXT > Noémie test < / CMNT_TEXT >
    < CMNT_DTMS > 5 May 11 < / CMNT_DTMS >
    < / ROW >
    < / LINES >

    I get the following error...

    ERROR on line 1:
    ORA-01400: cannot insert NULL into (USER_CMNT. USER_CMNT_ID)


    When I just run the select query to see the data I don't see no user_cmnt_id with a NULL value.


    Please notify.

    Hello

    You must apply the function extractValue on the XML fragment extracted with XMLSequence, not on the original document:

    SELECT extractvalue (x.column_value,'/ROW/USER_CMNT_ID'),
           extractvalue (x.column_value,'/ROW/OPERATOR_ID'),
           extractvalue (x.column_value,'/ROW/CMNT_TEXT'),
           extractvalue (x.column_value,'/ROW/CMNT_DTMS')
    FROM gt_xmltype_tab gt,
         TABLE(
           XMLSequence(
             extract(gt.xmlfile1, '/ROWSET/ROW')
           )
         ) x
    ;
    

    If you're on 10.2 or upward, prefer XMLTable:

    SELECT x.user_cmnt_id
         , x.operator_id
         , x.cmnt_text
         , to_date(x.cmnt_dtms,'DD-MON-RR','nls_date_language=english') as cmnt_dtms
    FROM gt_xmltype_tab gt,
         XMLTable(
          '/ROWSET/ROW'
          passing gt.xmlfile1
          columns user_cmnt_id number        path 'USER_CMNT_ID'
                , operator_id  varchar2(3)   path 'OPERATOR_ID'
                , cmnt_text    varchar2(120) path 'CMNT_TEXT'
                , cmnt_dtms    varchar2(30)  path 'CMNT_DTMS'
         ) x
    ;
    

    Published by: odie_63 on May 5, 2011 22:41

  • error 01400 cannot insert null

    Hello
    I need to create a sequence of a work order import program, I created the sequence but I get the below error
    /** code added for sequence*/
    begin
    select to_char (sysdate , 'RRRR')||'-'||invoice_num_seq.nextval
    
    into V_seq_num from dual ;
    end;
    
    INSERT INTO WIP_DISCRETE_JOBS
    (ATTRIBUTE14 )
    VALUES
    (V_seq_num );
    
    this is the error when i run  i am getting
    This request finished with an error and produced the following completion message: ORACLE error 1400 in FDPSTP
    
    Cause:  FDPSTP failed due to ORA-01400: cannot insert NULL into ("WIP"."WIP_DISCRETE_JOBS"."WIP_ENTITY_ID")
    ORA-06512: at "APPS.NAPESCO_CREATE_JOB", line 257
    ORA-06512: at line 1
    .
    line 257 is the insert statement
    kindly Guide

    Published by: makdutakdu on February 14, 2011 12:56

    Published by: makdutakdu on February 14, 2011 12:57

    EBS post pl related questions in the forums of the EBS - http://forums.oracle.com/forums/category.jspa?categoryID=3

    WIP_ENTITY_ID is a NOT NULL column - so you'll need to insert a value in this column - http://etrm.oracle.com/pls/etrm/etrm_pnav.show_object?c_name=WIP_DISCRETE_JOBS&c_owner=WIP&c_type=TABLE

    HTH
    Srini

Maybe you are looking for