SQL LOADER ;;; PLEASE HELP ME

Hi EveryBody,
I have useless lines in my file csv which I do not want to load in my Oracle table,
1- some one knows a means to leave the control file of SQL LOADER to load that the data which I want?
2- Another thing I want to insert my lines in the file
csv that under a condition that the sum of the lines
of a column amount in the file csv is different than 0 ?
for example:
date|amount |Currency
2006-05-19 18:35:53|12.74|Euro
2006-05-19 18:35:53|23.24|CAD
Thanks,
Regards,

Executing this script :
CREATE TABLE admin_ext_emmanuel
(NUMS     VARCHAR2(200)     ,          
NB_UNIT     NUMBER     ,               
REVENUE     NUMBER                    
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY admin_dat_dir
ACCESS PARAMETERS
records delimited by newline
badfile admin_bad_dir:'emmanuel%a_%p.bad'
logfile admin_log_dir:'emmanuel%a_%p.log'
fields terminated by ';'
missing field values are null
( employee_id, first_name, last_name, job_id, manager_id,
hire_date char date_format date mask "dd-mon-yyyy",
salary, commission_pct, department_id, email
LOCATION ('20060619_emmanuel_01.csv')
PARALLEL
REJECT LIMIT UNLIMITED
I have these errors :
ORA-29913 : error in executing ODCIEXTTABLEOPEN callout
ORA-29400 : data catridge error
KUP-04043 : table column not found in external source : NUMS
ORA-06512 : at "SYS.ORACLE_LOADER" , line 19
can u help please?

Similar Messages

  • SQL experts please help for a query

    I have following table1.
    What query can give the result as given below, SQL experts please help on this.
    TABLE1
    Event DATETIME
    in 2/JAN/2010
    out 2/JAN/2010
    in 13/JAN/2010
    out 13/JAN/2010
    in 5/JAN/2010
    out 5/JAN/2010
    RESULT REQUIRED FROM THE SQL QUERY
    COL1_IN COL2_OUT
    2/JAN/2010 2/JAN/2010
    13/JAN/2010 13/JAN/2010
    5/JAN/2010 5/JAN/2010

    I tried to help, but this puzzles me.
    Why is this not returning pre-selected set of rows, why it's doing some merge join cartezian ?
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL> select * from table1;
    EVENT      DATETIME
    in         2/JAN/2010
    out        2/JAN/2010
    in         13/JAN/2010
    out        13/JAN/2010
    in         5/JAN/2010
    out        5/JAN/2010
    6 rows selected.
    SQL> explain plan for
      2  with a as
    (select datetime from table1 where event='in'),
    b as
    (select datetime from table1 where event='out')
    select  a.datetime COL1_IN ,b.datetime COL2_OUT from a,b ;
    Explained.
    SQL> set wrap off
    SQL> set linesize 200
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 185132177
    | Id  | Operation            | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT     |        |     9 |   288 |     8   (0)| 00:00:01 |
    |   1 |  MERGE JOIN CARTESIAN|        |     9 |   288 |     8   (0)| 00:00:01 |
    |*  2 |   TABLE ACCESS FULL  | TABLE1 |     3 |    48 |     3   (0)| 00:00:01 |
    |   3 |   BUFFER SORT        |        |     3 |    48 |     5   (0)| 00:00:01 |
    |*  4 |    TABLE ACCESS FULL | TABLE1 |     3 |    48 |     2   (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
       2 - filter("EVENT"='in')
       4 - filter("EVENT"='out')
    Note
       - dynamic sampling used for this statement
    21 rows selected.
    SQL> with a as
    (select datetime from table1 where event='in'),
    b as
    (select datetime from table1 where event='out')
    select  a.datetime COL1_IN ,b.datetime COL2_OUT from a,b ;
    COL1_IN         COL2_OUT
    2/JAN/2010      2/JAN/2010
    2/JAN/2010      13/JAN/2010
    2/JAN/2010      5/JAN/2010
    13/JAN/2010     2/JAN/2010
    13/JAN/2010     13/JAN/2010
    13/JAN/2010     5/JAN/2010
    5/JAN/2010      2/JAN/2010
    5/JAN/2010      13/JAN/2010
    5/JAN/2010      5/JAN/2010
    9 rows selected.
    SQL>

  • I have bought a film and it is now saying it cannot load, please help!

    I have bought a film and it is now saying it cannot load, please help!

    What's the precise text of the message you're getting when you try to open the movie, please?

  • Sql-loader error, help!!!!

    Recently I found the following error message in the sql-loader log file.
    ora-704 , I can't find corresponding explainatino in oracle documentation. I use sql-loader 7.3 to load .dat file extracted from our ERP system. This error can't be monitored by pl/sql and quite dangerous . Please kindly help me to solve this problem.Many thanks!!

    The ora-704 error message is pretty serious. It's a boot-strap kind of message that you usually get on db startup when something is seriously wrong. What version of db are you running? If it's pre-8.0 then you might check to see if the sys.bootstrap$ table was set to unlimited extents (one of those weird issue things). Although I wouldn't suggest modifying the sys schema's objects to set the extents to something other than unlimited, this might open some doors into something else.
    If you're truly getting this:
    ORA-00704: "bootstrap process failure"
    Cause: Failure in processing bootstrap data - see accompanying
    error.
    Action: Contact your customer support representative.
    Then you really need to contact a CSR for technical help that is supported by Oracle itself.
    Good luck
    EC

  • I want to submit a concurrent program from pl/sql. Please help me.

    Dear all,
    I want to submit a concurrent program from pl/sql. But I failed. Please help me.
    Detail:
    I create a concurrent program in 'Cash Management, Vision Operations (USA)' responsibility. <strong>And it be submitted success in EBS</strong>.
    Then
    I create a test script in pl/sql. And use 'FND_GLOBAL.APPS_INITIALIZE' to initialize ebs, then use 'FND_REQUEST.SUBMIT_REQUEST' to submit
    the consurrent program, But the procedure aways return <strong>0</strong>.
    I cannot found the reason. Please help me.Thanks.
    <em>Attached informations may describe the problem:
    1.The concurrenct submitted success in EBS.</em>
    request_id = 4750655 (Sorry, I dont know how to add pictures.)
    <em>2.The initialize informations which from SQL</em>.
    SELECT FCR.REQUESTED_BY USER_ID
    ,FCR.RESPONSIBILITY_ID
    ,FCR.RESPONSIBILITY_APPLICATION_ID
    ,FA.APPLICATION_SHORT_NAME
    ,FCP.CONCURRENT_PROGRAM_NAME
    FROM FND_CONCURRENT_REQUESTS FCR
    ,FND_APPLICATION FA
    ,FND_CONCURRENT_PROGRAMS FCP
    WHERE FCR.PROGRAM_APPLICATION_ID = FA.APPLICATION_ID
    AND FCR.CONCURRENT_PROGRAM_ID = FCP.CONCURRENT_PROGRAM_ID
    AND FCR.REQUEST_ID = 4750655;
    Result: user_id = 1318;
    responsibility_id = 50579;
    application_id = 260;
    application_short_name = 'CE';
    program_short_name = 'CALLK009';
    <em>3.The test script code.</em>
    <p>
    -- Created on 2008/10/22 by ERIC
    declare
    -- Local variables here
    Wv_conc_req_id VARCHAR2(10) DEFAULT NULL;
    BEGIN
    FND_GLOBAL.APPS_INITIALIZE(
    1318
    ,50579
    ,260
    Wv_conc_req_id := FND_REQUEST.SUBMIT_REQUEST(
    'CE'
    ,'CALLK009'
    ,NULL
    ,SYSDATE
    ,FALSE
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    , CHR(0), CHR(0), CHR(0), CHR(0), CHR(0)
    DBMS_OUTPUT.PUT_LINE(Wv_conc_req_id);
    COMMIT;
    end;
    <em>4.The concurrent program code.</em>
    create or replace package body CALLTEST is
    PROCEDURE T1(PvO_errbuf OUT VARCHAR2
    ,PvO_retcode OUT VARCHAR2)
    IS
    BEGIN
    FND_FILE.PUT_LINE(fnd_file.log, 'TEST');
    END;
    end CALLTEST;
    </p>

    Can you check from which schema you are executing FND_REQUEST? You can try as follows;
    Connect to your required schema, create a synonym on apps.fnd_request, connect from apps and finally execute grant all on apps.fnd_request to all.
    You can check for relevance from Doc ID: Note:147495.1
    Please do keep in the mind the soultion above should be applied to a test/dev EBS instance first.
    I hope this would be of help.
    Saad

  • Itunes store will not load please help

    I am having a lot of trubble itunes store will not load can anyone help please help

    I had the big stupid NoN response from the Itunes store and spent days researching.  Begin at
    http://www.apple.com/support/itunes/troubleshooting/
    Lotsa good stuff there.
    In the end I found a software conflict with Speedbit's SpeedOptimizer v2.xx   aka  SPO.exe in my taskmanager's process list.
    I found that by watching Norton Firewall complain about stuff while running in ADVANCED mode.
    Happy hunting.

  • SQL question - please help!

    Hi,
    I am working on a SQL, please help ms with the question
    below .... thanks
    (1)Increase by 10% salary of these captain pilots who have
    traveled more than 800,000 miles.
    Routes | | Flights | |Pilots |
    | | | | |
    #routeID | | #flightNO | |#pilotID |
    depAirportID |        |  airplaneNO| |*name |
    arrAirportID |_______/|  pilotID |\___________|*hours_in_air|
    length       |       \|  routeID |/ |*grade |
    ______________| |_____________| |*salary |
    |____________|

    If the length column in routes is in hours, and it represents
    additional hours to those shown in hours_in_air in pilots, then
    the following should work:
    UPDATE pilots
    SET salary = salary * 1.1
    WHERE pilotid in (SELECT a.pilotid
    FROM pilots a,
         (SELECT b.pilotid,sum(c.length) new_hours
          FROM flights b, routes c
          WHERE b.routeid = c.routeid
          GROUP BY b.pilotid) d
    WHERE a.pilotid = d.pilotid and
          new_hours + hours_in_air >= 80000)I suspect that you probably need to add additional criteria to
    the sub-query from flights and routes to take into account only
    flights since the hours_in_air column from pilots was last
    updated. However, your table structures do not indicate any
    date sensitivity. If the table flights is emptied every time
    hours_in_air is updated, then the query above will work.

  • Passing parameter to a SQL query - Please help

    Hi All,
    I am new to JDBC. I have been trying to pass an external variable to an SQL Query.
    The query is
    String username1="le";
    PreparedStatement pstmt = null;
    pstmt = c.prepareStatement("select * from users where USER_NAME like '%?%'");
         pstmt.setString(1, username1);
         pstmt.executeQuery();
         ResultSet rs = pstmt.getResultSet();
    I am trying to retrieve values from the users table where the USER_NAME column value that is a String contains the supplied value username1.
    I am using the question mark (?) character to pass the value from the variable username1. I am also using the '%' substitution character which matches for any number of characters. So, the above query should retrieve rows where the USER_NAME is something like "charles","leander","Elena" etc.( that contains "le")
    I am getting the error:
    SQLException: java.sql.SQLException: ORA-01006: bind variable does not exist
    I changed the query to
    PreparedStatement pstmt = null;
    pstmt = c.prepareStatement("select * from users where USER_NAME like '% " + username1 + "%'");
         //pstmt.setString(1, username1);
         pstmt.executeQuery();
    This time , it is not giving the error and retrieving properly.
    But I want to use the original query and use the "pstmt.setString(1, username1); " . Is there any way of achieving this?
    Please help.
    Cheers,
    charles_am

    hi,
    try this...
    String username1="%le%";
    pstmt = c.prepareStatement("select * from users where USER_NAME like ?")
    pstmt.setString(1,username1);
    cheers,
    rpk

  • Itunes Takes Ages to Load - Please Help!

    I am having a nightmare with Itunes which is taking about 30 minutes - 1 hour to load. I have Windows 7.
    Itunes does appear in the processes tab of the Task Manager - so it is there. Low load on the CPU and limited memory - so the PC isn't working hard.
    I have tried lots of the proposed solutions on here.
    1. Tried creating a new account - same problem, so assume it is a system wide issue
    2. Did complete uninstall and reinstall of all Apple software. Same
    3. Opened as an administrator. Same
    4. Uninstalled all plug ins. I did have Last.fm as a plug in but have uninstalled that now
    5. I ran msconfig as suggested and turned off all other startup software to look for conflicts. No change
    6. I looked to see if there were any conflicting Winsocks (with no idea of what a winsock is). Couldn't see anything
    7. I started Itunes in safe mode. Same
    I am really stuck here.
    PLEASE HELP!!!!!
    Daniel

    Small update...
    WHen Itunes did eventually load... a few odd things happened.
    1. The icons on my toolbar flicked to white / blank and then came back
    2. Windows Update sprang into life and asked me to install 1 important update
    3. I got an error message
    The software required for communicating with iPods and mobile phones was not installed correctly. Do you want iTunes to try to repair this for you?
    5. I clicked Yes...
    6. It said it was checking my itunes library
    7. I got a message The Bonjour service has been disabled. Bonjour is required to share music with others. Please re-enable the service to use this feature
    8. This didn't seem to bad so clicked OK
    9. BUt then Itunes disappeared again. It is still running in processes but isn't open.
    Gah!!!!!!!!!!!!!!!!!

  • Trying to instal itunes on my new samsung laptop and it will not have any of it keeps asking me to verifie that its proper down load please help

    Having loads of trouble installing itunes on my new samsung laptop keep getting this message when i try to run the download .
    This installation package could not be opened verify that the package exists and that you can access it or contact the application vendor to verify that this is a valid windows installer package please help i am close to brakin

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable              
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • Photoshop wont load please help

    I installed cs4 photoshop in my Mac this is the message that i am getting Please help beacuse it will not load "An unexpected and unrecoverable problem has occurred because you do not have necessary acces privileges. Photoshop will quit"

    Try moving ( or replacing ) the ride cymbal sample, or inspecting the inst from Project Manager. It may be searching, it may have progressed to the next step and not had time to update the display. Searching can take a while.
    J

  • Applet won't load, please help!

    Using the java for chat hasn't been an issue until recently, for one chat site and one alone, the java won't load. I've been on the website FAQ and i've read the causes and solutions but they don't make sense to me. In the internet options the box i have checked and have always had checked is automatically detect settings, i'm a little confused as to why it isn't working.
    In the java console i get this message :
    load: class com.diginet.digichat.client.DigiChatApplet not found.
    java.lang.ClassNotFoundException: com.diginet.digichat.client.DigiChatApplet
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    Any help or suggestions would be greatly appreciated.
    Thank you
    Lola

    Thank you so much for replying so quickly, i have emptied my temp files and delete cookies etc. i'm still having issues. Where will i find the browser settings to allow java applets and if they are working on other rooms, wouldn't that mean that its set to allow them? As u can tell i'm not computer literate at all.
    Please help!
    Thank you so much
    Lola
    x

  • IPod Won't Even Load - Please Help

    The other day I plugged my iPod up and loaded iTunes, to find I needed an update. I proceeded to update my iPod only to be told [By iTunes] for some odd reason it needed to be restarted. For some reason it won't restart and everytime I go to start my iPod up, it loads the Apple logo and just stays there. I've manually tried to restart it numerous times, and it won't do so. I plugged it into my computer to have a message appear reading 'very low battery, please wait'. I've been waiting for almost 2 hours now. It goes from the 'very low batter, please wait' screen to the glowing Apple logo. It's been going back in forth every minute or so for the past 2 hours. Please, please help!

    Hello Everyone,
    Although this resolution seems ingenious I must let you know that exposing your iPod to freezing temperatures can cause serious harm and it will void your warranty. Please see the following excerpt from the iPod Safety Guide available at Apple.com.
    Keeping iPod within acceptable temperatures
    Operate iPod in a place where the temperature is always between 0º and 35º C (32º to 95º F). iPod play time might temporarily shorten in low-temperature conditions.
    Store iPod in a place where the temperature is always between -20º and 45º C (-4º to 113º F). Don’t leave iPod in your car, because temperatures in parked cars can exceed this range.
    When you’re using iPod or charging the battery, it is normal for iPod to get warm. The exterior of iPod functions as a cooling surface that transfers heat from inside the unit to the cooler air outside.
    Have a great day!

  • Single sql query-please help

    Hi experts,
    what i want to do is write a single query which will show whether a employee
    exits in the company or not.I have two tables emp and dept.There are as follows.
    SQL> select * from emp;
    NAME DEPTNO EMPNO
    xxx 10 33036
    YYY 12 2345
    ZZZ 13 678
    KKK 14 5678
    RRR 15 7865
    SQL> select * from dept;
    DEPTNO LOCATION
    10 AAA
    11 BBB
    12 CCC
    13 DDD
    what i want is it will select records from the emp table and find whether corrosponding
    deptno really exists in the dept table.If the value is found in deptno column the dept table then it will set the value
    Y other wise it will be N and all i have to do with the help of a single query.
    expected result
    name empno exists
    xxx 33036 Y
    YYY 2345 Y
    ZZZ 678 Y
    KKK 5678 N
    RRR 7865 N
    Please help.
    Regards
    Rajat

    SELECT EMPNO, NAME , EMPNO , NVL( ( SELECT 'Y' FROM    DEPT WHERE EMP.DEPTNO=DEPT.DEPTNO),'N') EXIST
    FROM EMP
    ORDER BY 1
    Demo
    SQL> WITH EMP AS(
      2  SELECT 'XXX' NAME , 10 DEPTNO ,33036  EMPNO FROM DUAL UNION
      3  SELECT 'YYY', 12, 2345 FROM DUAL UNION
      4  SELECT 'ZZZ', 13 ,678 FROM DUAL UNION
      5  SELECT 'KKK', 14 ,5678 FROM DUAL UNION
      6  SELECT 'RRR', 15 ,7865 FROM DUAL  ),
      7  DEPT AS(
      8  SELECT 10  DEPTNO,'AAA' DNAME FROM DUAL UNION
      9  SELECT 11 ,'BBB' FROM DUAL UNION
    10  SELECT 12 ,'CCC' FROM DUAL UNION
    11  SELECT 13 ,'DDD'FROM DUAL )
    12  SELECT EMPNO, NAME , EMPNO , NVL( ( SELECT 'Y' FROM    DEPT WHERE EMP.DEPTNO=DEPT.DEPTNO),'N')
    EXIST
    13  FROM EMP
    14  ORDER BY 1
    15  /
         EMPNO NAM      EMPNO E
           678 ZZZ        678 Y
          2345 YYY       2345 Y
          5678 KKK       5678 N
          7865 RRR       7865 N
         33036 XXX      33036 Y
    SQL> Edited by: Salim Chelabi on Dec 7, 2008 4:15 AM

  • MacBook won't load - please help?

    I'm writing this from my iphone. I bought my MacBook a little over a year ago and recently had to have the keyboard replaced (covered under warranty, nothing I did) in August and it worked fine until this morning. Seemingly over-night, it takes 5-10 minutes for it to respond to a click, finder doesn't work, programs won't load, etc. I've restarted and shut down completely multiple times with no luck. Like I said, it was working great when I went to bed last night, I have no idea what's wrong. :( please help! 

    If it's "new", I would call AppleCare Support at 1-800-APL-CARE for some direct help. Apple computers come with 90 days of free telephone support for software issues and a year of support for hardware problems. If it won't turn on, it would seem to be a hardware problem you should have Apple check out.
    -Doug

Maybe you are looking for

  • Fields not getting populated when a particular selection not given

    Hi! In my query when I run the query with the a particular sleection having contract and the dates it show sme a list of the contarct items and its sales prive , quantiy and estimated sales price ect, but in the output there are some contracts for wh

  • How to back up iTunes library in iTunes 10.5.

    I have been backing up my iTunes library to discs for ages in previous versions but it's different in 10.5 (BETA). When I navigate to FIle> Library I no longer have the option to back up my library.

  • Find items not synced?

    When I sync my iPhone or iPad with iTunes I get a message  that says "14 items could not be synced. See iTunes for more information." Where do I find this information and correct the situation?

  • XI Development Documentation

    Hi everybody, just want to ask, are there any standardized template used for developing a scenario in XI (such as technical specification document, design document) ? If there are any, where could i get them from? Thank you very much in advanced guys

  • ASM Disk Migration

    HI There, Im working on an 11.2.0.3 GI and RDBMS running on AIX 7.1 I have a situation where one of the one of the ASM disk groups on a particular cluster consists of 20 disks, 10 of which need to be swapped out for 10 new disks. As far as I am aware