Invalid number while loading a number with a coma as a group separator
Hi,
I'm loading a file in which I have numbers such as -9,999.99. The point is for decimal and the coma for the group separator (thousands).
I did an alter session with a set to NLS_NUMERIC_CHARACTERS=".,"
I have no errors with numbers such as -999.99 but as soon as I have a number with a thousand such 1,789.44 I got an invalid number error ??
By the way when I tried to do the SQL statement directly, I also got the error
SQL> select to_number('1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=".,"') from dual;
select to_number('1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=".,"') from dual
ERREUR à la ligne 1 :
ORA-01722: Nombre non valide
What am I missing ? What should I do to avoid the error ?
Thxs in advance for your help.
Rgds
Yves
Look carefully onto your format mask - it begins with 'S'.
Format Model
S
Returns negative value with a leading minus sign (-).
Returns positive value with a leading plus sign (+).
Returns negative value with a trailing minus sign (-).
Returns positive value with a trailing plus sign (+).
Restriction: The S format element can appear only in the first or last position of a number format model.
SQL> select to_number('+1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=''.,''') from dual
2 /
TO_NUMBER('+1,789.55','S999G999D99','NLS_NUMERIC_CHARACTERS=''.,''')
1789.55
SQL> select to_number('1,789.55','999G999D99','NLS_NUMERIC_CHARACTERS=''.,''') from dual
2 /
TO_NUMBER('1,789.55','999G999D99','NLS_NUMERIC_CHARACTERS=''.,''')
1789.55Rgds.
Similar Messages
-
Error while loading .sim file with sap tutor 2.2
Dear Gurus,
I had recorded a tutorial which is am attempting to edit now.
On opening the tutorial through the editor, I get the following message:
"The following error occured while opening the file:
error loading archive: no valid header or TOC found (80040002)"
I am able to edit other tutorials satisfactorily.
I seek guidance in resolving the error and opening the tutorial.
Note: I downloaded SAP Tutor from SWDC.
Regards,
AjayI was using the SAP Personal Player to play the tutorials. After I installed the licenced version from service.sap.com, I was able to open the .sim files.
Thanks! -
Error While loading the data with OLIBW7
Hi Guys,
while we are loading the set up tables we are getting the following error in OLIBW7 transaction "Error determining rate: foreign curr. MYR local curr. PHP date 23.02.2007"
I asked around the functional consultants and they informed that Currency Exchange Rate is not being loaded to D53 at all.
Can any one let me know how to fix this problem....
Thanks in advanceHi
did you get the solution for the issue you got while doing the setup for Sales orders.
"Error determining rate: foreign curr. MYR local curr. PHP date 23.02.2007"
thanks in advance,
Bhaskar. -
Long delay while loading a slide with a movie
As in the topic. I use Keynote08 and have 40 sec movie in the slide. It takes about 30 seconds to load this slide, during this time nothing happens. I tried nearly all combination of formats/codecs, nothing works. This is a wonderful software, but I cant use Keynote for presentations while the public has to wait until the next slide loads.
Any ideas...? Thanks in advance.Sorry, my mistake There was some element on the slide, which was copied from another place and had a 30s delay to appear... Well, you have to be careful always, Keynote is not so advanced yet to think for you
-
Update Rule Error ( Invalid Data) while load 0VENDOR
Hello All,
I have attributes like 0POSTAL_CD of 10 Char (Postal Code) and 0SORTL 0f 10 Char (Sort Field) of Vendor. From yesterday onwards the Production master data loads for 0VENDOR started failing saying:
Record 211 :0POSTALCODE : Data record 211 ('03 2VEN4000040 '): Version 'HK HONG KONG ' is not valid
Record 136 :0SORTL : Data record 136 ('0002000175 '): Version 'SATTLER, I ' is not valid
Solutions tried:
Interstingly what we found is: when u edit the PSA data for the above records and again input the same values, the load runs fine.
I found this thread some what relating to my problem, but I could'nt get the solution.
Please help to solve this issue which I am facing alone....... Thanks for your supportHi Ram,
Really add more valid char is a possible option, but in your case I dont believe that was a good idea...
I believe that this msg is an automatic master data validation.
Ex:
0SORT: is not valid use comma ( , ) or sapce in this field
0POSTALCODE: the value 'HK HONG KONG ' dont seems to be a correct value for a zip code
I belive that this validation is not about allowed extra-char
Check both InoObject and see wich datatype support.
Hope this Help! -
HELP-HELP-HELP Desktop Manager Crashes while loaded or connected with BB
Hi All... Please Help me out....!!!! I have recently purchased a BB 8310 Curve from Vodafone. From very 1st day, it could not be connected in my laptop with Desktop Manager supplied with the package CD. I have downloaded the latest version of BB Desktop Manager from the site, but it seems to be worst than before, it crashes before connecting the BB in USB port. Desktop Manager crashes every time, when the BB is connected : This shows an error message Box "BlackBerry Desktop manager has encountered a problem and needs to close" The error signature is shown from mshtml.dll file.
Hello and Welcome to the Forums!
sheberry wrote:
I am so frustrated. I'm just an everage old person and I cannot get straight information from your manuals, virtual help, these forums - whatever. It seems to me what I want to do is pretty simple, yet my brain is busting trying to figure it out and read all this junk!!! Sorry for the rant.
Just to set your expecations correctly...based on the above highlighted text, you need to be aware that these forums are a user-to-user support channel, not a user-to/from-RIM conduit.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Invalid Number Error for Decimal Field While Loading Data
I am loading a delimited text file using the SQL* loader however I am reciving an error in my decimal fields. When a decimal field only has leading zeros before the decimal point I receive invalid number error. Below will clarify:
i.e.) 00000000.30 [*Invalid number*]
i.e.) 00046567.45 [*Valid number*]
i.e.) 00000001.00 [*Valid number*]
I've tried setting the precision/scale in the table, tried declaring it a decimal field instead of number, none of these methods fixed the issue. Any help I would really appreciate.
POLICY_NUMBER NUMBER,
EFFECTIVE_DATE DATE "YYYYMMDD" NULLIF EFFECTIVE_DATE = '',
TRANSACTION_DATE DATE "YYYYMMDD",
TRANSACTION_AMOUNT DECIMAL EXTERNAL, -- Tried TRANSACTION_AMOUNT DECIMAL EXTERNAL (10) & TRANSACTION_AMOUNT NUMBER
MF_TRX_CODE NUMBER,
USER_ID CHAR,
GROUP_NUMBER NUMBER,
EXPIRATION_DATE DATE "YYYYMMDD" NULLIF EXPIRATION_DATE = '',
BILL_NUMBER NUMBER,Any help is greatly appreciated. Thanks before hand.Hi,
Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
Connected as hr
SQL> SELECT * FROM TEST;
TRANSACTION_AMOUNT
SQL> SELECT * FROM TEST;
TRANSACTION_AMOUNT
11000,00
293,37
2000,00
1134,32
0,30
SQL>Between the selects I loaded the table with sql*loader using...
Load Data
INFILE *
APPEND
INTO TABLE TEST
FIELDS TERMINATED BY '|'
TRAILING NULLCOLS
TRANSACTION_AMOUNT DECIMAL EXTERNAL
BEGINDATA
00011000.00
00000293.37
00002000.00
00001134.32
00000000.30The log is
SQL*Loader: Release 10.2.0.1.0 - Production on Tue Dec 23 17:23:47 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: test.ctl
Data File: test.ctl
Bad File: test.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table TEST, 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
TRANSACTION_AMOUNT FIRST * | CHARACTER
Table TEST:
5 Rows successfully loaded.
0 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.
Space allocated for bind array: 16512 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 5
Total logical records rejected: 0
Total logical records discarded: 0
Run began on Tue Dec 23 17:23:47 2008
Run ended on Tue Dec 23 17:23:50 2008
Elapsed time was: 00:00:02.86
CPU time was: 00:00:00.06Regards, -
Error while loading throug sql loader
Hi All,
Trying to use sql loader in order to laod csv format data. However, during load, I come across with errors.
Please find below my log,control and datafile.
------------Ctl File----------------
load data
discardfile 'c:\dis.log'
infile 'c:\csv\personal1.csv'
into table personal_expenses
fields terminated by ","
trailing nullcols
(PURCHASE_DATE date 'mm/dd/yy',PAYEE,RUPEE_SPENT,CATEGORY,SUB_CATEGORY,DESCRIPTION)
------------- Log FIle---------------------------
SQL*Loader: Release 10.1.0.2.0 - Production on Tue Aug 11 12:29:07 2009
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Control File: C:\control01.ctl.txt
There are 2 data files:
Data File: control01.ctl
Bad File: C:\control01.bad
Discard File: c:\dis.log
(Allow all discards)
Data File: c:\csv\personal.csv
Bad File: C:\personal.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table PERSONAL_EXPENSES, loaded from every logical record.
Insert option in effect for this table: INSERT
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
PURCHASE_DATE FIRST * , DATE mm/dd/yyyy
PAYEE NEXT * , CHARACTER
RUPEE_SPENT NEXT * , CHARACTER
CATEGORY NEXT * , CHARACTER
SUB_CATEGORY NEXT * , CHARACTER
DESCRIPTION NEXT * , CHARACTER
Data File control01.ctl -
Record 1: Discarded - all columns null.
Record 3: Discarded - all columns null.
Record 5: Discarded - all columns null.
Record 2: Rejected - Error on table PERSONAL_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 4: Rejected - Error on table PERSONAL_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 6: Rejected - Error on table PERSONAL_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 7: Rejected - Error on table PERSONAL_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 8: Rejected - Error on table PERSONAL_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 9: Rejected - Error on table PERSONAL_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Data File c:\csv\personal.csv -
Record 10: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 11: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 12: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 13: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 14: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 15: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 16: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 17: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 18: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 19: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 20: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 21: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 22: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 23: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 24: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 25: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 26: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 27: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 28: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 29: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 30: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 31: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 32: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 33: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 34: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 35: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 36: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 37: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 38: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 39: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 40: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 41: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 42: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 43: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 44: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 45: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 46: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 47: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 48: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 49: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 50: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 51: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 52: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 53: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
Record 54: Rejected - Error on table PERSONAL_EXPENSES, column RUPEE_SPENT.
ORA-01722: invalid number
MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
Table PERSONAL_EXPENSES:
0 Rows successfully loaded.
51 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
3 Rows not loaded because all fields were null.
Space allocated for bind array: 99072 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 73
Total logical records rejected: 51
Total logical records discarded: 3
Run began on Tue Aug 11 12:29:07 2009
Run ended on Tue Aug 11 12:29:08 2009
Elapsed time was: 00:00:00.55
CPU time was: 00:00:00.06
------------------------- Sample Data-----------------
04/05/09,Groceries,Withdrawal,83,Food,Groceries
05/05/09,Other,Withdrawal,50,Homeneeds,Other,,given to lali,
02/05/09,Groceries,Withdrawal,60,Food,Groceries,,Ice cream for all ,
05/05/09,Physcian,Withdrawal,400,Healthcare,Physician,,Consult to DR.ABBAS,
05/08/09,Dining Out,Withdrawal,35,Food,Dining out,,Juices,Ice cream,
05/07/09,Health,Withdrawal,120,Healthcare,Health,,Vasline Lotion,Cap Bcomplex,
05/10/09,clothing,Withdrawal,150,Homeneeds,Clothing,,Baby suit bought for Rupesh kid,
05/11/09,Physcian,Withdrawal,1500,Healthcare,Physician,,Ayurvedic Medicine from ABBASUsha,Me and Sonu,
05/11/09,Groceries,Withdrawal,55,Food,Groceries,,milk 1|2 kg, curd 1|2kg, sweet ,
05/17/09,Dining Out,Withdrawal,200,Food,Dining out,,me, sonu had dining out in bite-inkulfi,maze, special thali,
cold
05/17/09,Petorl,Withdrawal,300,Petrol,,,Petrol for CAR,
05/18/09,Health,Withdrawal,1500,Healthcare,Health,,Test : Ultrasound, Blood,
05/18/09,Physcian,Withdrawal,200,Healthcare,Physician,,ENT visit : Me,Poonam,
05/18/09,Health,Withdrawal,350,Healthcare,Health,,Medicine :-,
05/18/09,Dining Out,Withdrawal,165,Food,Dining out,,Dosa, lassi ,cold drinl ,shikanji , kulfi,
05/18/09,clothing,Withdrawal,730,Homeneeds,Clothing,,2 t shirt, 1lower , Braw , 1 purse
bindi , cluture , rubber bandlower Alok
05/21/09,Health,Withdrawal,325,Healthcare,Health,,Medicine bought for poona75+50.
Medicine start date is 21-may-09 for truboclosis,
05/21/09,Other,Withdrawal,100,Homeneeds,Other,,Rikshaw rent,
05/26/09,Internet,Withdrawal,550,Bills,Internet,,Gave sonu - 26-May-09,
05/30/09,Physcian,Withdrawal,200,Healthcare,Physician,,Dr. Sulabh Gupta consultation,
05/30/09,Groceries,Withdrawal,90,Food,Groceries,,Sweet ,
05/30/09,Party,Withdrawal,165,Leisure,Party,,Mc puff, Burger , Coke ,
05/30/09,Office food,Withdrawal,55,Food,Office food,,Lunch , Tea , Milk Bottel,
06/01/09,Medicine Alopathic,Withdrawal,538,Healthcare,Medicine Alopathic,,Poonam medicine + dendruf shampoo,
06/01/09,Fruits,Withdrawal,55,Food,Fruits,,Fruit juices + wayer bottel,
06/01/09,Gifts,Withdrawal,80,Gifts,,,sharpner, eraser,
06/01/09,Fruits,Withdrawal,55,Food,Fruits,,For poonam' home,
06/01/09,Dining Out,Withdrawal,50,Food,Dining out,,coke , curd , lays chipps,
06/04/09,Maintainance,Withdrawal,800,Maintainance,,,Bike Maintanence,
06/10/09,Medicine Alopathic,Withdrawal,250,Healthcare,Medicine Alopathic,,Medicine Sonu -- Dr Yogmaya.
06/10/09,Medicine Alopathic,Withdrawal,300,Healthcare,Medicine Alopathic,,Sonu medicine - Dr Salabh Gupta,
06/15/09,Medicine Alopathic,Withdrawal,570,Healthcare,Medicine Alopathic,,Medicine Poonam ,
06/22/09,Medicine Ayurvedic,Withdrawal,400,Healthcare,Medicine Ayurvedic,,Dr. Abbas,
06/22/09,Movies,Withdrawal,160,Leisure,Movies,,Movie -paying guest,
06/25/09,Dining Out,Withdrawal,150,Food,Dining out,,Chinees Combo+1 colddrink,
06/25/09,Internet,Withdrawal,550,Bills,Internet,,Internet payment,
06/29/09,Medical Test,Withdrawal,320,Healthcare,Medical Tests,,Blood Test :- Sonu - RA FACTOR,
06/29/09,Dining Out,Withdrawal,200,Food,Dining out,,Rasoi:- Special thali , cold drinks,
07/02/09,B'day,Withdrawal,1000,Leisure,B'day,,Mom's B'day,
07/01/09,Medicine Ayurvedic,Withdrawal,590,Healthcare,Medicine Ayurvedic,,Mine: Abbas,
07/02/09,B'day,Withdrawal,300,Leisure,B'day,,Afzal,
07/05/09,B'day,Withdrawal,1000,Leisure,B'day,,Amit B'day,
07/08/09,Travel,Withdrawal,2000,Vacation,Travel,,Trian tickets:-,
07/08/09,Dining Out,Withdrawal,1000,Food,Dining out,,During travelling to Gwalior,
07/16/09,Medicine Ayurvedic,Withdrawal,1000,Healthcare,Medicine Ayurvedic,,Dr. Abbas : Medicine Ayurvedic,
07/16/09,Petorl,Withdrawal,100,Petrol,,,For Bike,
07/17/09,Party,Withdrawal,290,Leisure,Party,,Office party : Dad earned golf medal.,
07/19/09,Other,Withdrawal,64,Homeneeds,Other,,Mother's in law--
07/20/09,Movies,Withdrawal,200,Leisure,Movies,,200 :- New York,
07/21/09,Dining Out,Withdrawal,200,Food,Dining out,,For movie,
07/21/09,clothing,Withdrawal,1700,Homeneeds,Clothing,,Sonu: 3 kurtas , one shirt usha,
07/23/09,Medicine Alopathic,Withdrawal,290,Healthcare,Medicine Alopathic,,Sonu's Medicine 10 days,
08/01/09,clothing,Withdrawal,200,Homeneeds,Clothing,,sonu leg-inns,
08/01/09,Give & take,Withdrawal,200,Bills,Give & Take,,sheetal for dress,
08/01/09,Give & take,Withdrawal,100,Bills,Give & Take,,given meenu,
08/02/09,Medicine Ayurvedic,Withdrawal,1400,Healthcare,Medicine Ayurvedic,,My Medicine from Dr Abbas,
08/03/09,Medicine Alopathic,Withdrawal,300,Healthcare,Medicine Alopathic,,Sonu's Medicine,
08/03/09,clothing,Withdrawal,100,Homeneeds,Clothing,,Stiching,
08/03/09,Cosmetics,Withdrawal,480,Homeneeds,Cosmetics,,Dio, Lipistick Nail color tec,
08/03/09,Outdoor foods,Withdrawal,100,Food,Outdoor foods,,lassi ras mala golgappe shikangi,
08/03/09,clothing,Withdrawal,60,Homeneeds,Clothing,,Peticote,
08/03/09,Give & take,Withdrawal,200,Bills,Give & Take,,given sheetal,
08/03/09,clothing,Withdrawal,150,Homeneeds,Clothing,,leg-inns for sonu,
08/06/09,Festivals,Withdrawal,1500,Leisure,Festivals,,1500 Rakshabandhan,
08/10/09,Dining Out,Withdrawal,150,Food,Dining out,,Bikaner-chineese plater-cold drink,
08/10/09,Medicine Ayurvedic,Withdrawal,150,Healthcare,Medicine Ayurvedic,,Sonu's Archiritis Medicine,
08/10/09,Give & take,Withdrawal,1000,Bills,Give & Take,,Komal's commettie,
08/19/09,clothing,Withdrawal,350,Homeneeds,Clothing,,Sonu's kurta,
08/20/09,Medicine Alopathic,Withdrawal,360,Healthcare,Medicine Alopathic,,Sonu's Medicine prscbd dr Alok,
08/20/09,Physcian,Withdrawal,200,Healthcare,Physician,,Ortopedic fee,
08/20/09,Dining Out,Withdrawal,75,Food,Dining out,,Burger carried from office,
08/20/09,other expences,Withdrawal,300,Vacation,other expences,,Return file fee,
08/20/09,Office food,Withdrawal,55,Food,Office food,,contrey rs 20 food rs 35,hare krishnaOne more thing, in second table, the same data set brough errors. I really failed to understand, why this is so, when the Sample data is same.
------------------ Log FIle------------------------------
SQL*Loader: Release 10.1.0.2.0 - Production on Tue Aug 25 23:11:21 2009
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Control File: C:\home.ctl.txt
There are 2 data files:
Data File: home.ctl
Bad File: C:\home.bad
Discard File: c:\dis.log
(Allow all discards)
Data File: c:\csv\home.csv
Bad File: C:\home.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 50
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table HOME_EXPENSES, loaded from every logical record.
Insert option in effect for this table: INSERT
TRAILING NULLCOLS option in effect
Column Name Position Len Term Encl Datatype
PURCHASE_DATE FIRST * , DATE mm/dd/yy
PAYEE NEXT * , CHARACTER
RUPEE_SPENT NEXT * , CHARACTER
CATEGORY NEXT * , CHARACTER
SUB_CATEGORY NEXT * , CHARACTER
DESCRIPTION NEXT * , CHARACTER
DESC1 NEXT * , CHARACTER
Data File home.ctl -
Record 1: Discarded - all columns null.
Record 3: Discarded - all columns null.
Record 5: Discarded - all columns null.
Record 7: Discarded - all columns null.
Record 18: Discarded - all columns null.
Record 25: Discarded - all columns null.
Record 29: Discarded - all columns null.
Record 38: Discarded - all columns null.
Record 39: Discarded - all columns null.
Record 41: Discarded - all columns null.
Record 44: Discarded - all columns null.
Record 47: Discarded - all columns null.
Record 50: Discarded - all columns null.
Record 53: Discarded - all columns null.
Record 56: Discarded - all columns null.
Record 59: Discarded - all columns null.
Record 62: Discarded - all columns null.
Record 65: Discarded - all columns null.
Record 68: Discarded - all columns null.
Record 71: Discarded - all columns null.
Record 74: Discarded - all columns null.
Record 77: Discarded - all columns null.
Record 80: Discarded - all columns null.
Record 83: Discarded - all columns null.
Record 86: Discarded - all columns null.
Record 89: Discarded - all columns null.
Record 2: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 4: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 6: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 8: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 9: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 10: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 11: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 12: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 13: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 14: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 15: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 16: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01843: not a valid month
Record 17: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 19: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 20: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 21: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 22: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 23: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 24: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 26: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 27: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 28: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 30: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 31: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 32: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 33: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 34: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 35: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 36: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 37: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 40: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 42: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 43: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 45: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 46: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 48: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 49: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 51: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 52: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 54: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 55: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 57: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 58: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 60: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 61: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 63: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 64: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 66: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 67: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 69: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
Record 70: Rejected - Error on table HOME_EXPENSES, column PURCHASE_DATE.
ORA-01858: a non-numeric character was found where a numeric was expected
MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
Table HOME_EXPENSES:
0 Rows successfully loaded.
51 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
26 Rows not loaded because all fields were null.
Space allocated for bind array: 115584 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 90
Total logical records rejected: 51
Total logical records discarded: 26
Run began on Tue Aug 25 23:11:21 2009
Run ended on Tue Aug 25 23:11:21 2009
Elapsed time was: 00:00:00.09
CPU time was: 00:00:00.05
--------------------------------- Sample Data-----------
5/5/2009,Gas,620,Automobile,Gas,2 cylinders,,,,
5/5/2009,clothing,900,Homeneeds,Clothing,suits for usha,meenu,sheetu,mummy,mousi & me one each
1/5/2009,Vegitables,250,Food,Vegitables,Potota 5 kg,,,,
5/5/2009,Petorl,500,Petrol,,Petrol for CAR,,,,
5/8/2009,Vegitables,250,Food,Vegitables,Vegitables for home.,,,,
1/9/2009,Maintainance,100,Maintainance,,Curtain Maintainence,,,,
5/11/2009,Groceries,25,Food,Groceries,Curd ,,,,
5/12/2009,Vegitables,35,Food,Vegitables,onion1kg,tomato 1kg ,,,
5/14/2009,Groceries,143,Food,Groceries,honey big size Rs130,milk 1.5 kg ,,,
5/18/2009,Spices,40,Spices,,Haldi ,,,,
5/25/2009,Give & take,50,Bills,Give & Take,Rs:-50 Medical for mom,,,,
5/25/2009,Groceries,85,Food,Groceries,Kurkure,Brush, Kitchen towl,Biscuit,
5/28/2009,Petorl,500,Petrol,,Petro for Car,,,,
5/28/2009,Medicine Alopathic,190,Healthcare,Medicine Alopathic,For mummy :- Dr Khosla priscribed,,,,
5/30/2009,Petorl,380,Petrol,,For car,bike and scooty,,
6/1/2009,Fruits,60,Food,Fruits,Mango 2 kg,,,
6/7/2009,Groceries,70,Food,Groceries,Haldi, besan , dahi,
6/7/2009,Maintainance,20,Maintainance,,Plug for cooler,,,
3/10/2009,Petorl,300,Petrol,,Car Petrol,,,
6/29/2009,Groceries,80,Food,Groceries,Pickle,,,
6/29/2009,Other,30,Homeneeds,Other,rikshaw rent, ac ,,
6/29/2009,Vegitables,200,Food,Vegitables,mango,patato,tomato, and many more
7/9/2009,Maintainance,100,Maintainance,,Inverter service,,,
7/13/2009,Vegitables,40,Food,Vegitables,Tamoto,,,
7/15/2009,Groceries,133,Food,Groceries,Ezee --,,,
7/17/2009,Vegitables,20,Food,Vegitables,Lemon : half kg,,,
7/17/2009,other expences,40,Vacation,other expences,Ironing,,,
7/23/2009,Medicine Alopathic,500,Healthcare,Medicine Alopathic,Usha's test and medicine,,,
7/23/2009,Vegitables,300,Food,Vegitables,Vegitable,,,
7/28/2009,Petorl,400,Petrol,,for car,,,
7/28/2009,Vegitables,62,Food,Vegitables,france been+sauses
7/29/2009,Maintainance,150,Maintainance,,Battery Chare
7/29/2009,Medicine Alopathic,150,Healthcare,Medicine Alopathic,Snowai injection
8/10/2009,Give & take,1000,Bills,Give & Take,Given mom
8/19/2009,Groceries,4500,Food,Groceries,shipra_mall_shopping_aug_offer
8/19/2009,Petorl,500,Petrol,,For Car
8/20/2009,Vegitables,100,Food,Vegitables,Vegitables
8/23/2009,Vegitables,200,Food,Vegitables,Vegitables
-------------------- Table Structure------------------
PURCHASE_DATE DATE
PAYEE VARCHAR2(40)
RUPEE_SPENT NUMBER(4)
CATEGORY VARCHAR2(30)
SUB_CATEGORY VARCHAR2(50)
DESCRIPTION VARCHAR2(100)
DESC1 VARCHAR2(40)hare krishna -
Adding sequence while loading.
I want to add sequence number while loading the data.
Does the sql-loader loads the data as per the record sequence in data file or it selects records randomly?
I am using DIRECT load method.
e.g. the data in data file is as follows
a|transaction
b|trans b
c|trans c
now i would like to add sequence number with each transaction so while loading will the data be loaded as a,b,c?
thanks in advance..Pl see MOS Doc 258649.1 (Differences between Conventional and Direct path options of SQL*Loader) for an explanation.
Sequence numbers are typically generated in ascending order - it depends on the definition of the sequence
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/views.htm#sthref3092
HTH
Srini -
Failed in the execution of the ODCIINDEXINSERT routine while loading points
I used SQL*Loader from 11.2 client to load million records into a 11.2 spatial table (points with longitude and latitude) and I got the following error:
SQL*Loader: Release 11.2.0.1.0 - Production on Fri Oct 12 10:17:57 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
ORA-39776: fatal Direct Path API error loading table CISDWSYS.VEHICLE_LOCATION_FACT
ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
ORA-22054: underflow error
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 720
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 225
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
Load completed - logical record count 45000.The table has a spatial index on VEHICLE_LOCATION column with MDSYS.SDO_GEOMETRY data type. Both table and spatial index are partitioned “monthly” by MESSAGE_DATETIME column. The database is 11.2 (11gR2), the client and SQL*Loader is version 11.2.
My control file is:
options (direct=yes, bindsize=20971520, readsize=20971520)
Load data
Append
into table VEHICLE_LOCATION_FACT
fields terminated by ","
(VEHICLE_LOCATION_MESSAGE_ID CONSTANT 222,
MESSAGE_DATETIME Date 'YYYY-MM-DD HH24:MI:SS',
ROUTE_NUMBER,RUN_NUMBER,VEHICLE_NUMBER,BADGE_NUMBER,
TRIP_DIRECTION,GPS_LONGITUDE_NUMBER,GPS_LATITUDE_NUMBER,DIVISION_NUMBER,
VEHICLE_LOCATION COLUMN OBJECT
SDO_GTYPE Integer EXTERNAL,
SDO_SRID CONSTANT 8265,
SDO_POINT COLUMN OBJECT
( X FLOAT EXTERNAL,
Y FLOAT EXTERNAL
)I noticed that number for "Load completed - logical record count" is not always same. For example, when data file size is around 300 MB the logical record count is 45000 and when the data file size is 500 MB then logical record count is 110000. The data in both files is of the same nature, just vehicles GPS locations (points).
The control.log file is
SQL*Loader: Release 11.2.0.1.0 - Production on Fri Oct 12 10:17:57 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Control File: Load_Vehicle_Locations_2.ctl
Data File: CIS_VehLoc_L05120603gps.txt
Bad File: CIS_VehLoc_L05120603gps.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
Table VEHICLE_LOCATION_FACT, loaded from every logical record.
Insert option in effect for this table: APPEND
Column Name Position Len Term Encl Datatype
VEHICLE_LOCATION_MESSAGE_ID CONSTANT
Value is '222'
MESSAGE_DATETIME FIRST * , DATE YYYY-MM-DD HH24:MI:SS
ROUTE_NUMBER NEXT * , CHARACTER
RUN_NUMBER NEXT * , CHARACTER
VEHICLE_NUMBER NEXT * , CHARACTER
BADGE_NUMBER NEXT * , CHARACTER
TRIP_DIRECTION NEXT * , CHARACTER
GPS_LONGITUDE_NUMBER NEXT * , CHARACTER
GPS_LATITUDE_NUMBER NEXT * , CHARACTER
DIVISION_NUMBER NEXT * , CHARACTER
VEHICLE_LOCATION DERIVED * COLUMN OBJECT
*** Fields in VEHICLE_LOCATION
SDO_GTYPE NEXT * , CHARACTER
SDO_SRID CONSTANT
Value is '8265'
SDO_POINT DERIVED * COLUMN OBJECT
*** Fields in VEHICLE_LOCATION.SDO_POINT
X NEXT * , CHARACTER
Y NEXT * , CHARACTER
*** End of fields in VEHICLE_LOCATION.SDO_POINT
*** End of fields in VEHICLE_LOCATION
ORA-39776: fatal Direct Path API error loading table CISDWSYS.VEHICLE_LOCATION_FACT
ORA-29875: failed in the execution of the ODCIINDEXINSERT routine
ORA-22054: underflow error
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 720
ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 225
SQL*Loader-2026: the load was aborted because SQL Loader cannot continue.
Table VEHICLE_LOCATION_FACT:
0 Rows successfully loaded.
0 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.
Date cache:
Max Size: 1000
Entries : 192
Hits : 44808
Misses : 0
Bind array size not used in direct path.
Column array rows : 5000
Stream buffer bytes: 256000
Read buffer bytes:20971520
Total logical records skipped: 0
Total logical records rejected: 0
Total logical records discarded: 0
Total stream buffers loaded by SQL*Loader main thread: 9
Total stream buffers loaded by SQL*Loader load thread: 9
Run began on Fri Oct 12 10:17:57 2012
Run ended on Fri Oct 12 10:18:34 2012
Elapsed time was: 00:00:37.16
CPU time was: 00:00:00.32I’m confused by this reported “underflow error” because all data in the data file are correct values. When I drop the spatial index and load the records by using the same control file, same data file and the same table, I don’t get any error and later I recreate the spatial index without errors. That should mean that the values in the data file are good, no “under” values.
Also, when I don't use "DIRECT=yes" loading in the control file, then SQL*Loader loads all records with no errors, but it takes hours which is too long.
I want to avoid to have to drop the spatial index every morning before the data loading process, because it is a very large table and it takes 45-60 minutes to recreate that index partition, and that much time delay is not good.
Can anyone please provide an advice or point to some link with examples of how to use “sqlldr” to load large number of records into a spatial table with spatial index?
Thank you,
MilanHi Milan,
take a look to "Oracle Database Data Cartridge Developer's Guide" [http://docs.oracle.com/cd/E11882_01/appdev.112/e10765/dom_idx.htm#autoId50] (here is the 11g rel2 version but is the same with 9i)
Domain Indexes and SQLLoader*
SQLLoader conventional path loads and direct path loads are supported for tables on which domain indexes are defined, with two limitations:
-The table must be heap-organized.
+-The domain index cannot be defined on a LOB column.+
To do a direct path load on a domain index defined on an IOT or on a LOB column, perform these tasks:
-Drop the domain index
-Do the direct path load in SQL*Loader.
-Re-create the domain indexes.
doesn't seem to be possible to use "direct path method" with spatial (domain) indexes
i hope for you that there is a workaround ...
good luck,
CarlT -
Error 0 update while loading master data
Hi,
Iam facing a problem while loading master data.Data has comes to PSA but it getting failed to load into infoobject it is showing the error " error in the 0 update".
Ihave tried for manual update, even though it is showing same problem .masterdata 0material is copy back from production to Quality.presently iam uploading data in quality.can anybody give your valuable suggestions.
Thanks & Regards,
Mahi.I've a compounding characteristic in this characteristic.
And the master data loading was fine yesterday but today it doesn't work.
When I check with rsrv this characteristic, a dump with message:
Error in ABAP application program.
The current ABAP program "SAPLRRSI" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
In program "GP47HH4A9VROVK98YR0TT9S7TQ5 ", the following syntax error occurred
in the Include "GP47HH4A9VROVK98YR0TT9S7TQ5 " in line 25:
"Field "/BIC/MZCATWRT" is unknown. It is neither in one of the specifie"
"d tables nor defined by a "DATA" statement. "DATA" statement."
So I think something is wrong in this Char.
But what can I do for that?
Thanks a lot for all idea.
Juan -
Sql loader performance problem with xml
Hi,
i have to load a 400 mb big xml file into mz local machine's free oracle db
i have tested a one record xml and was able to load succesfully, but 400 mb freeying for half an hour and does not even started?
it is normal? is there any chance i will be able to load it, just need to wait?
are there any faster solution?
i ahve created a table below
CREATE TABLE test_xml
COL_ID VARCHAR2(1000),
IN_FILE XMLTYPE
XMLTYPE IN_FILE STORE AS CLOB
and control file below
LOAD DATA
CHARACTERSET UTF8
INFILE 'test.xml'
APPEND
INTO TABLE product_xml
col_id filler CHAR (1000),
in_file LOBFILE(CONSTANT "test.xml") TERMINATED BY EOF
anything i am doing wrong? thanks for advicesSQL*Loader: Release 11.2.0.2.0 - Production on H. Febr. 11 18:57:09 2013
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Control File: prodxml.ctl
Character Set UTF8 specified for all input.
Data File: test.xml
Bad File: test.bad
Discard File: none specified
(Allow all discards)
Number to load: ALL
Number to skip: 0
Errors allowed: 5000
Bind array: 64 rows, maximum of 256000 bytes
Continuation: none specified
Path used: Conventional
Table PRODUCT_XML, loaded from every logical record.
Insert option in effect for this table: APPEND
Column Name Position Len Term Encl Datatype
COL_ID FIRST 1000 CHARACTER
(FILLER FIELD)
IN_FILE DERIVED * EOF CHARACTER
Static LOBFILE. Filename is bv_test.xml
Character Set UTF8 specified for all input.
SQL*Loader-605: Non-data dependent ORACLE error occurred -- load discontinued.
ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
Table PRODUCT_XML:
0 Rows successfully loaded.
0 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.
Space allocated for bind array: 256 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records rejected: 0
Total logical records discarded: 0
Run began on H. Febr. 11 18:57:09 2013
Run ended on H. Febr. 11 19:20:54 2013
Elapsed time was: 00:23:45.76
CPU time was: 00:05:05.50
this is the log
i have truncated everything i am not able to load 400 mega into 4 giga i cannot understand
windows is not licensed 32 bit -
Safari slower than Firefox - especially on 2 finger scrolls while loading..
When I surf the web on my air I notice that Safari loads a page and will not let me 2 finger scroll until it has loaded enough or has the flash or java app all the way in... while Firefox will load a page faster and allow me to 2 finger scroll while its loading.... I notice this on pages that have flash banners or stuff on them... at first I thought it was the air being to slow so I tried firefox on the same pages and they load quicker and always allow me to 2 finger scroll..... Anyone else notice this ? I prefer to use Safari but I cant stand the stalling it does while loading certain pages with banner ads or too much flash/java...
Basically until Safari's blue bar is gone you'll get 2 finger scroll stopage while Firefox will scroll... is firefox more optimized or something... ?Running OS 10.6.7 plus last Firefox before 4.0. Reluctant to move to 4.0 as it is still new.
This is a new problem, beginning in the last month or so for me, I think. While it seems much longer, I believe the delay is about 20 seconds, and it does happen every time Firefox launches.
Further, sometimes (do not yet see a pattern) well after launch, when attempting to navigate on a website...Firefox isn't paying attention. I think the interruption may be 20 seconds here, as well. Then all is well.
No magic living color pinwheel displayed by uncle Mac during either delay.
Did I mention table pounding frustration when on deadline? -
Integration Error in ODI while loading data to HFM application
Hello All,
I am performing a integration from source(Flat file) i.e example.csv to classic HFM application I have created an Integration and while loading the data with the all options provided, and if you see these Properties [CLEAR_ALL_METADATA_BEFORE_LOAD, REPLACE_MODE] are mandatory,which is getting as error as properties are not set
these properties are(as a options) is given in the IKM SQL to Hyperion Financial MetaData, but here I am using IKM SQL to Financial Management Data.
I get the following error:-
org.apache.bsf.BSFException: exception from Jython:
Traceback (most recent call last):
File "<string>", line 3, in <module>
at com.hyperion.odi.hfm.ODIHFMAppWriter.loadData(ODIHFMAppWriter.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.hyperion.odi.common.ODIHAppException: com.hyperion.odi.common.ODIHAppException: Properties [CLEAR_ALL_METADATA_BEFORE_LOAD, REPLACE_MODE] are mandatory.
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Caused by: Traceback (most recent call last):
File "<string>", line 3, in <module>
at com.hyperion.odi.hfm.ODIHFMAppWriter.loadData(ODIHFMAppWriter.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.hyperion.odi.common.ODIHAppException: com.hyperion.odi.common.ODIHAppException: Properties [CLEAR_ALL_METADATA_BEFORE_LOAD, REPLACE_MODE] are mandatory.
at org.python.core.PyException.fillInStackTrace(PyException.java:70)
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.Exception.<init>(Exception.java:29)
at java.lang.RuntimeException.<init>(RuntimeException.java:32)
at org.python.core.PyException.<init>(PyException.java:46)
at org.python.core.PyException.<init>(PyException.java:43)
at org.python.core.Py.JavaError(Py.java:455)
at org.python.core.Py.JavaError(Py.java:448)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:177)
at org.python.core.PyObject.__call__(PyObject.java:355)
at org.python.core.PyMethod.__call__(PyMethod.java:215)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:221)
at org.python.core.PyMethod.__call__(PyMethod.java:206)
at org.python.core.PyObject.__call__(PyObject.java:397)
at org.python.core.PyObject.__call__(PyObject.java:401)
at org.python.pycode._pyx15.f$0(<string>:6)
at org.python.pycode._pyx15.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1204)
at org.python.core.Py.exec(Py.java:1248)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
... 19 more
Caused by: com.hyperion.odi.common.ODIHAppException: Properties [CLEAR_ALL_METADATA_BEFORE_LOAD, REPLACE_MODE] are mandatory.
at com.hyperion.odi.hfm.ODIHFMAppWriter.loadData(ODIHFMAppWriter.java:240)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:175)
... 33 more
Caused by: com.hyperion.odi.common.ODIHAppException: Properties [CLEAR_ALL_METADATA_BEFORE_LOAD, REPLACE_MODE] are mandatory.
at com.hyperion.odi.hfm.ODIHFMUtil.validateRequiredProperties(ODIHFMUtil.java:87)
at com.hyperion.odi.hfm.ODIHFMMetadataLoader$OptionsMetadataLoad.validate(ODIHFMMetadataLoader.java:66)
at com.hyperion.odi.hfm.ODIHFMMetadataLoader.validateOptions(ODIHFMMetadataLoader.java:188)
at com.hyperion.odi.hfm.ODIHFMAppStatement.validateLoadOptions(ODIHFMAppStatement.java:168)
at com.hyperion.odi.hfm.ODIHFMAppWriter.loadData(ODIHFMAppWriter.java:195)
... 38 moreHi Ujjwal,
I remember Pratik had same issues and he resolved it.
Re: ODI Error while loading data to Classic HFM Application
Hope that fix your issue.
Bhabani -
Wait popup while loading its template
Hello people,
we are upgrading our SAP system and will use internal ITS from now on.
SAP Gui for HTML services run. But while loading, a popup with a SAP-Standard-picture appears until the service template is loaded. Does anybody know if it is possible to disable this popup?
Thanks in advance
NorbertHello Norbert,
Please see the following message:
Re: WEBGui-Transaction - how to disable Startup-Screen with branding
Thanks,
Edgar
Maybe you are looking for
-
what do i need to connect my mac book pro to the tv with the mac's thunderbolt port to hdmi? I have the newest macbook pro. I'm wanting to have the best picture I can get from my 1080p tv. thanks
-
Just some information on basis
hi experts, Iam rahul, and iwant to have some information on some screen of st02,st04, st06 and st03. actually what are we going to see in above tcode specified,please give me full information abot this tcodes hoping for the reply from the experts.
-
Although my phone appears in my computer it does not appear in itunes, why?
although my phone appears in my computer it does not appear in itunes, why?
-
i tested my application with some data and it worked. Now i have cleaned up all the data in the database. But my app still shows my previous data in the reports and stuff . How do i get html db to refresh
-
Duplicate SMS, failed SMS, etc.
Okay so now i'm having a whole new set of issues with my iphone 4. Ever since I updated to iOS 5, texts fail randomly and i have to resend them till they go through, or other people will randomly get old texts twice or three times, sometimes even mor