Regarding DBMS_ERRLOG.CREATE_ERROR_LOG

Hi ,
I wanted to create one error table using existing packag DBMS_ERRLOG.
BEGIN
DBMS_ERRLOG.CREATE_ERROR_LOG('MG_TR_COMPANY_DESK');
END;
The above snipped is giving error:
[Error] Script lines: 1-4 --------------------------ORA-44002: invalid object name
ORA-06512: at "SYS.DBMS_ASSERT", line 283
ORA-06512: at "SYS.DBMS_ERRLOG", line 112
ORA-06512: at line 2
What could be the issue?

gulamoh wrote:
Hi,
Let me first tell you what iam trying to do:
1)     create table MG_TR_COMPANY_DESK as (select * from TR_COMPANY_DESK where 1=2);
TR_COMPANY_DESK is the existing table.
2) BEGIN
DBMS_ERRLOG.CREATE_ERROR_LOG('MG_TR_COMPANY_DESK');
END;
3) alter table MG_TR_COMPANY_DESK add constraint MG_TR_COMPANY_DESK_PK primary key(companyid);
Compay id is not unique in TR_Company_desk
4) insert /*+ APPEND */ into MG_TR_COMPANY_DESK
select * from TR_COMPANY_DESK
LOG ERRORS
REJECT LIMIT UNLIMITED;
Ideally above should happen and the the records which have violated the Unique constraint should go to err$_mg_tr_company_desk table..Correct
But I am getting the error
ORA-00001: unique constraint (CFDG_OWNER.MG_TR_COMPANY_DESK_PK) violated
Whats wrong I am doing?Ahh. see that is a different now. :)
As Peter has suggested, you can not use LOG ERRORS with direct path insert to catch unique constraint violation.
That is what is happening exactly in you case. The TR_COMPANY_DESK is having duplicate
records and a direct path insert is failing due to constraint violation. What happens when you change direct-path to conventional insert ?
Your DBMS_ERRLOG.CREATE_ERROR_LOG is not necessarily failing.
You can see that by checking whether ERR$_MG_TR_COMPANY_DESK table exists.
Edited by: user503699 on Jan 18, 2010 5:28 PM

