Bulk Insert Error message

I have tried to enable bulk insert on a location. SQL* Loader is installed and appears to work, but I get an error when it tries to load the temp table into my Oracle database. Here's the output from the load file log:
2011-05-12-10:43:09
User ID...........     xxx
Location..........     xxx
Source File.......     xxx
Processing Codes:
BLANK............. Line is blank or empty.
ESD............... Excluded String Detected, SKIP Field value was found.
NN................ Non-Numeric, Amount field contains non numeric characters.
RFM............... Required Field Missing.
TC................ Type Conversion, Amount field could be converted to a number.
ZP................ Zero Suppress, Amount field contains a 0 value and zero suppress is ON.
Create Output File Start: [2011-05-12-10:43:10]
Begin Oracle (SQL-Loader) Process (42386): [2011-05-12-10:43:17]
Oracle (SQL-Loader) Log File Contents:
SQL*Loader: Release 10.2.0.1.0 - Production on Thu May 12 10:43:17 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: C:\WINDOWS\TEMP\tWrobert358876967263.ctl
Character Set UTF16 specified for all input.
Using character length semantics.
First primary datafile C:\WINDOWS\TEMP\tWrobert358876967263.tmp has a
little endian byte order mark in it.
Data File: C:\WINDOWS\TEMP\tWrobert358876967263.tmp
Bad File: C:\WINDOWS\TEMP\tWrobert358876967263.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Continuation: none specified
Path used: Direct
Load is UNRECOVERABLE; invalidation redo is produced.
Table TWROBERT358876967263, loaded from every logical record.
Insert option in effect for this table: APPEND
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
DATAKEY SEQUENCE (1, 1)
PARTITIONKEY FIRST * CHARACTER
Terminator string : '~|'
CATKEY NEXT * CHARACTER
Terminator string : '~|'
PERIODKEY NEXT * DATE YYYYMMDD
Terminator string : '~|'
DATAVIEW NEXT * CHARACTER
Terminator string : '~|'
ACCOUNT NEXT * CHARACTER
Terminator string : '~|'
ENTITY NEXT * CHARACTER
Terminator string : '~|'
ICP NEXT * CHARACTER
Terminator string : '~|'
UD1 NEXT * CHARACTER
Terminator string : '~|'
UD2 NEXT * CHARACTER
Terminator string : '~|'
UD3 NEXT * CHARACTER
Terminator string : '~|'
UD4 NEXT * CHARACTER
Terminator string : '~|'
UD5 NEXT * CHARACTER
Terminator string : '~|'
UD6 NEXT * CHARACTER
Terminator string : '~|'
UD7 NEXT * CHARACTER
Terminator string : '~|'
UD8 NEXT * CHARACTER
Terminator string : '~|'
UD9 NEXT * CHARACTER
Terminator string : '~|'
UD10 NEXT * CHARACTER
Terminator string : '~|'
UD11 NEXT * CHARACTER
Terminator string : '~|'
UD12 NEXT * CHARACTER
Terminator string : '~|'
UD13 NEXT * CHARACTER
Terminator string : '~|'
UD14 NEXT * CHARACTER
Terminator string : '~|'
UD15 NEXT * CHARACTER
Terminator string : '~|'
UD16 NEXT * CHARACTER
Terminator string : '~|'
UD17 NEXT * CHARACTER
Terminator string : '~|'
UD18 NEXT * CHARACTER
Terminator string : '~|'
UD19 NEXT * CHARACTER
Terminator string : '~|'
UD20 NEXT * CHARACTER
Terminator string : '~|'
DESC1 NEXT * CHARACTER
Terminator string : '~|'
DESC2 NEXT * CHARACTER
Terminator string : '~|'
ATTR1 NEXT * CHARACTER
Terminator string : '~|'
ATTR2 NEXT * CHARACTER
Terminator string : '~|'
ATTR3 NEXT * CHARACTER
Terminator string : '~|'
ATTR4 NEXT * CHARACTER
Terminator string : '~|'
ATTR5 NEXT * CHARACTER
Terminator string : '~|'
ATTR6 NEXT * CHARACTER
Terminator string : '~|'
ATTR7 NEXT * CHARACTER
Terminator string : '~|'
ATTR8 NEXT * CHARACTER
Terminator string : '~|'
ATTR9 NEXT * CHARACTER
Terminator string : '~|'
ATTR10 NEXT * CHARACTER
Terminator string : '~|'
ATTR11 NEXT * CHARACTER
Terminator string : '~|'
ATTR12 NEXT * CHARACTER
Terminator string : '~|'
ATTR13 NEXT * CHARACTER
Terminator string : '~|'
ATTR14 NEXT * CHARACTER
Terminator string : '~|'
MEMOKEY NEXT * CHARACTER
Terminator string : '~|'
AMOUNT NEXT * CHARACTER
Terminator string : '~|'
CALCACCTTYPE CONSTANT
Value is '9'
CHANGESIGN CONSTANT
Value is '0'
AMOUNTX CONSTANT
Value is '0'
ACCOUNTR CONSTANT
Value is '0'
ACCOUNTF CONSTANT
Value is '0'
ENTITYR CONSTANT
Value is '0'
ENTITYF CONSTANT
Value is '0'
ICPR CONSTANT
Value is '0'
ICPF CONSTANT
Value is '0'
UD1R CONSTANT
Value is '0'
UD1F CONSTANT
Value is '0'
UD2R CONSTANT
Value is '0'
UD2F CONSTANT
Value is '0'
UD3R CONSTANT
Value is '0'
UD3F CONSTANT
Value is '0'
UD4R CONSTANT
Value is '0'
UD4F CONSTANT
Value is '0'
UD5R CONSTANT
Value is '0'
UD5F CONSTANT
Value is '0'
UD6R CONSTANT
Value is '0'
UD6F CONSTANT
Value is '0'
UD7R CONSTANT
Value is '0'
UD7F CONSTANT
Value is '0'
UD8R CONSTANT
Value is '0'
UD8F CONSTANT
Value is '0'
UD9R CONSTANT
Value is '0'
UD9F CONSTANT
Value is '0'
UD10R CONSTANT
Value is '0'
UD10F CONSTANT
Value is '0'
UD11R CONSTANT
Value is '0'
UD11F CONSTANT
Value is '0'
UD12R CONSTANT
Value is '0'
UD12F CONSTANT
Value is '0'
UD13R CONSTANT
Value is '0'
UD13F CONSTANT
Value is '0'
UD14R CONSTANT
Value is '0'
UD14F CONSTANT
Value is '0'
UD15R CONSTANT
Value is '0'
UD15F CONSTANT
Value is '0'
UD16R CONSTANT
Value is '0'
UD16F CONSTANT
Value is '0'
UD17R CONSTANT
Value is '0'
UD17F CONSTANT
Value is '0'
UD18R CONSTANT
Value is '0'
UD18F CONSTANT
Value is '0'
UD19R CONSTANT
Value is '0'
UD19F CONSTANT
Value is '0'
UD20R CONSTANT
Value is '0'
UD20F CONSTANT
Value is '0'
ARCHIVEID CONSTANT
Value is '2260'
HASMEMOITEM CONSTANT
Value is '0'
STATICDATAKEY CONSTANT
Value is '0'
Referential Integrity Constraint/Trigger Information:
NULL, UNIQUE, and PRIMARY KEY constraints are unaffected.
Trigger FDMAPP2."TWROBERT358876967263_AK" was disabled before the load.
SQL*Loader-951: Error calling once/load initialization
ORA-00942: table or view does not exist
Processing Complete... [2011-05-12-10:43:18]

