SQLLoader: when clause fails

Hi,
I'm working on an
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
I've to load a file into 2 different tables, and I'm tring to do that using sqlloader and one single control file.
This the (part of) source file:
"1","20110228155443","21970","671","3","","LISSETTE CAROLIN","MORALES COBO","","","V11283202","UBICAR123","","",""
"1","20110228160121","21971","671","3","","RAFAEL GREGORIO","BRIÃEZ ZAMBRANO","","0","","","","",""
"1","20110228160505","21972","14782","3","","Noelia","Parrales","","","RRHH","rrhh123","","",""
"1","20110228163120","21973","671","3","","JOSE GREGORIO","PEREZ","","0","","","","",""
"1","20110228165534","21974","671","3","","CARMEN","ARAUJO","","","V15753282","UBICAR123","","",""
"2","20110228044646","12005","1","0","","","Cellocator Test","4","0","COMPACT 268852","","","","","","","","",
"2","20110228084454","22012","1","3","","","POLO","22","0","EG727SV","20110223000000","MASSIMO","PAMELA","WVWZZZ6RZBY201299","","","","",
"2","20110228085219","20378","1","22","","","ASTRA","4","0","EF774ND","20110120000000","ER3497","X","WOLPF6EN3BG059489","","","","",
"2","20110228091127","22122","1","3","","","GOLF","4","0","EG766SV","20110224000000","BALGARION","VETURIA","WVWZZZ1KZBW215645","","","","",And this is the control file:
OPTIONS ( DIRECT=FALSE,PARALLEL=TRUE, ERRORS=0, BINDSIZE=50000, ROWS=1000, READSIZE=65536)
LOAD DATA
CHARACTERSET UTF8
TRUNCATE
INTO TABLE "STG_ITALY"."STG_USER"
  WHEN TYPE_ = "1"
FIELDS terminated by ',' enclosed by '"' TRAILING NULLCOLS
   "TYPE_" INTEGER EXTERNAL,
   "DATE_MODIFY" "TO_DATE(:DATE_MODIFY, 'YYYYMMDDHH24MISS')",
   "ID_USER" INTEGER EXTERNAL,
   "ID_USER_PARENT" INTEGER EXTERNAL,
   "I_TYPE_USER" INTEGER EXTERNAL,
   "COMPANY_NAME" CHAR,
   "FIRST_NAME" CHAR,
   "LAST_NAME" CHAR,
   "MIDDLE_NAME" CHAR,
   "I_NATIONALITY" INTEGER EXTERNAL,
   "LOGIN_NAME" CHAR,
   "LOGIN_PASSWORD" CHAR,
   "NOTE" CHAR,
   "DATE_VALID_TO" "TO_DATE(:DATE_VALID_TO, 'YYYYMMDDHH24MISS')",
   "ID_USER_VALID_TO" INTEGER EXTERNAL
INTO TABLE "STG_ITALY"."STG_VEHICLE"
  WHEN TYPE_ = "2"
FIELDS terminated by ',' enclosed by '"' TRAILING NULLCOLS
   "TYPE_" INTEGER EXTERNAL,
   "DATE_MODIFY" "TO_DATE(:DATE_MODIFY, 'YYYYMMDDHH24MISS')",
   "ID_VEHICLE" INTEGER EXTERNAL,
   "I_TYPE_VEHICLE" INTEGER EXTERNAL,
   "ID_BRAND_VEHICLE" INTEGER EXTERNAL,
   "ID_MODEL_VEHICLE" INTEGER EXTERNAL,
   "ID_FUEL_TYPE" INTEGER EXTERNAL,
   "MODEL" CHAR,
   "I_COLOUR" INTEGER EXTERNAL,
   "METALIC" INTEGER EXTERNAL,
   "PLATE_NUMBER" CHAR,
   "MATRICULATION" "TO_DATE(:MATRICULATION, 'YYYYMMDDHH24MISS')",
   "VOCAL_STD_PASSWORD" CHAR,
   "VOCAL_EMR_PASSWORD" CHAR,
   "FRAME_NUMBER" CHAR,
   "ENGINE_NUMBER" CHAR,
   "NOTE" CHAR,
   "DATE_VALID_TO" "TO_DATE(:DATE_VALID_TO, 'YYYYMMDDHH24MISS')",
   "ID_USER_VALID_TO" INTEGER EXTERNAL
  )The problem is that I can fill just first table.