Similar Messages

  • Dbms_errlog permissions

    Hi All,
    Can Some help me understand the issue for the below situation:
    DB Version Oracle 10G R2.
    I have created Table t in Schema A
    Created errlog table for t using dbms_errlog.create_error_log
    Created synonym for t and and public synonym err$_t and gave ALL grants to these from schema B
    Created Package p1 in Schema B and am using t in Package p1
    Am using LOG ERRORS REJECT LIMIT UNLIMTED to capture the errors while inserting in t
    When am compiling the p1 am getting table or view doesnt exists error
    If i comment the LOG ERRORS REJECT LIMIT UNLIMTED it is compiling with out issues.
    Can some one help me resolve this.
    Thanks in Advance.

    945935 wrote:
    It was a typo
    I used 'UNLIMITED'.So could anything else be, including the name of the table in your error_logging_clause.
    If you want to ask questions in a technical forum, you need to do it in a "technical" manor.
    So, let's see it, post you actual statements and error messages, not just some wording trying to describe what you are doing.
    Regards
    Peter

  • Insufficient priv error when executing DBMS_ERRLOG through PLSQL

    Hi,
    I shall be grateful if any one of you give me the solution at the earliest.
    I have 2 schemas like A & B those are running on Oracle 10g rel2.
    As per my buz req' I need to create DML Error log table for 'A.T1' table in B schema using DBMS_ERRORLOG package.
    I have granted direct SELECT on A.T1 to B (...not through ROLE as it doesn't work in plsql)
    The problem is when i'm running the procedure,
    DBMS_ERRLOG.CREATE_ERROR_LOG('A.T1', 'err_T1', 'B');
    in SQL*Plus of B schema, it's creating the error log table successfully.
    But the same will get failed when i run this error log procedure with in a procedure owned by B schema.
    It throws 'ORA-01031: insufficient privileges'...
    I hope this is related to privilege issue which is working fine in SQL*Plus but NOT in PLSQL stored procedure.
    Awaiting your earliest reply.
    Thanks.
    - Ela

    >I dont think it's an issue with direct privilege. Actually the
    package is working when i execute it with in a ananymous block,
    but the same get fails when execute it through procedures...
    Role privs work with anonymous PL/SQL blocks. Does not work with stored PL/SQL code.
    SQL> create user user1 identified by user1 default tablespace users quota 2M on users;
    User created.
    SQL> grant create session to user1;
    Grant succeeded.
    SQL> create role user1_role;
    Role created.
    SQL> grant create table, create procedure to user1_role;
    Grant succeeded.
    SQL> grant user1_role to user1;
    Grant succeeded.
    SQL> connect user1/user1
    Connected.
    PL/SQL procedure successfully completed.
    SQL> create table x( n number );
    Table created.
    SQL> begin
    2 execute immediate 'create table y( n number )';
    3* end;
    SQL> /
    PL/SQL procedure successfully completed.
    SQL> create or replace procedure CreateTable is
    2 begin
    3 execute immediate 'create table z( n number )';
    4* end;
    SQL> /
    Procedure created.
    SQL> exec CreateTable
    BEGIN CreateTable; END;
    ERROR at line 1:
    ORA-01031: insufficient privileges
    ORA-06512: at "USER1.CREATETABLE", line 3
    ORA-06512: at line 1
    SQL>

  • Insufficient privilege error when executing DBMS_ERRLOG through PLSQL

    Hi,
    I shall be grateful if any one of you give me the solution at the earliest.
    I have 2 schemas like A & B those are running on Oracle 10g rel2.
    As per my buz req' I need to create DML Error log table for 'A.T1' table in B schema using DBMS_ERRORLOG package.
    I have granted direct SELECT on A.T1 to B (...not through ROLE as it doesn't work in plsql)
    The problem is when i'm running the procedure,
    DBMS_ERRLOG.CREATE_ERROR_LOG('A.T1', 'err_T1', 'B');
    in SQL*Plus of B schema, it's creating the error log table successfully.
    But the same will get failed when i run this error log procedure with in a procedure owned by B schema.
    It throws 'ORA-01031: insufficient privileges'...
    I hope this is related to privilege issue which is working fine in SQL*Plus but NOT in PLSQL stored procedure.
    Awaiting your earliest reply.
    Thanks.
    - Ela

    Hi,
    It's not an issue with direct privilege. Actually the package is working when i execute it with in a ananymous block, but the same get fails when execute it through procedures...
    Even we have given COMMENT ANY TABLE priv to the schema and that too didn't work out.
    awaiting your reply.
    -Saravanan

  • Find error table created using DBMS_ERRLOG

    Hello,
    I am working on Oracle 10.2.0.5 and have a requirement to log the Error records without allowing the Load process to fail. In order to achieve this, I have decided to use the DBMS_ERRLOG functionality provided.
    However, there is a catch. The application has approx. 100+ database tables, which are loaded with data received in flat files, and many of them have length nearning 30 characters.
    Now, DBMS_ERRLOG, will automatically create an error table corresponding to database table, but will only consider first 25 characters. And since, many tables have similar names differing only towards the end. Hence, my question is, Is there any data dictionary view which might store the underlying database table name?
    I am aware of two options to achieve this:
    1. Maintain a document to reference each Error table to its database table. This being a manual approach, I am trying to avoid it.
    2. Use the USER_TAB_COMMENTS, which will store the table name in comment. Although I have seen this happening, but do not see this as sure-shot approach, since I do not remember reading this anywhere in documentation.
    Can anybody suggest a better approach to manage the situation?

    padders answer is a good one.  I do not see the problem since you can create the error log tables with names of your choosing in any schema you want.  Don't let oracle name the tables.  Use SQL to create the PL/SQL for all your tables based on a tag you put in the table comments or based on another table with the table names to be logged.
      DBMS_ERRLOG.create_error_log
        dml_table_name      => 'real_schema.my_thirty_character_table_name',
        err_log_table_name  => 'my_thirty_character_table_name',
        err_log_table_owner => 'error_schema',
        skip_unsupported    => TRUE
    Table_Name
    Error_Table_Name
    Error_SchemaHeader
    my_thirty_character_table_name
    my_thirty_character_table_name
    error_schema
    my_short_name
    my_short_name_err_log
    support
    With so many tables I would write a generator to create all the error log tables and the DML (insert, update or merge statements) with error logging for all the tables based on the above table and maybe put the DML in an API package that can be called from your app.

  • Error when executing DBMS_ERRLOG through Stored Procedures...

    Hi,
    We have TWO schemas like IDWH_ODS and IDWH_ERR running on Oracle 10g Rel.2.
    The schema IDWH_ERR has direct SELECT privilege on all the base tables in IDWH_ODS schema. (As Pl/sql doesn't support ROLE, we have granted direct SELECT on each of the tables)
    IDWH_ODS schema has tables like ACCOUNT & CUSTOMER, for which I need to create DML Error logging tables in IDWH_ERR schema.
    I have one procedure 'Cr_Errlog_Tabs' in IDWH_ERR schema which gets all tables in IDWH_ODS and creates Error logging table in IDWH_ERR schema using DBMS_ERRLOG package. My problem starts here,
    When I execute the DBMS_ERRLOG package in IDWH_ERR through SQL*Plus LIKE,
    > exec DBMS_ERRLOG.CREATE_ERROR_LOG('idwh_ods.ACCOUNT','ERR$_ACCOUNT','idwh_err');
    it's creating the error log table 'ERR$_ACCOUNT' in IDWH_ERR schema.
    (...the same will be working when execute through Anonymous plsql block)
    BUT, when i execute the DBMS_ERRLOG package with same parameters through the stored Procedure 'Cr_Errlog_Tabs', it throws the following error...
    ORA-01031: insufficient privileges
    Please let me know how the solution at the earliest.

    WHY DO YOU FEEL YOU HAVE TO START A NEW THREAD FOR YOUR PROBLEM!?
    Insufficient priv error when executing DBMS_ERRLOG through PLSQL

  • Error when executing DBMS_ERRLOG pkg through Stored Procedures...

    Hi,
    We have TWO schemas like IDWH_ODS and IDWH_ERR running on Oracle 10g Rel.2.
    The schema IDWH_ERR has direct SELECT privilege on all the base tables in IDWH_ODS schema. (As Pl/sql doesn't support ROLE, we have granted direct SELECT on each of the tables)
    IDWH_ODS schema has tables like ACCOUNT & CUSTOMER, for which I need to create DML Error logging tables in IDWH_ERR schema.
    I have one procedure 'Cr_Errlog_Tabs' in IDWH_ERR schema which gets all tables in IDWH_ODS and creates Error logging table in IDWH_ERR schema using DBMS_ERRLOG package. My problem starts here,
    When I execute the DBMS_ERRLOG package in IDWH_ERR through SQL*Plus LIKE,
    > exec DBMS_ERRLOG.CREATE_ERROR_LOG('idwh_ods.ACCOUNT','ERR$_ACCOUNT','idwh_err');
    it's creating the error log table 'ERR$_ACCOUNT' in IDWH_ERR schema.
    (...the same will be working when execute through Anonymous plsql block)
    BUT, when i execute the DBMS_ERRLOG package with same parameters through the stored Procedure 'Cr_Errlog_Tabs',
    it throws the following error...
    ORA-01031: insufficient privileges
    Please let me know the solution at the earliest.
    Thanks.
    -Saravanan

    duplicate post
    Insufficient privilege error when executing DBMS_ERRLOG through PLSQL

  • EXECUTE DBMS_ERRLOG in SQL DEVELOPER

    Hi
    It is an interesting forum. I appreciate Sue. I saw your blog and recent piece in Oracle magazine. I have a situation, where I need help.
    I am able to use following statement in sqlplus. I am able to get desirable result. I used SQLdeveloper. I used the following in sqlwork sheet as runscript (F5).
    EXECUTE DBMS_ERRLOG.CREATE_ERROR_LOG(’st1_pa_project_types_test’, ’errlog’)
    I am getting ORA-00900 invalid sql statement.
    What is the workaround.
    Thanks in advance.
    RI

    This works for me in OSD 1.2.1.32.13:
    EXECUTE DBMS_ERRLOG.CREATE_ERROR_LOG('test_forall','errlog1')
    anonymous block completed
    EXECUTE DBMS_ERRLOG.CREATE_ERROR_LOG('test_forall')
    anonymous block completed
    Make sure that you run as a script (F5)
    Message was edited by:
    kaapie

  • DML error logging in OWB

    Hi,
    i am getting small problems with OWB regarding DML error logging. i was followed this link
    http://blogs.oracle.com/warehousebuilder/newsItems/viewFullItem$184
    i was created error table using DBMS_ERRLOG.CREATE_ERROR_LOG and i was assigned that table name in error table name property.
    * the Error table name property is set for the operator (table/view/mv)
    * the PL/SQL Generated Mode of the module that contains the mapping is set to 10gR2
    and above or Default.
    i was followed according to the instruction but i am not able to get desired output. can any one suggest me where i am wrong.
    i am using set based PL/SQL mapping.
    warehouse builder repository 10.2.0.1.0
    regards,
    kumar

    i am also facing same problem. is there any way to handle errors in 10.2.0.1.
    same as above. capture all the failed records in to error table in 10.2.0.1
    Regards,
    Jyothy

  • What's the best way to delete 2.4 million of records from table?

    We are having two tables one is production one and another is temp table which data we want to insert into production table. temp table having 2.5 million of records and on the other side production table is having billions of records. the thing which we want to do just simple delete already existed records from production table and then insert the remaining records from temp to production table.
    Can anyone guide what's the best way to do this?
    Thanks,
    Waheed.

    Waheed Azhar wrote:
    production table is live and data is appending in this table on random basis. if i go insert data from temp to prod table a pk voilation exception occured bcoz already a record is exist in prod table which we are going to insert from temp to prod
    If you really just want to insert the records and don't want to update the matching ones and you're already on 10g you could use the "DML error logging" facility of the INSERT command, which would log all failed records but succeeds for the remaining ones.
    You can create a suitable exception table using the DBMS_ERRLOG.CREATE_ERROR_LOG procedure and then use the "LOG ERRORS INTO" clause of the INSERT command. Note that you can't use the "direct-path" insert mode (APPEND hint) if you expect to encounter UNIQUE CONSTRAINT violations, because this can't be logged and cause the direct-path insert to fail. Since this is a "live" table you probably don't want to use the direct-path insert anyway.
    See the manuals for more information: http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9014.htm#BGBEIACB
    Sample taken from 10g manuals:
    CREATE TABLE raises (emp_id NUMBER, sal NUMBER
       CONSTRAINT check_sal CHECK(sal > 8000));
    EXECUTE DBMS_ERRLOG.CREATE_ERROR_LOG('raises', 'errlog');
    INSERT INTO raises
       SELECT employee_id, salary*1.1 FROM employees
       WHERE commission_pct > .2
       LOG ERRORS INTO errlog ('my_bad') REJECT LIMIT 10;
    SELECT ORA_ERR_MESG$, ORA_ERR_TAG$, emp_id, sal FROM errlog;
    ORA_ERR_MESG$               ORA_ERR_TAG$         EMP_ID SAL
    ORA-02290: check constraint my_bad               161    7700
    (HR.SYS_C004266) violatedIf the number of rows in the temp table is not too large and you have a suitable index on the large table for the lookup you could also try to use a NOT EXISTS clause in the insert command:
    INSERT INTO <large_table>
    SELECT ...
    FROM TEMP A
    WHERE NOT EXISTS (
    SELECT NULL
    FROM <large_table> B
    WHERE B.<lookup> = A.<key>
    );But you need to check the execution plan, because a hash join using a full table scan on the <large_table> is probably something you want to avoid.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • OWB error table is not working?

    Dear Oracle Experts,
    I new to oracle OWB.
    Platform Oracle 11gr2 in centos linux
    i have created a new mapping which transfers the data between two schemas.when I deploy i didnt face any errors and when i run the mapping it shows log
    ORA-00001 unique constraint (RAHS2MIG1.PK_OBJECT) VOILATED.
    IS it possible to record this message in Error table? Please if any one know how to record the error in error table.
    I can only able to edit dml error table name box in property inspector but i cannot able to edit error table name.
    Also
    I have created the error table with the sql
    SQL> connect rahs2mig1/rahs2mig1
    Connected.
    begin
    dbms_errlog.create_error_log('migrationinfo','ERROR$_MIG') ;
    end;
    PL/SQL procedure successfully completed.
    I have created the table ERROR$_MIG for the target schema object migrationinfo.After clicking the start option in the mapping.
    ORA-00001 unique constraint (RAHS2MIG1.PK_OBJECT) VOILATED. error shows only in the log.
    No errors record in the ERROR$_MIG table.
    Please advise.
    Thanks in Advance
    Regards,
    Vijay

    Vijay,
    IT isn't enough to define the error table at the DB level. You must also inform the mapping to generate code to utilize that error table. If you check the properties on the table object in the mapping you will find that there is an ERROR TABLE NAME property that you need to set to the name of the error table.
    Also note that the ORACLE syntax to put errors into the error table requires that the mapping be doing set-based processing, so check and make sure that you are indeed generating and running in set-based mode.
    Cheers,
    Mike

  • Typical scenario required your suggestion

    Hi,
    Database : Oracle 11.2.0
    I have a table with some n number of columns and each column of the table should have only specific values only.
    Eg1:
    Column Possible Values
    Col1 varchar2 100 or 150 or 130
    Col2 number Between 1 and 9999
    Col3 number 40 or 40.00
    60 or 60.00
    90 or 90.00
    col4 varchar2 Week4 or Week6 Week8
    If the column has any of the values other than specified then that row should be identified with the mis-matched columns.
    Suggestions expected from your end.
    Regards
    Satya
    Edited by: user608405 on Dec 26, 2012 1:22 AM

    user608405 wrote:
    Also we have to identify which column is mis-matched and there are about 65 to 70 columns in the tableA bad performer example (If you have Huge data, but solves your purpose):-
    select 'COL1 is Bad' ref_col, col1, ... colN
      from your_table
    where col1 not in (100, 130, 150)
    union all
    select 'COL2 is Bad' ref_col, col1, ... colN
      from your_table
    where col2 not between 1 and 9999
    union all
    select 'COL3 is Bad' ref_col, col1, ... colN
      from your_table
    where to_number(col3) not in (40, 60, 90)
    union all
    select 'COL4 is Bad' ref_col, col1, ... colN
      from your_table
    where col4 not in ('Week4', 'Week6', 'Week8');An Alternative:-
    create table dummy_base_table as
    select * from base_table;
    alter table dummy_base_table add constraint chk_col1 check (col1 in (100, 130, 150));
    alter table dummy_base_table add constraint chk_col2 check (col2 between 1 and 9999);
    alter table dummy_base_table add constraint chk_col3 check (to_number(col3) in (40, 60, 90));   --> Untested, but should work.
    alter table dummy_base_table add constraint chk_col4 check (col4 in ('Week4', 'Week6', 'Week8'));
    exec dbms_errlog.create_error_log('dummy_base_table');
    insert into dummy_base_table
    select column1, ..., columnN
      from base_table
    log errors
    reject limit unlimited;
    select * --> Records in this Table will be the records that do not follow the Constraints
      from err$_dummy_base_table;Edited by: Purvesh K on Dec 26, 2012 3:10 PM
    --Added Alternative of DBMS_ERRORLOG                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Indivual error recording in Merge Statement !!!!

    Is it possible to record indivudual error in MERGE statement (Update / Insert).
    I am unable to record those error. instead of MERGE if I update table in the cursor loop then I am able to record individual error but the process is time consuming.
    Thanks in advance.
    Deba

    Hi Deba,
    DML Error Logging:
    SQL> create table tab1 (x number(1));
    Table created.
    SQL> exec dbms_errlog.create_error_log('tab1')
    PL/SQL procedure successfully completed.
    SQL>
    SQL> merge into tab1 t
      2        using (select 1 x from dual union all
      3               select 112 x from dual) s
      4  on (t.x = s.x)
      5  when not matched
      6  then insert (x) values (s.x)
      7  log errors into err$_tab1 reject limit unlimited;
    1 row merged.
    SQL>
    SQL> COL x for 9999
    SQL> select * from tab1;
        X
        1
    SQL> COL x for a4
    SQL> select ora_err_number$, X from err$_tab1;
    ORA_ERR_NUMBER$ X
               1438 112
    SQL>Regards
    Peter

  • OWB error log table

    Hi All,
    I am using OWB 11.2. In the target table property inspector under error table i have specified a error table and when i deploy my mapping it gets created on my target schema. Is there any way i can change the setting and get the error table created on some other schema.? We dont want to have the error table and reporting/target tables on the same reporting/target schema.
    Please suggest.
    Thanks
    Kanwar

    Hi Kanwar,
    you cannot create the error table in another schema using owb. You have to do it manually:
    as user1:
    begin
    dbms_errlog.create_error_log('DIM_DEMO','DIM_DEMO_ERR', 'USER2') ;
    end;
    /as user2:
    grant select, insert, update , delete on USER2.dim_demo_err to USER1;In the mapping, you can specify the error table with schema: USER2.dim_demo_er
    Regards,
    Carsten.

  • Database trigger to insert duplicated rows on audit table

    Hi
    It is possible to insert duplicate rows (at the moment database generate PK violation constraint for one specific table) within an audit table ?
    Certain code like this is not working, always the whole transaction makes a rollback and audit table will be empty:
    CREATE OR REPLACE TRIGGER USER.audit_TABLE_TRG
    before INSERT ON USER.TABLE
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    declare
    V_conteo number(1) := 0;
    duplicate_record EXCEPTION;
    begin
    select count(*)
    into V_conteo
    from USER.TABLE
    where <PK conditions>
    if V_conteo > 0 then
    begin
    INSERT INTO USER.AUDIT_TABLE
    (<>)
    VALUES
    (<>);
    raise duplicate_record;
    exception
    when duplicate_record then
    INSERT INTO USER.AUDIT_TABLE
    (<>)
    VALUES
    (<>);
    raise_application_error(-20019,'Duplicated column1/column2:'||:NEW.column1||'/'||:NEW.column2);
    when others then
    dbms_output.put_line('Error ...'||sqlerrm);
    end;
    end if;
    end;
    END;
    /

    >
    Exactly this is my problem , one only transaction (insert into audit table and try to insert into target table), the reason of this post is to know whether exists another way to insert all the intent duplicate records on target table into one audit table, you right ,maybe I can add one date column and modify the PK on audit table but my main problem still happens.
    >
    Can I ask you why you want to go trigger route for this if your intention is only to capture the duplicate records? Assuming that you are on at least on 10gR2, you can look at DML error table. If you go this route, there is no need for additional overhead of trigger, code failures, etc.
    Oracle can automatically store the failed records in an error table which you could later on investigate and fix it or ignore it.
    Simple example:
    SQL> create table emp (empno number primary key, ename varchar2(10), sal number);
    Table created.
    SQL> insert into emp values(1010, 'Venkat', 100);
    1 row created.
    SQL> commit;
    Commit complete.
    Create error table to log the failed records
    BEGIN
          DBMS_ERRLOG.create_error_log (dml_table_name => 'emp');
    END;
    Now let's insert a duplicate record
    SQL> insert into emp values(1010, 'John', 200) ;
    insert into emp values(1010, 'John', 200)
    ERROR at line 1:
    ORA-00001: unique constraint (VENKATB.SYS_C002813299) violated
    Now use the log table to capture
    SQL> insert into emp values(1010, 'John', 200) LOG ERRORS INTO err$_emp ('INSERT') REJECT LIMIT UNLIMITED;
    0 rows created.
    Now check the error log table and do whatever you want
    SQL> r
      1* select ORA_ERR_MESG$, empno, ename, sal from err$_EMP
    ORA_ERR_MESG$
    EMPNO
    ENAME
    SAL
    ORA-00001: unique constraint (VENKATB.SYS_C00
    2813467) violated
    1010
    John
    200
    1 row selected.This will also capture when you do
    INSERT INTO EMP SELECT * FROM EMP_STAGE LOG ERRORS INTO err$_emp ('INSERT') REJECT LIMIT UNLIMITED;
    You can capture the whole record into the log table. All columns.
    Regards
    Edited : Code

Maybe you are looking for

  • Enabling SSH on SG300-20

    I had some issues with this, and was not able to find an answer in the help or searching the web. In order to help the next person, here are the instructions: I have a brand new SG 300-20 switch, and I am attempting to add ssh to the login capabiliti

  • How to change the color of a bullet

    I'm new to InDesign CS3. I've figured out how to create a bullet list, even change the bullet to something custom. But I now want to change the color of the bullets. I want to keep the text black, but have the bullets be a different color. Can someon

  • UGH! Next issue, import from iPhoto 9 does nothing

    So I finally got aperture 3 working and the app loads. So I want to import my iPhoto Libarary in. I go through the import menu, select keep the files in current location. I click OK, and the window goes away and nothing happens. I took a look at the

  • After Reset LED Off

    Hello, after the reset with the Airport Utility will not boot the Time Capsule. The LED is off! If I pull the power plug and a few minutes wait, everything goes back. When I try a reset on the Airport Utility, it is not folding. The LED remains off.

  • BufferedImage displayed too small

    Hello, I'm building an application that displays an image, using BufferedImages. Before the user loads an image, the application displays a black image. I tried to set the RGB using the method setRGB(int startX, int startY, int w, int h, int[] rgbArr