Hi rjgideon,
At the very end it says "ORA-00942: table or view does not exist". Looks like SQL*Loader is trying to insert data into a table that doesn't exist.
Take a look at the control file: C:\WINDOWS\TEMP\tWrobert358876967263.ctl
You might find a hint in there.
Regards,
Matt

Similar Messages

  • Insert error message into session

    hi all,
    I need to Insert error message into the log of SM35 session.
    1. I have created a BDC that creates a session in SM35.
    2. The session is scheduled daily and gets executed automatically.
    3. there is a scenario where the session should be stopped manually with a error message.
    the system doesnt generate any error automatically for that scenario
    can any one pls tell me whether its possible to put a manual error into SM35 session log ?
    Thanks in Advance,
    Santhosini

    Hi,
    There's a few ways you could do this;
    Construct your message first (i.e. combine the message text and variables into one string, then move this into the table)
    or
    Don't store the text, instead store the message ID, number and variable parts of the message.  This has the advantage if you're running a multi-language system the log can be used by users of different languages.
    Regards,
    Nick

  • FDM bulk insert error

    Hello,
    i'm trying to bulk insert data into planning and i get an error. As i can understand it seems related to some bad settings regarding decimal separator. I'm from italy where default decimal separator is ",". As far as i can check everything is set on english including Oracle Client (... sqlldr).
    As you can see in datafile.log i get oracle ORA-01722 error.
    Any ideas?
    Thank you in advance,
    Daniele
    S.O: windows2008
    FDM Version: 11.1.2.1
    REPOSITORY: Oracle 11.2.0.1.0 - 64bit
    Here are log files:
    admin.log:
    ** Begin FDM Runtime Error Log Entry [2011-09-07 16:50:18] **
    ERROR:
    Code............................................. 4003
    Description...................................... Oracle (SQL-Loader) data load failed, please see processing log for details!
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 4040
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... IPEREPMA00
    App Name......................................... FDMAuchan
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... HYPTEST
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... LOADACTSAP
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... SAP
    Category ID...................................... 13
    Period........................................... Jan - 2011
    Period ID........................................ 1/31/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    datafile.log
    +2011-09-07 16:50:16+
    User ID...........     admin
    Location..........     LOADACTSAP
    Source File.......     D:\Oracle\Middleware\EPMSystem11R1\products\FinancialDataQuality\SharedComponents\APPS\FDMAuchan\Inbox\LOADACTSAP\SAP_1101_Prova.txt
    Processing Codes:
    BLANK............. Line is blank or empty.
    ESD............... Excluded String Detected, SKIP Field value was found.
    NN................ Non-Numeric, Amount field contains non numeric characters.
    RFM............... Required Field Missing.
    TC................ Type Conversion, Amount field could be converted to a number.
    ZP................ Zero Suppress, Amount field contains a 0 value and zero suppress is ON.
    Create Output File Start: [2011-09-07 16:50:16]
    +[Blank] -      +
    Excluded Record Count..............0
    Blank Record Count.................1
    Total Records Bypassed.............1
    Valid Records......................477
    Total Records Processed............478
    Begin Oracle (SQL-Loader) Process (477): [2011-09-07 16:50:16]
    Oracle (SQL-Loader) Log File Contents:
    SQL*Loader: Release 11.2.0.1.0 - Production on Mer Set 7 16:50:16 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    Control File:   C:\Users\INSTAL~1\AppData\Local\Temp\tWadmin154840402517.ctl
    Character Set UTF16 specified for all input.
    Using character length semantics.
    First primary datafile C:\Users\INSTAL~1\AppData\Local\Temp\tWadmin154840402517.tmp has a
    little endian byte order mark in it.
    Data File:      C:\Users\INSTAL~1\AppData\Local\Temp\tWadmin154840402517.tmp
    Bad File:     C:\Users\INSTAL~1\AppData\Local\Temp\tWadmin154840402517.bad
    Discard File:  none specified
    +(Allow all discards)+
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Continuation:    none specified
    Path used:      Direct
    Load is UNRECOVERABLE; invalidation redo is produced.
    Table TWADMIN154840402517, loaded from every logical record.
    Insert option in effect for this table: APPEND
    TRAILING NULLCOLS option in effect
    Column Name                  Position   Len  Term Encl Datatype
    DATAKEY                                                   SEQUENCE (1, 1)
    PARTITIONKEY                        FIRST     *           CHARACTER
    Terminator string : '~|'
    CATKEY                               NEXT     *           CHARACTER
    Terminator string : '~|'
    PERIODKEY                            NEXT     *           DATE YYYYMMDD
    Terminator string : '~|'
    DATAVIEW                             NEXT     *           CHARACTER
    Terminator string : '~|'
    ACCOUNT                              NEXT     *           CHARACTER
    Terminator string : '~|'
    ENTITY                               NEXT     *           CHARACTER
    Terminator string : '~|'
    ICP                                  NEXT     *           CHARACTER
    Terminator string : '~|'
    UD1                                  NEXT     *           CHARACTER
    Terminator string : '~|'
    UD2                                  NEXT     *           CHARACTER
    Terminator string : '~|'
    UD3                                  NEXT     *           CHARACTER
    Terminator string : '~|'
    UD4                                  NEXT     *           CHARACTER
    Terminator string : '~|'
    UD5                                  NEXT     *           CHARACTER
    Terminator string : '~|'
    UD6                                  NEXT     *           CHARACTER
    Terminator string : '~|'
    UD7                                  NEXT     *           CHARACTER
    Terminator string : '~|'
    UD8                                  NEXT     *           CHARACTER
    Terminator string : '~|'
    UD9                                  NEXT     *           CHARACTER
    Terminator string : '~|'
    UD10                                 NEXT     *           CHARACTER
    Terminator string : '~|'
    UD11                                 NEXT     *           CHARACTER
    Terminator string : '~|'
    UD12                                 NEXT     *           CHARACTER
    Terminator string : '~|'
    UD13                                 NEXT     *           CHARACTER
    Terminator string : '~|'
    UD14                                 NEXT     *           CHARACTER
    Terminator string : '~|'
    UD15                                 NEXT     *           CHARACTER
    Terminator string : '~|'
    UD16                                 NEXT     *           CHARACTER
    Terminator string : '~|'
    UD17                                 NEXT     *           CHARACTER
    Terminator string : '~|'
    UD18                                 NEXT     *           CHARACTER
    Terminator string : '~|'
    UD19                                 NEXT     *           CHARACTER
    Terminator string : '~|'
    UD20                                 NEXT     *           CHARACTER
    Terminator string : '~|'
    DESC1                                NEXT     *           CHARACTER
    Terminator string : '~|'
    DESC2                                NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR1                                NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR2                                NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR3                                NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR4                                NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR5                                NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR6                                NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR7                                NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR8                                NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR9                                NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR10                               NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR11                               NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR12                               NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR13                               NEXT     *           CHARACTER
    Terminator string : '~|'
    ATTR14                               NEXT     *           CHARACTER
    Terminator string : '~|'
    MEMOKEY                              NEXT     *           CHARACTER
    Terminator string : '~|'
    AMOUNT                               NEXT     *           CHARACTER
    Terminator string : '~|'
    CALCACCTTYPE                                              CONSTANT
    Value is '9'
    CHANGESIGN                                                CONSTANT
    Value is '0'
    AMOUNTX                                                   CONSTANT
    Value is '0'
    ACCOUNTR                                                  CONSTANT
    Value is '0'
    ACCOUNTF                                                  CONSTANT
    Value is '0'
    ENTITYR                                                   CONSTANT
    Value is '0'
    ENTITYF                                                   CONSTANT
    Value is '0'
    ICPR                                                      CONSTANT
    Value is '0'
    ICPF                                                      CONSTANT
    Value is '0'
    UD1R                                                      CONSTANT
    Value is '0'
    UD1F                                                      CONSTANT
    Value is '0'
    UD2R                                                      CONSTANT
    Value is '0'
    UD2F                                                      CONSTANT
    Value is '0'
    UD3R                                                      CONSTANT
    Value is '0'
    UD3F                                                      CONSTANT
    Value is '0'
    UD4R                                                      CONSTANT
    Value is '0'
    UD4F                                                      CONSTANT
    Value is '0'
    UD5R                                                      CONSTANT
    Value is '0'
    UD5F                                                      CONSTANT
    Value is '0'
    UD6R                                                      CONSTANT
    Value is '0'
    UD6F                                                      CONSTANT
    Value is '0'
    UD7R                                                      CONSTANT
    Value is '0'
    UD7F                                                      CONSTANT
    Value is '0'
    UD8R                                                      CONSTANT
    Value is '0'
    UD8F                                                      CONSTANT
    Value is '0'
    UD9R                                                      CONSTANT
    Value is '0'
    UD9F                                                      CONSTANT
    Value is '0'
    UD10R                                                     CONSTANT
    Value is '0'
    UD10F                                                     CONSTANT
    Value is '0'
    UD11R                                                     CONSTANT
    Value is '0'
    UD11F                                                     CONSTANT
    Value is '0'
    UD12R                                                     CONSTANT
    Value is '0'
    UD12F                                                     CONSTANT
    Value is '0'
    UD13R                                                     CONSTANT
    Value is '0'
    UD13F                                                     CONSTANT
    Value is '0'
    UD14R                                                     CONSTANT
    Value is '0'
    UD14F                                                     CONSTANT
    Value is '0'
    UD15R                                                     CONSTANT
    Value is '0'
    UD15F                                                     CONSTANT
    Value is '0'
    UD16R                                                     CONSTANT
    Value is '0'
    UD16F                                                     CONSTANT
    Value is '0'
    UD17R                                                     CONSTANT
    Value is '0'
    UD17F                                                     CONSTANT
    Value is '0'
    UD18R                                                     CONSTANT
    Value is '0'
    UD18F                                                     CONSTANT
    Value is '0'
    UD19R                                                     CONSTANT
    Value is '0'
    UD19F                                                     CONSTANT
    Value is '0'
    UD20R                                                     CONSTANT
    Value is '0'
    UD20F                                                     CONSTANT
    Value is '0'
    ARCHIVEID                                                 CONSTANT
    Value is '774'
    HASMEMOITEM                                               CONSTANT
    Value is '0'
    STATICDATAKEY                                             CONSTANT
    Value is '0'
    Referential Integrity Constraint/Trigger Information:
    NULL, UNIQUE, and PRIMARY KEY constraints are unaffected.
    Trigger FDMAUCHAN."TWADMIN154840402517_AK" was disabled before the load.
    Record 1: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 2: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 3: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 4: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 5: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 6: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 7: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 8: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 9: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 10: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 11: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 12: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 13: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 14: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 15: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 16: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 17: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 18: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 19: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 20: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 21: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 22: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 23: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 24: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 25: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 26: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 27: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 28: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 29: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 30: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 31: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 32: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 33: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 34: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 35: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 36: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 37: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 38: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 39: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 40: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 41: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 42: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 43: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 44: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 45: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 46: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 47: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 48: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 49: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 50: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    Record 51: Rejected - Error on table TWADMIN154840402517, column AMOUNT.
    ORA-01722: numero non valido
    FDMAUCHAN."TWADMIN154840402517_AK" was re-enabled.
    MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
    Table TWADMIN154840402517:
    +0 Rows successfully loaded.+
    +51 Rows not loaded due to data errors.+
    +0 Rows not loaded because all WHEN clauses were failed.+
    +0 Rows not loaded because all fields were null.+
    Bind array size not used in direct path.
    Column array  rows :    3000
    Stream buffer bytes:  256000
    Read   buffer bytes:18576000
    Total logical records skipped:          0
    Total logical records rejected:        51
    Total logical records discarded:        0
    Total stream buffers loaded by SQL*Loader main thread:        1
    Total stream buffers loaded by SQL*Loader load thread:        0
    Run began on Mer Set 07 16:50:16 2011
    Run ended on Mer Set 07 16:50:17 2011
    Elapsed time was:     00:00:00.56
    CPU time was:         00:00:00.24
    Oracle (SQL-Loader) Bad File Contents:
    +750~|13~|20110131~|YTD~|701306~|1854~|~|153~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711200~|0355~|~|190~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711260~|1822~|~|119~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711260~|1858~|~|142~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711261~|3601~|~|160~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711302~|5308~|~|999~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711383~|1748~|~|010~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711383~|1857~|~|010~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711458~|1608~|~|191~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711468~|0355~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711468~|0392~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711468~|1565~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711468~|1784~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711468~|1823~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711468~|1848~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711468~|1853~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711605~|2644~|~|555~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711606~|3601~|~|555~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711641~|2389~|~|999~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|711655~|2649~|~|116~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|721330~|1161~|~|155~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|721330~|1852~|~|010~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|721330~|3539~|~|999~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|721330~|5158~|~|999~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|721340~|3473~|~|190~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|721341~|4263~|~|999~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|721341~|5617~|~|999~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|730001~|3898~|~|010~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|730003~|0355~|~|192~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|730003~|0392~|~|140~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|730003~|1565~|~|142~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|730003~|1795~|~|134~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|730003~|1848~|~|126~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|732000~|1823~|~|130~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|734001~|3601~|~|151~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|761202~|1748~|~|180~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|761205~|5309~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|761206~|1608~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|761206~|1823~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|761210~|1857~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|761210~|7347~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|H11468~|1854~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|H11468~|2644~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|H11468~|5309~|~|181~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|H11473~|1784~|~|191~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|H11605~|2644~|~|151~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|H21330~|1161~|~|123~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|H21330~|1161~|~|156~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|H21340~|3898~|~|154~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|H30000~|1854~|~|177~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +750~|13~|20110131~|YTD~|H30000~|1854~|~|188~|SAP~|DEF_ATT~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|~|0~|100.00+
    +[RDMS Bulk Load Error Begin]+
    +     Message:      (4003) - Oracle (SQL-Loader) data load failed, please see processing log for details!+
    +     See Bulk Load File:      C:\Users\INSTAL~1\AppData\Local\Temp\tWadmin154840402517.tmp+
    +[RDMS Bulk Load Error End]+

    Hi Daniele,
    Can i know the steps to resolve this issue.
    I am also facing the same issue. Below is the error message.
    [RDMS Bulk Load Error Begin]
    Message: (4003) - Oracle (SQL-Loader) data load failed, please see processing log for details!
    See Bulk Load File: C:\temp\tWthinad824889961810.tmp
    [RDMS Bulk Load Error End]
    I am using the Essbase as the Target adaptor. Your reply will be very helpful for me.
    Thanks
    Dhinesh Kumar T

  • How can I debug a Bulk Insert error?

    I'm loading a bunch of files into SQL server.  All work fine, but one keeps erroring out on me.  All files should be exactly the same in structure, but they have different dates, and other different financial metrics, but the structure and field
    names should be exactly the same.  Nevertheless, one keeps konking out, and throwing this error.
    Msg 4832, Level 16, State 1, Line 1
    Bulk load: An unexpected end of file was encountered in the data file.
    Msg 7399, Level 16, State 1, Line 1
    The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error.
    Msg 7330, Level 16, State 2, Line 1
    Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".
    The ROWTERMINATOR should be CRLF, and when you look at it in Notepad++ that's what it looks like, but it must be something else, because I keep getting errors here.  I tried the good old:  ROWTERMINATOR='0x0a'
    That works on all files, but one, so there's something funky going on here, and I need to see what SQL Server is really doing.
    Is there some way to print out a log, or look at a log somewhere?
    Thanks!!
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

    The first thing to try is to see if BCP likes the file. BCP and BULK INSERT adhere to the same spec, but they are different implementations, but there are subtle differences.
    There is an ERRORFILE option, but it more helps when there is bad data.
    You can also use the BATCHSIZE option to see how many records in the file it swallows, before things go bad. FIRSTROW and LASTROW can also help.
    All in all, it can be quite tedious find that single row where things are different - and where BULK INSERT loses sync entirely. Keep in mind that it reads fields on by one, and it there is one field terminator to few on a line, it will consume the line
    feed at the end of the line as data.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • "Disk Insertion" error message... and well, no disk!

    hi
    i just removed Office 2004 from my Mac (having switched over to Mail) and upon restarting my MacBook, i now get the following error message:
    *Disk Insertion*
    *The disk you inserted was not readable by this computer.*
    i can select EJECT or IGNORE.
    the problem is that... no disk is inserted and i did not try to insert any either!
    clicking EJECT just has the message disappear to reappear a few seconds later.
    clicking IGNORE gets rid of it, but it is there again after the next restart.
    everything else runs fine.
    any clues?
    thx =) dominique

    Problem disappeared after a complete shut down and restart. as opposed to simply restarting which was what i had done previously.
    =)

  • Randomly occurring Disk Insertion error message

    Running a mac mini with 10.5.4 I seem to get a randomly occurring error message "Disk Insertion - The disk you inserted was not readable by this computer" with choices to "Initialize" or "Eject". The weirdness is that the message seems to pop up at random intervals when I haven't attempted to insert a disk.
    Mac mini 10.5.4 with 500GB external hard drive

    I got this exact same message with my old Mini. It stopped as soon as I disconnected my iPod Shuffle. Haven't got round to figuring out how to fix it yet.

  • Bulk Insert Error

    Dear ALl
    Here is my Query. Irs gives following Error. Plz help me.
    Both table Structures are same
    1 declare
    2 type bill_rec_tab is table of BILL_PRINT_FORMAT%rowtype;
    3 bill_rec bill_rec_tab;
    4 begin
    5 select * bulk collect into bill_rec from BILL_PRINT_FORMAT where bill_date = '28-dec-2004';
    6 forall i in 1 .. bill_rec.count
    7 insert into temp_BILL_PRINT_FORMAT values bill_rec (i);
    8* end;
    SQL> /
    select * bulk collect into bill_rec from BILL_PRINT_FORMAT where bill_date = '28-dec-2004';
    ERROR at line 5:
    ORA-06550: line 5, column 28:
    PLS-00597: expression 'BILL_REC' in the INTO list is of wrong type
    ORA-06550: line 5, column 1:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 7, column 43:
    PLS-00518: This INSERT statement requires VALUES clause containing a
    parenthesised list of values
    ORA-06550: line 7, column 1:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 7, column 1:
    PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
    ORA-06550: line 6, column 10:
    PL/SQL: Statement ignored
    Regards
    Lakmal

    Based on table structure provided I tried to use bulk collect & the Block is
    runing with out any problems in Oracle 9i.
    17:24:35 SQL> desc BILL_PRINT_FORMAT
    Name Null? Type
    ACCT_NUM NOT NULL VARCHAR2(14)
    BILL_NUM NOT NULL NUMBER(8)
    BILL_DATE NOT NULL DATE
    BILL_PERIOD_START_DATE DATE
    BILL_PERIOD_END_DATE DATE
    BALANCE_LAST_BILL NUMBER(12,2)
    PAYMENT_ON_PERIOD NUMBER(12,2)
    BILL_CURR_MTH NUMBER(12,2)
    RENTAL NUMBER(10,2)
    FEATURE NUMBER(10,2)
    OTHER NUMBER(10,2)
    LOCAL NUMBER(10,2)
    NATIONAL NUMBER(10,2)
    INTERNATIONAL NUMBER(10,2)
    OPERATOR_ASSISTED NUMBER(10,2)
    DEBIT_ADJUST NUMBER(10,2)
    GST NUMBER(10,2)
    NSL NUMBER(10,2)
    CREDIT_ADJUST NUMBER(10,2)
    INTEREST NUMBER(10,2)
    PRE_COL1 NUMBER(10,2)
    PRE_COL2 NUMBER(10,2)
    PRINT_STAT VARCHAR2(1)
    COMMITMENT NUMBER(10,2)
    DISCOUNT NUMBER(9,2)
    VAT NUMBER(10,2)
    ISP NUMBER(10,2)
    VOICE NUMBER(10,2)
    RETURN_CHQUES NUMBER(10,2)
    IDD_COMMITMENT NUMBER(10,2)
    SMS NUMBER(10,2)
    17:24:50 SQL> desc TEMP_BILL_PRINT_FORMAT
    Name Null? Type
    ACCT_NUM NOT NULL VARCHAR2(14)
    BILL_NUM NOT NULL NUMBER(8)
    BILL_DATE NOT NULL DATE
    BILL_PERIOD_START_DATE DATE
    BILL_PERIOD_END_DATE DATE
    BALANCE_LAST_BILL NUMBER(12,2)
    PAYMENT_ON_PERIOD NUMBER(12,2)
    BILL_CURR_MTH NUMBER(12,2)
    RENTAL NUMBER(10,2)
    FEATURE NUMBER(10,2)
    OTHER NUMBER(10,2)
    LOCAL NUMBER(10,2)
    NATIONAL NUMBER(10,2)
    INTERNATIONAL NUMBER(10,2)
    OPERATOR_ASSISTED NUMBER(10,2)
    DEBIT_ADJUST NUMBER(10,2)
    GST NUMBER(10,2)
    NSL NUMBER(10,2)
    CREDIT_ADJUST NUMBER(10,2)
    INTEREST NUMBER(10,2)
    PRE_COL1 NUMBER(10,2)
    PRE_COL2 NUMBER(10,2)
    PRINT_STAT VARCHAR2(1)
    COMMITMENT NUMBER(10,2)
    DISCOUNT NUMBER(9,2)
    VAT NUMBER(10,2)
    ISP NUMBER(10,2)
    VOICE NUMBER(10,2)
    RETURN_CHQUES NUMBER(10,2)
    IDD_COMMITMENT NUMBER(10,2)
    SMS NUMBER(10,2)
    17:25:13 SQL> declare
    17:25:20 2 type bill_rec_tab is table of BILL_PRINT_FORMAT%rowtype;
    17:25:20 3 bill_rec bill_rec_tab;
    17:25:21 4 begin
    17:25:21 5 select * bulk collect into bill_rec from BILL_PRINT_FORMAT where bill_date = '28-dec-2004';
    17:25:21 6 forall i in 1 .. bill_rec.count
    17:25:21 7 insert into temp_BILL_PRINT_FORMAT values bill_rec (i);
    17:25:21 8 end;
    17:25:22 9 /
    PL/SQL procedure successfully completed.
    17:25:24 SQL>

  • [to be del] FDM bulk insert error

    Sorry... thread was somehow duplicated when i create it.. Daniele
    Edited by: Daniele.Perego on 8-set-2011 15.14

    Sorry... thread was somehow duplicated when i create it.. Daniele
    Edited by: Daniele.Perego on 8-set-2011 15.14

  • BULK INSERT into View w/ Instead Of Trigger - DML ERROR LOGGING Issue

    Oracle 10.2.0.4
    I cannot figure out why I cannot get bulk insert errors to aggregate and allow the insert to continue when bulk inserting into a view with an Instead of Trigger. Whether I use LOG ERRORS clause or I use SQL%BULK_EXCEPTIONS, the insert works until it hits the first exception and then exits.
    Here's what I'm doing:
    1. I'm bulk inserting into a view with an Instead of Trigger on it that performs the actual updating on the underlying table. This table is a child table with a foreign key constraint to a reference table containing the primary key. In the Instead of Trigger, it attempts to insert a record into the child table and I get the following exception: +5:37:55 ORA-02291: integrity constraint (FK_TEST_TABLE) violated - parent key not found+, which is expected, but the error should be logged in the table and the rest of the inserts should complete. Instead the bulk insert exits.
    2. If I change this to bulk insert into the underlying table directly, it works, all errors get put into the error logging table and the insert completes all non-exception records.
    Here's the "test" procedure I created to test my scenario:
    View: V_TEST_TABLE
    Underlying Table: TEST_TABLE
    PROCEDURE BulkTest
    IS
    TYPE remDataType IS TABLE of v_TEST_TABLE%ROWTYPE INDEX BY BINARY_INTEGER;
    varRemData remDataType;
    begin
    select /*+ DRIVING_SITE(r)*/ *
    BULK COLLECT INTO varRemData
    from TEST_TABLE@REMOTE_LINK
    where effectiveday < to_date('06/16/2012 04','mm/dd/yyyy hh24')
    and terminationday > to_date('06/14/2012 04','mm/dd/yyyy hh24');
    BEGIN
    FORALL idx IN varRemData.FIRST .. varRemData.LAST
    INSERT INTO v_TEST_TABLE VALUES varRemData(idx) LOG ERRORS INTO dbcompare.ERR$_TEST_TABLE ('INSERT') REJECT LIMIT UNLIMITED;
    EXCEPTION WHEN others THEN
    DBMS_OUTPUT.put_line('ErrorCode: '||SQLCODE);
    END;
    COMMIT;
    end;
    I've reviewed Oracle's documentation on both DML logging tools and neither has any restrictions (at least that I can see) that would prevent this from working correctly.
    Any help would be appreciated....
    Thanks,
    Steve

    Thanks, obviously this is my first post, I'm desperate to figure out why this won't work....
    This code I sent is only a test proc to try and troubleshoot the issue, the others with the debug statement is only to capture the insert failing and not aggregating the errors, that won't be in the real proc.....
    Thanks,
    Steve

  • Error while running bulk insert in SSIS package

    Hi:
    I have an error when I am running bulk insert in SSIS package.
    I have implemented an SSIS package to update master data directly from R/3, R/3 gives the file in a specified format, I take this and insert all the records into a temporary table and then update mbr table and process the dimension.
    This works perfectly well in our development system where both our app server and sql server on the same box. But in QAS, the 2 servers are separate and when I try to run the SSIS package I get the below error.
    We have tested all connections and are able to access the path and file from both app server and sql server using the shared folder. Our basis team says that it is a problem with bulk insert task and nothing to do with any authorization.
    Has anyone experienced with this sort of problem in multi server environment? Is there another way to load all data from a file into bespoke table without using bulk insert.
    Thanks,
    Subramania
    Error----
    SSIS package "Package.dtsx" starting.
    Error: 0xC002F304 at Insert Data Into Staging Table (Account), Bulk Insert Task: An error occurred with the following error message: "Cannot bulk load because the file "
    msapbpcapq01\dim\entity.csv" could not be opened. Operating system error code 5(Access is denied.).".
    Task failed: Insert Data Into Staging Table (Account)
    SSIS package "Package.dtsx" finished: Success.
    The program '[2496] Package.dtsx: DTS' has exited with code 0 (0x0).

    Hi Subramania
    From your error:
    Error: 0xC002F304 at Insert Data Into Staging Table (Account), Bulk Insert Task: An error occurred with the following error message: "Cannot bulk load because the file "
    msapbpcapq01\dim\entity.csv" could not be opened. Operating system error code 5(Access is denied.).".
    Let say, server A is where the file entity.csv is located
    Please check the Event Viewer->Security of Server A at the time when the SSIS run, there must be an entry with Logon Failure and find what user was used to access the shared path.
    If your both servers are not in a domain, create the user in server A with the same name and password and grant read access to the shared folder.
    The other workaround is grant read access to Everybody on the shared folder.
    Halomoan
    Edited by: Halomoan Zhou on Oct 6, 2008 4:23 AM

  • Error Message in Bulk Exception.

    Hi
    When i use a normal Exception, the SQLERRM gives me the complete error along with the column name.
    Ex :
    ORA-01400: cannot insert NULL into ("BENCHMARK"."T6"."X")
    But
    When i Use Bulk_Exception, SQLERRM does not give me the complete error along with column name.
    Ex:
    ORA-01400: cannot insert NULL into ()
    Is it that Bulk_exception error messages are less informative. These error messages, does not help me in finding out which column is violation the NOT NULL constraint and hence they actually make no sense.
    Is there any way, through which i can get the complete error message as i get in the normal exception.
    I am using 9i version.
    Regards
    Nikhil

    I couldn't find exact solution to your problem, but one idea that came to mind, is resubmit statement with problematic rows (without using bulk processing) and save error messages.
    SQL> declare
      2    bulk_errors exception;
      3    pragma exception_init ( bulk_errors, -24381 );
      4   
      5    j number;   
      6   
      7    type numbers is table of number;
      8    ids numbers;
      9  begin
    10    select case when mod(abs(dbms_random.random),3)=0 then null else 1 end id bulk collect into ids
    11      from dual
    12    connect by level < 10;
    13   
    14    forall i in ids.first .. ids.last save exceptions
    15      insert into test01 values ( ids(i) );
    16    exception when bulk_errors then
    17       for i in 1..sql%bulk_exceptions.count loop
    18         j := sql%bulk_exceptions(i).error_index;
    19         begin
    20            insert into test01 values ( ids(j) );
    21         exception when others then
    22            dbms_output.put_line( 'Row #'||j||'. '||substr(sqlerrm,1,instr(sqlerrm,chr(10))-1) );
    -- substr to get only the first line
    23         end;
    24       end loop;
    25  end;
    26  /
    Row #1. ORA-01400: cannot insert NULL into ("SCOTT"."TEST01"."ID")
    Row #3. ORA-01400: cannot insert NULL into ("SCOTT"."TEST01"."ID")
    Row #6. ORA-01400: cannot insert NULL into ("SCOTT"."TEST01"."ID")
    Row #7. ORA-01400: cannot insert NULL into ("SCOTT"."TEST01"."ID")
    Row #8. ORA-01400: cannot insert NULL into ("SCOTT"."TEST01"."ID")
    Row #9. ORA-01400: cannot insert NULL into ("SCOTT"."TEST01"."ID")

  • Bulk Insert Task Cannot bulk load because the file could not be opened.operating system error error code 3(The system cannot find the path specified.)

    Following error i am getting after i chnaged the Path in Config File from
    \\vs01\d$\\Deployment\Files\temp.txt
    to
    C:\Deployment\Files\temp.txt
    [Bulk Insert Task] Error: An error occurred with the following error message: "Cannot bulk load because the file "C:\Deployment\Files\temp.txt" could not be opened. Operating system error code 3(The system cannot find the path specified.).". 

    I think i know whats going on. The Bulk Insert task runs by executing sql command (bulk insert) internally from the target sql server to load the file. This means that the SQL Server Agent of the target sql server should have permissions on the file you trying to load. This also means that you need to use UNC path instead to specify the file path (if the target server in on different machine)
    Also from BOL (see section Usage Considerations - last bullet point)
    http://msdn.microsoft.com/en-us/library/ms141239.aspx
    * Only members of the sysadmin fixed server role can run a package that contains a Bulk Insert task.
    Make sure you take care of this as well.
    HTH
    ~Mukti
    Mukti

  • Error Message - ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Trunc

    This is driving me nuts!
    I am getting this error from OWB during a mapping process.
    I have checked the input data and it looks fine.
    The run time audit browser just lists all of the steps but does not make it clear which one failed. Is it the last one which is shown (does not have HIDE as selection link.)
    I also tried to determine which row was causing the problem and followed the instructions at http://www.nicholasgoodman.com/bt/blog/2005/07/, but no row_id was recorded in the views. In actual fact there wasn't very much audit info other than that the mapping ran and was complete (even though it failed).
    In the error message section it has, in order
    Map Step - blank
    Rowkey - 35204435256
    Severity - X
    Error Message - ORA-06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
    Object Name - N/A
    Object Column - *
    From the PL/SQL error I thought it may be trying to insert into a data field that was too small, but all of the columns that are used are full of data of length shorter than all of the target tables.
    I have even started running the cursors in the generated PLSQL but I don't get the error by doing this.
    Thanks in advance for any tips at all.

    Thanks for the response.
    I managed to work it out and it had to do with the selection criteria of one of the filters.
    For anyone else facing this error, check to see if any of the rows being inserted has the same key/identifier as some existing in the target table. If so add an extra condition to the where clause.
    This worked for me.

  • SSIS BULK INSERT unsing UNC inside of ForEach Loop Container Failed could not be opened. Operating system error code 5(Access is denied.)

    Hi,
    I am trying to figure out how to fix my problem
    Error: Could not be opened. Operating system error code 5(Access is denied.)
    Process Description:
    Target Database Server Reside on different Server in the Network
    SSIS Package runs from a Remote Server
    SSIS Package use a ForEachLoop Container to loop into a directory to do Bulk Insert
    SSIS Package use variables to specified the share location of the files using UNC like this
    \\server\files
    Database Service accounts under the Database is runing it has full permission on the share drive were the files reside.
    In the Execution Results tab shows the prepare SQL statement for the BULK insert and I can run the same exact the bulk insert in SSMS without errors, from the Database Server and from the server were SSIS package is executed.
    I am on a dead end and I don’t want to re-write SSIS to use Data Flow Task because is not flexible to update when metadata of the table changed.
    Below post it has almost the same situation:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/8de13e74-709a-43a5-8be2-034b764ca44f/problem-with-bulk-insert-task-in-foreach-loop?forum=sqlintegrationservices

    Insteresting how I fixed the issue, Adding the Application Name into the SQL OLAP Connection String Fixed the issue. I am not sure why SQL Server wasn't able to open the file remotely without this.

  • How do I view and open all my files again that are on my external hard drive?? Error message saying 'The disk you inserted was not readable by this computer' Three options are Initialize, Ignore or Eject.

    I have recently purchased Toshiba 1TB hard drive and I set it up and I was able to transfer all my files onto it such as my music, photos, documents. I had correctly ejected and used it again and all these files were safely stored and accessible afterwards. However after I rebooted my computer as it had been going slow and I had too much clogging it up once I reconnected the external hard drive I have error message saying 'The disk you inserted was not readable by this computer' Three options are Initialize, Ignore or Eject. How do I access all my files? I set it up to work on both mac and windows. I have tried both another mac and windows computer and same issue occurs?? I am worried that all my personal files are gone but am confused as the drive has had absolutely no damage to it as it was in a very short time frame and its never left the same spot. Any help would be greatly appreciated. Thanks

    Thanks for your quick response. I had a look at your discussion... I tried it on a Windows machine and I thought that was compatible with ExFAT?
    Therefore I need to attempt to use my external hard drive with a machine that boasts OS X 10.6.5 or above and then it should work?
    Thanks

Maybe you are looking for

  • Any way to stop rotating the surround sou

    hey all im looking to buy one of those 3d head mounted displays with head tracking. so if you turn around physically, you turn around in the game. the problem is if you have physically turned 80 degrees, you are now facing the opposite direction to y

  • Sales Order Error No customer master record exists for sold-to party

    Hi, I am trying to create a sales order in IDES. Unfortunately it is showing me error: No Customer master exists for sold to party. Now I have already checked my assignments, combined sales area in vor1 and vor2. Checked PDP ( In PDP I have creates p

  • Help SQL syntex...

    hi all, i'm want bellow result by use SQL sytex. A B A-B-C A-BC -->select * from A ,B where A.A=B.B ; A B A results: A-B-C=A-BC,A B=A etc... A column and B column is'nt equal.so according to use SQL syntex which is INSTR,SUBSTR etc... , i'm want to h

  • Select-options fieds

    Hello can I create a select-options field on a webdynpro field ? If not please tell me how can create one ? Reagrds sas

  • PR Deletion Indicator

    Dear Friends, We have created Maintenance order through which PR is created with Account assignment category as F and Item category as D. In ME52N transaction, i want to set the deletion indicator for the line item. But could not do that since Deleti