The when clause of the second table always fails, and no rows are written.
This is the log:
Table "STG_ITALY"."STG_USER":
  68 Rows successfully loaded.
  0 Rows not loaded due to data errors.
  680 Rows not loaded because all WHEN clauses were failed.
  0 Rows not loaded because all fields were null.
Table "STG_ITALY"."STG_VEHICLE":
  0 Rows successfully loaded.
  0 Rows not loaded due to data errors.
  748 Rows not loaded because all WHEN clauses were failed.
  0 Rows not loaded because all fields were null.What I'm doing wrong?
Thanks in advance

Try to modify your controlfile to
OPTIONS ( DIRECT=FALSE,PARALLEL=TRUE, ERRORS=0, BINDSIZE=50000, ROWS=1000, READSIZE=65536)
LOAD DATA
CHARACTERSET UTF8
TRUNCATE
INTO TABLE "STG_ITALY"."STG_USER"
  WHEN TYPE_ = "1"
FIELDS terminated by ',' enclosed by '"' TRAILING NULLCOLS
   "TYPE_" INTEGER EXTERNAL,
   "DATE_MODIFY" "TO_DATE(:DATE_MODIFY, 'YYYYMMDDHH24MISS')",
   "ID_USER" INTEGER EXTERNAL,
   "ID_USER_PARENT" INTEGER EXTERNAL,
   "I_TYPE_USER" INTEGER EXTERNAL,
   "COMPANY_NAME" CHAR,
   "FIRST_NAME" CHAR,
   "LAST_NAME" CHAR,
   "MIDDLE_NAME" CHAR,
   "I_NATIONALITY" INTEGER EXTERNAL,
   "LOGIN_NAME" CHAR,
   "LOGIN_PASSWORD" CHAR,
   "NOTE" CHAR,
   "DATE_VALID_TO" "TO_DATE(:DATE_VALID_TO, 'YYYYMMDDHH24MISS')",
   "ID_USER_VALID_TO" INTEGER EXTERNAL
INTO TABLE "STG_ITALY"."STG_VEHICLE"
  WHEN TYPE_ = "2"
FIELDS terminated by ',' enclosed by '"' TRAILING NULLCOLS
   "TYPE_" POSITION(1) INTEGER EXTERNAL,
   "DATE_MODIFY" "TO_DATE(:DATE_MODIFY, 'YYYYMMDDHH24MISS')",
   "ID_VEHICLE" INTEGER EXTERNAL,
   "I_TYPE_VEHICLE" INTEGER EXTERNAL,
   "ID_BRAND_VEHICLE" INTEGER EXTERNAL,
   "ID_MODEL_VEHICLE" INTEGER EXTERNAL,
   "ID_FUEL_TYPE" INTEGER EXTERNAL,
   "MODEL" CHAR,
   "I_COLOUR" INTEGER EXTERNAL,
   "METALIC" INTEGER EXTERNAL,
   "PLATE_NUMBER" CHAR,
   "MATRICULATION" "TO_DATE(:MATRICULATION, 'YYYYMMDDHH24MISS')",
   "VOCAL_STD_PASSWORD" CHAR,
   "VOCAL_EMR_PASSWORD" CHAR,
   "FRAME_NUMBER" CHAR,
   "ENGINE_NUMBER" CHAR,
   "NOTE" CHAR,
   "DATE_VALID_TO" "TO_DATE(:DATE_VALID_TO, 'YYYYMMDDHH24MISS')",
   "ID_USER_VALID_TO" INTEGER EXTERNAL
  )(only add a POSITION(1) keyword by the second table )
Best regards
Maxim

Similar Messages

  • Regarding Sql Loader(All WHEN Clause Failed)

    Below is my control file
    LOAD DATA
    INFILE 'DATA.dat'
    BADFILE 'MLIMA.bad'
    INTO TABLE Brok_Gl_Interface
    APPEND
    WHEN record_type = '10'
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
         record_type     CHAR ,
         currency     CHAR ,
         entity          CHAR ,
         cost_centre     CHAR ,
         usd_account     CHAR ,
         amount          CHAR
    INTO TABLE Brok_Gl_Interface
    WHEN record_type = '99'
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
         record_type     CHAR ,
         record_count CHAR
    INTO TABLE Brok_Gl_Interface
    WHEN record_type = '00'
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
         record_type CHAR,
         run_date CHAR,
         effective_date CHAR               
    below is my data file
    00,05062006,02062006,
    10,EUR,82G,82GE00,46005AA600,78827.41,
    10,GBP,82G,82GE00,46005AA600,-2820955.63,
    10,GBP,82G,82GE00,46005AA600,340252.39,
    10,GBP,82G,82GE00,46007AB100,-1665483.26,
    10,EUR,82G,82GE38,46007AB100,-38924.00,
    99,95,
    At the time of execution the condition which is 1st is only working for others i am getting the error message 'All When Clause Failed'
    pl'z help me out.

    I have also faced a similar problem like this. Try this control file
    LOAD DATA
    INFILE 'DATA.dat'
    BADFILE 'MLIMA.bad'
    INTO TABLE Brok_Gl_Interface
    APPEND
    WHEN record_type = '10'
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    record_type CHAR ,
    currency CHAR ,
    entity CHAR ,
    cost_centre CHAR ,
    usd_account CHAR ,
    amount CHAR
    INTO TABLE Brok_Gl_Interface
    WHEN record_type = '99'
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    record_type POSITION(1) CHAR ,
    record_count CHAR
    INTO TABLE Brok_Gl_Interface
    WHEN record_type = '00'
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    record_type POSITION(1) CHAR,
    run_date CHAR,
    effective_date CHAR
    )Regards,
    Mohana

  • SQLLoader When clause

    Hi,
    I'm loading a csv file using a sqlloader.
    this is the CTL:
    OPTIONS ( DIRECT=FALSE,PARALLEL=TRUE, ERRORS=1000, BINDSIZE=50000, ROWS=5000, READSIZE=65536)
    LOAD DATA
    CHARACTERSET UTF8
    APPEND
    INTO TABLE "DW"."T_DATA_SUMMARY"
    FIELDS terminated by ',' enclosed by '"' TRAILING NULLCOLS
       "ID_PARTITION" INTEGER EXTERNAL "DECODE(:ID_PARTITION,671,2,1)",
       "ID_DATA" INTEGER EXTERNAL,
       "ID_VEHICLE" INTEGER EXTERNAL,
       "ID_DEVICE" INTEGER EXTERNAL,
       "DATE_PROCESS" "NULL",
       "DATE_WRITE" "SYSDATE",
       "DATE_RECEIVE" "TO_DATE(:DATE_RECEIVE, 'YYYYMMDDHH24MISS')",
       "DATE_EVENT" "TO_DATE(:DATE_EVENT, 'YYYYMMDDHH24MISS')",
       "DATA" CHAR(4000),
       "ID_TYPE_COMMUNICATION" INTEGER EXTERNAL,
       "EVENT" CHAR,
       "PACKET_LENGTH" INTEGER EXTERNAL,
       "IGNITION_EVENT" INTEGER EXTERNAL,
       "MESSAGE" CHAR(2000) "REPLACE(:MESSAGE,'!?!?','\"')",
       "DIRECTION" INTEGER EXTERNAL
    INTO TABLE "DW"."T_DATA_PROCESS"
      FIELDS terminated by ',' enclosed by '"' TRAILING NULLCOLS
       "ID_PARTITION" POSITION(1) INTEGER EXTERNAL "DECODE(:ID_PARTITION,671,2,1)",
       "ID_DATA" INTEGER EXTERNAL,
       "ID_TYPE_PROCESS" "1"
    INTO TABLE "DW"."T_DATA_PROCESS"
      FIELDS terminated by ',' enclosed by '"' TRAILING NULLCOLS
       "ID_PARTITION" POSITION(1) INTEGER EXTERNAL "DECODE(:ID_PARTITION,671,2,1)",
       "ID_DATA" INTEGER EXTERNAL,
       "ID_TYPE_PROCESS" "2"
      )I now need to change it a little to load records into "DW"."T_DATA_PROCESS" just when last field of the csv (the one I load into DIRECTION field of the "DW"."T_DATA_SUMMARY" table) is 1.
    How should I build the WHEN clasue?
    I tried WHEN (POSITION(15)="1") but it didn't work.
    Thanks in advance!
    Samuel

    And did you tried this
    WHEN (DIRECTION = '1')Best regards
    Mohamed Houri

  • Sqlloader:only 1st when clause works for comma separated data file

    LOAD DATA
    INFILE 'XXMI_SUPPLIER_DATA.dat'
    REPLACE
    INTO TABLE APPS.XXMI_AP_SUPPLIERS_STG
    when interface_record_type = '01'
    Fields terminated by "," Optionally enclosed by '"'
    TRAILING NULLCOLS
    and
    INTO TABLE APPS.XXMI_AP_SUPPLIER_SITES_STG
    when interface_record_type = '02'
    Fields terminated by "," Optionally enclosed by '"'
    TRAILING NULLCOLS
    always getting the error for second when clause:
    4 Rows not loaded because all WHEN clauses were failed.
    pls any one can throw some light on this?

    What's Oracle version.
    What's your datafile looks like. Post a few sample line here.
    when interface_record_type = '01'You didn't define interface_record_type in your when clause.
    Sample,
    INTO TABLE dept
       WHEN recid = 1
       (recid  FILLER INTEGER EXTERNAL TERMINATED BY WHITESPACE,
        deptno INTEGER EXTERNAL TERMINATED BY WHITESPACE,
        dname  CHAR TERMINATED BY WHITESPACE) check Oracle doc,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_control_file.htm#i1004788

  • SQL*LOADER, the WHEN clause and WILDCARDS

    has anybody ever used wildcards in a WHEN clause in the SQL*LOADER control file?
    WHEN string_2_load = 'GOOD' , all 'good' rows load
    WHEN string_2_load = 'GO%', all rows fail the WHEN clause and end up in the discard file.
    thanks in advance - if i don't go crazy first
    burt

    I have also faced a similar problem like this. Try this control file
    LOAD DATA
    INFILE 'DATA.dat'
    BADFILE 'MLIMA.bad'
    INTO TABLE Brok_Gl_Interface
    APPEND
    WHEN record_type = '10'
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    record_type CHAR ,
    currency CHAR ,
    entity CHAR ,
    cost_centre CHAR ,
    usd_account CHAR ,
    amount CHAR
    INTO TABLE Brok_Gl_Interface
    WHEN record_type = '99'
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    record_type POSITION(1) CHAR ,
    record_count CHAR
    INTO TABLE Brok_Gl_Interface
    WHEN record_type = '00'
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    record_type POSITION(1) CHAR,
    run_date CHAR,
    effective_date CHAR
    )Regards,
    Mohana

  • SQL Loader / WHEN clause / swich off? / bloated log files

    Hallo everyone,
    I am loading data from very large source files using SQL-Loader. This all works fine.
    However, now, using the WHEN clause (in the control file), I would like to load only a very restricted sub-set of the main data. This also works fine ...
    WHEN ARTICLECODE != '000000000000006769'
    However, the log file becomes completely bloated with messages telling me of each record which has failed the WHEN clause ...
    Record 55078: Discarded - failed all WHEN clauses.
    This is becoming a problem because it slows down the process and creates bloated log files which are eating up my disk-space.
    There must be a simple command to allow me to switch off thiese messages but, although I have googled on it, I haven't managed to find it.
    Any ideas on this one? I'm sure it's simple.
    Regards and many thanks,
    Alan Searle

    Try to add key SILENT=DISCARDS to sqlldr command
    Silent means - Suppress messages during run (header,feedback,errors,discards,partitions)

  • I just tried to install the 11.4 update (or whichever one is the most recent update as of 1/26/2014) and when it failed i tried to install manually and now whenever i try to use it, i get the following error: the application has failed to start because MS

    i just tried to install the 11.4 update (or whichever one is the most recent update as of 1/26/2014) and when it failed i tried to install manually and now whenever i try to use it, i get the following error: "The application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem." Right after i click ok i then get this error: "Itunes was not installed correctly. Please reinstall Itunes. Error 7 (Windows error 126)." I tried to uninstall Itunes and then reinstall the 11.03 version but that didnt work either. I want to know if i copy all of the music in my itunes folder to an external without consolidating can i still transfer all my itunes music from my current windows xp pc to a brand new one and have my current itunes library in my new pc? Basically i just want to know 3 things: What exactly does consolidating the itunes library do? Can i copy, paste, and transfer my itunes library to an external and from there to a new pc? Will i be able to transfer my itunes library without consolidating the files?

    I have found a temporary solution, allowing the previous version of iTunes (v. 11.1.3 (x64) in my case) to be re-installed.  It will allow you to re-establish use of iTunes until the Apple software engineers fix the most recent disasterous upgrade (v. 11.1.4).  Please see and follow the procedure in the following article:http://smallbusiness.chron.com/reverting-previous-version-itunes-32590.html   The previous version works beautifully.

  • My iphone 5 won't make a call when i fail to connect to the internet via 3g

    My iphone 5 won't call when i fail to connect to the internet via 3g.
    At work i dont have wifi i have 3g, if i launch say the sky go app,or the iplayer, sometimes they work and everything is fine...sometimes they wont load as 3g for whatever reason cant get a connection at that particular time........ if i then try and make a call the call will fail. I've experimented 25 + times and this is definately the cause.
    (note: when the 3g connection does work, the phone has absolutely no problem calling people)
    Anyone had this problem?
    Even better has anyone got a solution?
    Thanks,
    Nick.

    Are you sure that the carrier's signal is strong where you are having this problem? Certain building structures and locations have poor cellular signal strength and this often results in the "No Service" indication. Are other users able to get service in the same locations where you have problems?

  • How do I deactivate online (needed when computer fails)?

    Problem: When a computer fails with Adobe products installed, it is always a problem to do deactivation of license keys.
    When I login to my account at adobe.com, I can see my licenses.  I would have expected that I could manage my activations there.  How can we get Adobe to provide license key activation management online?  When computers fail, right now, there is no way to re-install Adobe software on the replacement computers because Adobe think I've used up my total activations.
    Without an solution within my adobe.com account, I always wind up spending HOURS talking with Adobe people.  It is a very frustrating process.  Please see below the 1 hour communication I had today that got me nowhere.
    Steve Amerige
    Mohammed: Hello! Welcome to Adobe Customer Service.
    Steve: The serial number in my account is xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
    Mohammed: Hi Steve
    Steve: Began my day with a hard-disk failure.
    Mohammed: May I please have your email address registered with Adobe while I review your request?
    Steve: [email protected]
    Steve: It's also my AdobeID
    Mohammed: thank you for your emailaddress.
    Steve: I had both CS 5 Master Collection as well as Acrobat Professional (xxxx-xxxx-xxxx-xxxx-xxxx-xxxx) installed on the computer whose hard drive failed.
    Mohammed: Than you for the information.
    Steve: It is possible that I installed Acrobat Pro Extended on that computer instead... I have license for that: xxxx-xxxx-xxxx-xxxx-xxxx-xxxx.
    Steve: Since the computer has crashed, I'm not sure which version of Acrobat I installed on it.
    Steve: Anyway, I don't want to have any problems once I start reinstalling the Acrobat and CS 5 Master Collection software.
    Mohammed: According to the End User License Agreement (EULA) law, it is recommended to install the Adobe Software on only two computers and that is mentioned on the End User License Agreement when installing the Software provided the Software is not used simultaneously.
    Mohammed: However, you can install the Software on the third Computer by de-activating the Software from one of the older one and then install it on the new one so that you can avoid any error message while activating the Software.
    Steve: I cannot de-activate the software... the hard drive has failed.
    Mohammed: Thank you for the information. Please allow me 1-2 minutes while I check with the information.
    Mohammed: I check the information. Still you have the activations left. You can activate the software.
    Steve: I had the software already installed on 2 computers: my home computer and my work computer.
    Mohammed: May I know what kind of errors your getting?
    Steve: My work computer is the one that had the hard-disk failure.  Did you verify license availability for both of the serial numbers: xxxx-xxxx-xxxx-xxxx-xxxx-xxxx (CS5 Master Collection) and Acrobat Pro (xxxx-xxxx-xxxx-xxxx-xxxx-xxxx) and Acrobat Pro Extended (xxxx-xxxx-xxxx-xxxx-xxxx-xxxx)?
    Steve: I have not yet begun the installation... I have to finish loading the operating system first.  I just remembered the last time this happened that I had problems with activation.  I don't want problems this time.
    Steve: Adobe should provide a website to manage activations.  When computers fail, it is not possible to deactivate.
    Mohammed: This seems to be more of technical issue and Since I from Customer Support, In this case I will suggest you to contact our Specialized technical support team so that they would be able to resolve the issue better. I will provide you with the contact details for technical support team, Is that okay with you?
    Steve: Sure
    Mohammed: You can directly contact our technical team at 800-833-6687.
    Mohammed: Is there anything else I can help you with?
    Steve: You can put in a suggestion that customers can manage their activations by logging into their online account.  When computers fail, this would be the only way they can manage activations.
    Mohammed: Thank you for waiting. One moment please.
    Mohammed: Thank you.
    Mohammed: Is there anything else I can help you with?
    Steve: Yes, how do I submit a feature request to have online activation management?
    Mohammed: In this case you can contact us back.
    Steve: ???  Okay... why not now?
    Mohammed: Okay in this case please contact technical  team.
    Steve: And, how do I do that?  I just want to put in a feature request that activations should be managed online in my adobe.com account.
    Mohammed: I'll be right with you.
    Mohammed: Please follow the below steps to de-activate the product:
    Mohammed: *Ensure that the computer on which you have the software installed is connected to the Internet.
    Mohammed: *Select Deactivate from the Help menu in the product you want to deactivate.
    Mohammed: *Select Deactivate Permanently.
    Mohammed: Once you de-activate the product from the old system, you will not have any issue while activating the product on the new system.
    Steve: You've got to be kidding me!  Did you forget that my hard-drive failed?  Are you a real person or some software that is trying to answer my questions?
    Mohammed: I am sorry that is for future reference.
    Steve: As I said before, my hard-drive failed.  I cannot deactivate the license.  I called the phone number you gave me.  Adobe is not yet open, so at the moment I have no solution.
    Steve: I will call them and see if they are able to help me.  But, I want to know how I make an official request that Adobe allow for online license key management from within my adobe.com account.
    Mohammed: I am sorry, please stay online while I check with the activation seat for the serial number you have provided above.
    Mohammed: Steve, in case of hard drive crash or any unavoidable situations, you can contact us while activating the product so that we can make necessary changes to the license and allow you to activate the product again with out any issues.
    Steve: Okay... I'll proceed.  But, you still haven't answered my last question: how can I make an official request that Adobe allow for online license key management from within my adobe.com account?
    Mohammed: Steve, you can leave your feedback here on chat so that I can escalate the same to higher level of support to check with this.
    Mohammed: Is that fine?
    Steve: Yes... please do escalate this so that the feedback can be used.
    Mohammed: Thank you.
    Mohammed: Is there anything else I can help you with?
    Steve: No.  I will call the number you gave me when they open.  Until then, there is nothing for me to do except to begin the installation again, wait for the problem, and then re-start a new support session.  I wish Adobe could manage activations online, but I do understand that you can't at this moment do anything about it.  Have a nice day.
    Mohammed: Sorry for the wait. Please do stay online.
    Mohammed: Thank you.
    Mohammed: May I please have your email address registered with Adobe while I review your request?
    Mohammed: Thank you for contacting Adobe.  We are available 7 days a week, 24 hours a day. Goodbye!

    You simply call support by phone and have them reset activations. At this point there is no way to manage that yourself.
    Mylenium

  • When synchronization fails to create a backup, iTunes gives an error.

    When synchronization fails to create a backup, iTunes gives an error.
    iPhone 4, OS 5, Windows XP S3, iTunes 10. ITunes was moving a few times. Please help me.

    When synchronization fails to create a backup, iTunes gives an error.
    iPhone 4, OS 5, Windows XP S3, iTunes 10. ITunes was moving a few times. Please help me.

  • Multibyte character error in SqlLoader when utf8 file with chars like €Ää

    hello,
    posting from Germany, special charactes like german umlaute and euro sign in UTF8 Textfile, SqlLoader rejecting row with Multibyte character error
    Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
    Database Characterset: WE8MSWIN1252
    OS: SLES 11 x86_64
    Testcase SqlDeveloper:
    CREATE TABLE utf8file_to_we8mswin1252 (
    ID NUMBER,
    text VARCHAR2(40 CHAR)
    can't enter euro symbol in this posting, end's in '€' (?)
    SELECT ascii(euro symbol) FROM dual;
    128
    SELECT chr(128) from dual;
    INSERT INTO utf8file_to_we8mswin1252 (ID, text) VALUES (1, '0987654321098765432109876543210987654321');
    INSERT INTO utf8file_to_we8mswin1252 (ID, text) VALUES (2, 'äüöäüöäüöäÄÖÜÄÖÜÄÖÜÄßßßßßßßßß߀€€€€€€€€€');
    INSERT INTO utf8file_to_we8mswin1252 (ID, text) VALUES (3, 'äüöäüöäüöäÄÖÜÄÖÜÄÖÜÄäüöäüöäüöäÄÖÜÄÖÜÄÖÜÄ');
    INSERT INTO utf8file_to_we8mswin1252 (ID, text) VALUES (4, 'ۧۧۧۧۧۧۧۧۧۧ1');
    INSERT INTO utf8file_to_we8mswin1252 (ID, text) VALUES (5, 'äüöäüöäüöäÄÖÜÄÖÜÄÖÜÄäüöäüöäüöä');
    INSERT INTO utf8file_to_we8mswin1252 (ID, text) VALUES (6, 'ßßßßßßßßß߀€€€€€€€€€1');
    INSERT INTO utf8file_to_we8mswin1252 (ID, text) VALUES (7, 'ßßßßßßßßß߀€€€€€€€€€äüöäüöäüöäÄÖÜÄÖÜÄÖÜÄ');
    commit;
    Select shows correct result, no character is wrong or missing!!!!
    put this in a UTF8 file without delimiter and enclosure like
    10987654321098765432109876543210987654321
    the SqlLoader controlfile:
    LOAD DATA characterset UTF8
    TRUNCATE                              
    INTO TABLE utf8file_to_we8mswin1252
    ID CHAR(1)     
    , TEXT CHAR(40)
    on a linux client machine, NOT the Oracle-Server
    export NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
    sqlldr user/pwd@connectstring CONTROL=TEST01.ctl DATA=TEST01.dat LOG=TEST01.log
    Record 6: Rejected - Error on table UTF8FILE_TO_WE8MSWIN1252, column TEXT.
    Multibyte character error.
    Record 7: Rejected - Error on table UTF8FILE_TO_WE8MSWIN1252, column TEXT.
    Multibyte character error.
    Select shows missing characters in row 4 and 5, SqlLoader loads only the first 20 characters (maybe at random)
    and as shown above, row 6 and 7 never loaded
    Problem:
    can't load UTF8 Flatfiles with SqlLoader when german umlaute and special characters like euro symbol included.
    Any hint or help would be appreciated
    Regards
    Michael

    ## put this in a UTF8 file without delimiter and enclosure like
    The basic question is how you put the characters into the file. Most probably, you produced a WE8MSWIN1252 file and not an UTF8 file. To confirm, a look at the binary codes in the file would be necessary. Use a hex-mode-capable editor. If the file is WE8MSWIN1252, and not UTF8, then the SQL*Loader control file should be:
    LOAD DATA characterset WE8MSWIN1252
    TRUNCATE
    INTO TABLE utf8file_to_we8mswin1252
    ID CHAR(1)
    , TEXT CHAR(40)
    )-- Sergiusz

  • How to specify when clause in a database trigger

    I would like to create a database trigger that only fires on database create statements. In particular, it only needs to fire when tables with a specific prefix fire.
    I'd like to be able to specify something in the when clause along the lines of :
    CREATE OR REPLACE
    TRIGGER CAPTURE_STATS
         after CREATE ON rtrei.schema
         WHEN ( NEW.table_name like 'RT_FOO%' )
    begin
    add_stats_capture( :new.min_range, :new.max_range);
    end;
    It looks like I should be able to use a when as part of a database trigger, but I have no idea what new would be defined to be so that I could use it... perhaps it is an object and the clause would look something like
    when (new.objecttype = 'TABLE' and new.name like 'RT_FOO%')?
    Any ideas? I've searched through the docs, but have not been able to find anything relevant.
    thanks very much,
    Robin

    You can use the WHEN clause with DDL triggers. You can move Todd's IF-THEN clause up into the WHEN clause.
    See http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10795/adfns_ev.htm for all of the System-Defined Event Attributes.
    CREATE OR REPLACE TRIGGER capture_stats
    AFTER CREATE ON SCHEMA
    WHEN (ora_dict_obj_type = 'TABLE' AND ora_dict_obj_name LIKE 'RT_FOO%')
    BEGIN
            --Do whatever here.
    END capture_stats;

  • When idoc failes for inbound sales orders then how to trigger a mail notifi

    Hi All,
    When idoc failes for inbound sales orders in SAP then i would like to send an email notificaiton to particular user id. Could you please let me know the settings for this requirement.
    Thanks in advance..

    Closing thread as there are no replies

  • How to use WHEN clause in sqlldr

    I want to insert RECORDS in table which are having orgno column values greater then 100 in my datafile using sqlldr.
    In WHEN clause in my control file if i mention WHEN (orgno > '100')
    it gives me error :
    Illegal combination of non-alphanumeric characters
    WHEN (orgno < '500')
    ^
    I am able to insert records when i use WHEN (orgno = '100') but not when i use > or < sign.
    what to do???

    Hello user8531525.
    "The supported operators are equal (=) and not equal (!= or ne)"; replace the ne with less than and greater than signs. (http://www.mcs.csueastbay.edu/support/oracle/doc/10.2/server.102/b14215/ldr_control_file.htm)
    Your filtering will need to be performed on the file itself or on the records after they are loaded. If your file is local to your database, consider using External Tables.
    Luke
    Please mark the answer as helpful or answered if it is so. If not, provide additional details.
    Always try to provide create table and insert table statements to help the forum members help you better.
    Edited by: Luke Mackey on Aug 5, 2010 2:58 PM

  • When clause in SQL Loader

    hi,
    i am facing a problem during when clause in sql loader
    here is my control file
    options(direct=true)
    load data
    infile 'data_file.txt'
    truncate
    into table "TABLE_NAME"
    when col1 = '1'
    trailing nullcols
    col1 integer external TERMINATED BY ',',
    col2 integer external )
    into table "TABLE_NAME"
    when col1 = '2'
    trailing nullcols
    col1 integer external TERMINATED BY ',' ,
    col2 integer external )
    =======================================
    this file loads only data when col1=1 and does not load data when col1=2
    can any body help me
    thanks in advance

    Hi,
    I currently have the same problem. Seems that SQLLDR WHEN clause only apply for columns that based on datafile. Also, data that to be compared in WHEN clause is get from datafile and you can not make any modification on that data.
    How did you do to work around with that?

Maybe you are looking for

  • Invalid date format causes system to crash

    Hello experts. I'm not sure where to even start looking to resolve this problem. In the shopping cart if a user changes the delivery date to an incorrect format it causes the system to hang. For example if the user enters a date in the past such as 0

  • How to change the font direction?

    There are many titlewindows in my application, so I have to lay out them in order. I wanna change the panel size, position, and the direction of panel title in order to display the title readability when the titlewindow is vertical. But I can't find

  • Cloning error

    Hi Yesterday i was performing backup of our existing 11g DB and APPS then i tried to UP in other pc machine but i got error like this during restoring of CLONE ERROR: Failed to execute /oracle/PROD/db/tech_st/11.1.0/appsutil/clone/bin/adclone.pl when

  • Not enough memory for Photoshop CC anymore?

    My computer had room for 6 RAM sticks. Up until Friday, I was using 5, for a total of 9GB RAM. After using a program called Speccy to determine my computer's motherboard, I found that I could upgrade to add another of the 2GB sticks that I already ha

  • Flash10e.ocx version 10.0.45.2 or 10.0.42.34?

    First I had used the flash uninstal tool from adobe and successfully removed the older version of flash player I thought I downloaded flash player 10 version 10.0.45.2, but when I go into my browser IE7 and look at the manage add ons, I see Shockwave