Oracle 11gr2 ODBC - error updating linked table (Ora 01722 and 01461)
Good day folks,
My shop has just moved to 11gR2 client and server. We were previously using 11gR1 with no issues (and before that, 10, 9, 8, etc). After moving from 11r1 to 11r2, we began getting errors from some of our MS Access ODBC applications with linked Oracle tables. The error would occur when executing an UPDATE statement that had a table join in it. Here is a simple example:
UPDATE TableX SET TableX.Fieldx = “valuex” WHERE TableX.Fieldx = TableZZZ.Fieldx AND TableZZZ.fieldzzz is not null
Currently, after moving to 11r2 client, an update query like the one above will error out in one of the following ways:
- odbc -- update on a linked table failed - Ora 01722 invalid number
- ORA-01461: can bind a LONG value only for insert into a LONG column
- Or it will say that the records were not updated because they are locked.
In some cases, I have noticed some records being updated that were not supposed to be updated.. records that the where clause was meant to exclude. That is very unsettling.
I understand that perhaps an update statement shouldn’t be joining table and perhaps it should be done over a couple calls, but the reality is – this code is out there in abundance and if there is a solution that doesn’t amount to my changing all this code or reverting to 11gR1, I would love to find it.
Since the query runs fine using SQL Plus and also runs fine if I run it against a local table in Access rather than a linked Oracle table – I figured the issue was possibly with the Oracle 11r2 ODBC driver. So, I switched the Oracle ODBC driver (sqora32.dll version 11.2.0.1 with version 11.1.0.7), and the problem went away.
I believe this verifies the issue resides with Oracle ODBC version 11.2.0.1. Can anyone help? I'm assuming it's not particularly wise to simply swap sqora32.dll files on all my clients machines, so I am searching for an actual solution here instead.
I also did performed ODBC tracing to see what Access is handing to the Oracle ODBC driver. I then used database or SQLNet tracing to see what the ODBC driver was handing off to SQLNet/database.
The results are in the following post:
Thanks guys!!
SQLNET TRACE
If you want an Admin level trace, I can have one right away.
(856) [13-JUN-2010 22:11:00:657] nsopen: opening transport...
(856) [13-JUN-2010 22:11:00:657] nttcni: Tcp conn timeout = 60000 (ms)
(856) [13-JUN-2010 22:11:00:657] nttcni: trying to connect to socket 1364.
(856) [13-JUN-2010 22:11:00:688] nttcni: connected on ipaddr 142.139.221.62
(856) [13-JUN-2010 22:11:00:688] nttcon: set TCP_NODELAY on 1364
(856) [13-JUN-2010 22:11:00:688] nsopen: transport is open
(856) [13-JUN-2010 22:11:00:688] nsnainit: inf->nsinfflg[0]: 0x61 inf->nsinfflg[1]: 0x61
(856) [13-JUN-2010 22:11:00:688] nsopen: global context check-in (to slot 0) complete
(856) [13-JUN-2010 22:11:00:688] nscon: doing connect handshake...
(856) [13-JUN-2010 22:11:00:688] nscon: sending NSPTCN packet
(856) [13-JUN-2010 22:11:00:688] nscon: sending 233 bytes connect data
(856) [13-JUN-2010 22:11:00:688] nsdo: 233 bytes to NS buffer
(856) [13-JUN-2010 22:11:00:719] nscon: got NSPTRS packet
(856) [13-JUN-2010 22:11:00:719] nscon: sending NSPTCN packet
(856) [13-JUN-2010 22:11:00:719] nscon: sending 233 bytes connect data
(856) [13-JUN-2010 22:11:00:719] nsdo: 233 bytes to NS buffer
(856) [13-JUN-2010 22:11:00:735] nscon: got NSPTAC packet
(856) [13-JUN-2010 22:11:00:735] nscon: connect handshake is complete
(856) [13-JUN-2010 22:11:00:735] nscon: nsctxinf[0]=0x61, [1]=0x21
(856) [13-JUN-2010 22:11:00:735] nsnainconn: inf->nsinfflg[0]: 0x61 inf->nsinfflg[1]: 0x21
(856) [13-JUN-2010 22:11:00:735] nsnasend: bytes to send: 158
(856) [13-JUN-2010 22:11:00:735] nsdo: 158 bytes to NS buffer
(856) [13-JUN-2010 22:11:00:735] nsnareceive: buffer address: 0x132c34 bytes wanted: 2048
(856) [13-JUN-2010 22:11:00:735] nsnareceive: calling NS to receive 2048 bytes into address 0x132c34
(856) [13-JUN-2010 22:11:00:766] nsdo: 153 bytes from NS buffer
(856) [13-JUN-2010 22:11:00:766] nsnareceive: received 153 bytes
(856) [13-JUN-2010 22:11:00:766] nsnareceive: no more data to receive - returning
(856) [13-JUN-2010 22:11:00:766] nsnareceive: total bytes received: 153
(856) [13-JUN-2010 22:11:01:063] nsnasend: bytes to send: 77
(856) [13-JUN-2010 22:11:01:063] nsdo: 77 bytes to NS buffer
(856) [13-JUN-2010 22:11:01:063] nsnareceive: buffer address: 0x132c34 bytes wanted: 2048
(856) [13-JUN-2010 22:11:01:063] nsnareceive: calling NS to receive 2048 bytes into address 0x132c34
(856) [13-JUN-2010 22:11:01:079] nsdo: 64 bytes from NS buffer
(856) [13-JUN-2010 22:11:01:079] nsnareceive: received 64 bytes
(856) [13-JUN-2010 22:11:01:079] nsnareceive: no more data to receive - returning
(856) [13-JUN-2010 22:11:01:079] nsnareceive: total bytes received: 64
(856) [13-JUN-2010 22:11:01:079] naun5authent: Authentication type is 0
(856) [13-JUN-2010 22:11:01:079] nsnasend: bytes to send: 1862
(856) [13-JUN-2010 22:11:01:079] nsdo: 1862 bytes to NS buffer
(856) [13-JUN-2010 22:11:01:079] nsnareceive: buffer address: 0x132c34 bytes wanted: 2048
(856) [13-JUN-2010 22:11:01:079] nsnareceive: calling NS to receive 2048 bytes into address 0x132c34
(856) [13-JUN-2010 22:11:01:141] nsdo: 165 bytes from NS buffer
(856) [13-JUN-2010 22:11:01:141] nsnareceive: received 165 bytes
(856) [13-JUN-2010 22:11:01:141] nsnareceive: no more data to receive - returning
(856) [13-JUN-2010 22:11:01:141] nsnareceive: total bytes received: 165
(856) [13-JUN-2010 22:11:01:141] nsnasend: bytes to send: 33
(856) [13-JUN-2010 22:11:01:141] nsdo: 33 bytes to NS buffer
These lines are present using both version of sqora32.dll
(856) [13-JUN-2010 22:11:01:141] nszgwop: SQLNET.WALLET_OVERRIDE not found, using default.
(856) [13-JUN-2010 22:11:01:157] nscontrol: Vect I/O support: 0(856) [13-JUN-2010 22:11:01:391] nioqrc: Recieve: returning error: 3111
(856) [13-JUN-2010 22:11:01:391] nsdo: sending NSPTMK packet
(856) [13-JUN-2010 22:11:01:391] nserror: nsres: id=0, op=77, ns=12630, ns2=0; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
These lines only happen when using the R2 version of sqora32.dll
(856) [13-JUN-2010 22:11:01:719] nioqrc: Recieve: returning error: 3111
(856) [13-JUN-2010 22:11:01:719] nsdo: sending NSPTMK packet
(856) [13-JUN-2010 22:11:01:860] nserror: nsres: id=0, op=0, ns=12630, ns2=0; nt[0]=0, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
(856) [13-JUN-2010 22:21:03:782] nstimarmed: no timer allocated
Similar Messages
-
Error updating the table condition table 372 in J1IIN
Hello all,
I am facing the problem in the transaction code J1IIN (In CIN).
I have maintained the condition type JEXP ( A/R BED %) as 16% with the Key combination Country/Plant/Control Code (Table 357). While iam saving the Excise invoice the system is throwing the error like Error updating the table condition table 372
I have gone through the post given by Ms. Jyoti few days back and tried to do some changes in the customisation.
I tried to maintain a different access sequence for the condition type JEXP i.e In the access sequence except condition table 372, I have maintained all other condition tables.
Still the error is persisiting. Can anyone put some light on the issue.
I have even traced the values being hit in the tables directly. There is no relation of table 372, then why is it being cause of the error.
Gurus plz give ur suggestions.
Thanks
SrinivasHello Srinivas/Sandeep
Please ensure that access sequence in the condition type JEXC has got the table 372. If it is not there please maintain it.
The standard access sequence used in all duty condition type
is JEXC which has got the table 372 this will get updated once
you save your excise invoice.
If the issue is resolved, kinldy close the message.
Regards
MBS -
Hi Gurus,
I maintained the JCEP ( A/R Cess %) as 3%. While iam saving the Excise invoice the system is throwing the error like error updating the table condition table 372
Gurus plz give u r suggestions.
regards,
jyothi.
Edited by: jyothi. on Feb 25, 2008 7:26 AMHi Murali!
Even I am facing the same problem while working in ECC 6.0 environment. I am continuing in the same post as I feel it is most relevant post to continue the issue instead of opening a new issue.
I tried to maintain a different access sequence for the condition type JEXP i.e a new Access sequence(ZJEX) and also a new condition tpe (ZJEP). We don't have other Excise condition type in our Pricing procedure.
In the access sequence except condition table 372, I have maintained all other condition tables.
We have maintained the values against table 357- Country/Plant/Control Code.
Still the error is persisiting. Can you put some light on the issue.
I have even traced the values being hit in the tables directly. There is no relation of table 372, then why is it being cause of the error.
Thanks in advance,
Regards,
Karthik. -
Can't Find ODBC drivers to link MS Access 2013 and MySQL
Can't Find ODBC drivers to link MS Access 2013 and MySQL.
Is one available?
Thanks,
LarryCould to associate the problem at Office 2013?
I just installed the ODBC Driver; The data source machine was available; When selected I had received the message. When it was selected I had received the message:
"ODBC -- falha na chamada.
[Microsoft][ODBC Driver Manager] O DSN especificado contém uma incompatibilidade de arquiteturas entre o Driver e o Aplicativo (#0)"
In english, could to say: "ODBC -- fail on call.
... The specified DSN contains a architectural incompatibility between Driver and App (#0)"
I don't know yet the reason for this. Anyone knows? -
Link Table between CRM and ERP
Hi Experts,
Does anyone knows the link table between CRM and ERP for Contact Person (Buss Part) CRM and Contact Person ERP.
In my customer system, contacts are automatically duplicated in CRM.
When you make a change in ERP, this change is automatically done in CRM.
So I suppose that there is a table between the both systems to find the corresponding number...
Thank you for your help and hope my English is good enough to understand :o)
Best regards,
Luis.Hi Micky,
Thanks for your answer.
Unfortunatelly, number are differents...
I move this question to CRM forum ;o)
Kr,
Luis.
This has been solved in this thread:
Link Table between CRM and ERP
Edited by: Luis Loredo Marino on Feb 24, 2010 1:24 PM -
ORA-12560: TNS: protocol adapter error while linking tables in Access
One of my app dev is encountering an interesting error message while linking Oracle tables from Access. I am not able to able to reproduce this in my desktop or anywhere else. Details enclosed. Can you guys point me to a solution? Thanks in advance!
ODBC: Oracle Client version 10.2.0.1
Desktop : Win XP ; Access 2003
=>Able to login to the Oracle database sucessfully using sqlplus.
=>Able to create an ODBC datasource to Oracle database.("Test Connection" works fine)
=>But encountering the TNS protocol adpater error while linking the table(Access->File->Get External Data-> Link tables).
=>Not able to link any table in any schema in any Oracle database. Hence this is not a data centric issue.
What did I do?
=> Uninstalled Oracle 8 client and installed Oracle 10 client. No luck. Encountering the same error.
=> Turned on the ODBC trace and reproduced the error. The log is enclosed:
MSACCESS 79c-ed4 ENTER SQLAllocEnv
HENV * 0013C620
MSACCESS 79c-ed4 EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS)
HENV * 0x0013C620 ( 0x09d31788)
MSACCESS 79c-ed4 ENTER SQLAllocConnect
HENV 09D31788
HDBC * 0013C730
MSACCESS 79c-ed4 EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC * 0x0013C730 ( 0x09d31830)
MSACCESS 79c-ed4 ENTER SQLSetConnectOption
HDBC 09D31830
SQLINTEGER 103 <SQL_LOGIN_TIMEOUT>
SQLPOINTER 0x00000014
MSACCESS 79c-ed4 EXIT SQLSetConnectOption with return code 0 (SQL_SUCCESS)
HDBC 09D31830
SQLINTEGER 103 <SQL_LOGIN_TIMEOUT>
SQLPOINTER 0x00000014 (BADMEM)
MSACCESS 79c-ed4 ENTER SQLSetConnectAttrW
SQLHDBC 09D31830
SQLINTEGER 30002 <unknown>
SQLPOINTER [Unknown attribute 30002]
SQLINTEGER -3
MSACCESS 79c-ed4 EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 09D31830
SQLINTEGER 30002 <unknown>
SQLPOINTER [Unknown attribute 30002]
SQLINTEGER -3
MSACCESS 79c-ed4 ENTER SQLDriverConnectW
HDBC 09D31830
HWND 001D04E4
WCHAR * 0x74329A38 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x74329A38
SWORD 2
SWORD * 0x00000000
UWORD 1 <SQL_DRIVER_COMPLETE>
MSACCESS 79c-ed4 EXIT SQLDriverConnectW with return code -1 (SQL_ERROR)
HDBC 09D31830
HWND 001D04E4
WCHAR * 0x74329A38 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x74329A38
SWORD 2
SWORD * 0x00000000
UWORD 1 <SQL_DRIVER_COMPLETE>
DIAG [S1000] [Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error (12560)
DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
DIAG [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed (0)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE8B8
SWORD 4095
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (12560)
WCHAR * 0x047EE8B8 [ 126] "[Oracle][ODBC][Ora]ORA-12560: TNS: protocol adapter error\ a\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0\ 0"
SWORD 4095
SWORD * 0x0013C624 (126)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE950
SWORD 4019
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (0)
WCHAR * 0x047EE950 [ 66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
SWORD 4019
SWORD * 0x0013C624 (66)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EE9E6
SWORD 3944
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 0 (SQL_SUCCESS)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638 (0)
WCHAR * 0x047EE9E6 [ 66] "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed"
SWORD 3944
SWORD * 0x0013C624 (66)
MSACCESS 79c-ed4 ENTER SQLErrorW
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EEA7C
SWORD 3869
SWORD * 0x0013C624
MSACCESS 79c-ed4 EXIT SQLErrorW with return code 100 (SQL_NO_DATA_FOUND)
HENV 09D31788
HDBC 09D31830
HSTMT 00000000
WCHAR * 0x0013C5EC (NYI)
SDWORD * 0x0013C638
WCHAR * 0x047EEA7C
SWORD 3869
SWORD * 0x0013C624
MSACCESS 79c-ed4 ENTER SQLFreeConnect
HDBC 09D31830
MSACCESS 79c-ed4 EXIT SQLFreeConnect with return code 0 (SQL_SUCCESS)
HDBC 09D31830
Edited by: user5598619 on Feb 10, 2009 5:37 PMThanks a lot for your quick reply.
I've read all the posts mentioned (quite a few more) but I couldn't find any suggested solution to the "non-oracle10g"-problem other than using the global db name instead of the sid - which didn't help in our case:
However, in a last desperate attempt to solve the problem on my own before launching another cry-for-help-post I did try running the configuration assistant using the correct password for the SYS user 8-} and - strange but true - it did work :-)
Needless to say: I used the global db name of course, so I can't say what would have happened without it, but I trust your hint was a legitimate one.
Anyway - I gues that error Message concerning a "non-oracle10g database" was slightly misleading in this case.... grrrr.
Andreas -
Update from table ORA-00933 error
I use Oracle 10g. The following throws an ORA-00933 SQL command not properly ended Error
update fb_mst_complaint
set sub_category = n.subcategory
from fb_mst_complaint s,
select a.docket_no, a.sub_category, c.subcategory
from fb_mst_complaint a,
+( select category, min(subcategory) subcategory+
from fb_subcategory
where activated > 0
group by category
+) c+
where a.category =
+( select distinct a.category from fb_subcategory b+
where b.category = a.category
and b.subcategory = c.subcategory
and b.activated > 0
+)+
and a.category = c.category
and a.sub_category <= 0
) n
where s.docket_no = n.docket_no
and s.sub_category = n.sub_category
and s.docket_no = 8573;
The error is shown in the FROM clause. However, The SELECT statement which makes up the alias name 'n' works accurately.
Please help. Thanks for the help in advance.
Edited by: user11195221 on May 24, 2009 6:35 AMuser11195221 wrote:
The issue is that the inner select returns multiple values and therefore cannot be set as mentioned.Well then you cannot do this in a single UPDATE statement (you could use the rownum = 1 construct but it would make no sense without knowing the business context). -
SQL*Loader- Records Rejected - Error on table ORA-01722: invalid number
Getting the following errors :
Please tell me where I am going wrong?
Attached is the log file and snippets of datafile along with the control file !!
Also please direct me how can i upload 4900 records at one go?
SQL*Loader: Release 11.1.0.7.0 - Production on Fri Oct 14 03:06:06 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Control File: sample.ctl
Data File: Cities.csv
Bad File: Cities.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 CITY, loaded from every logical record.
Insert option in effect for this table: INSERT
Column Name Position Len Term Encl Datatype
ID FIRST * , CHARACTER
NAME NEXT 35 , ' CHARACTER
COUNTRYCODE NEXT 3 , ' CHARACTER
POPULATION NEXT * WHT CHARACTER
Record 1: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 2: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 3: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 4: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 5: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 6: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 7: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 8: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 9: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 10: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 11: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 12: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 13: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 14: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 15: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 16: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 17: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 18: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 19: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 20: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 21: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 22: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 23: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 24: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 25: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 26: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 27: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 28: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 29: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 30: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 31: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 32: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 33: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 34: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 35: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 36: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 37: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 38: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 39: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 40: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 41: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 42: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 43: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 44: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 45: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 46: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 47: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 48: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 49: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 50: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
Record 51: Rejected - Error on table CITY, column POPULATION.
ORA-01722: invalid number
MAXIMUM ERROR COUNT EXCEEDED - Above statistics reflect partial run.
Table CITY:
0 Rows successfully loaded.
51 Rows not loaded due to data errors.
0 Rows not loaded because all WHEN clauses were failed.
0 Rows not loaded because all fields were null.
Space allocated for bind array: 35840 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 64
Total logical records rejected: 51
Total logical records discarded: 0
Run began on Fri Oct 14 03:06:06 2011
Run ended on Fri Oct 14 03:06:12 2011
Elapsed time was: 00:00:06.18
CPU time was: 00:00:00.03
my control file (sample.ctl):
load data infile 'Cities.csv'
into table city
fields terminated by ','
(id integer external,
name char(35) enclosed by "'",
countrycode char(3) enclosed by "'",
population integer external terminated by '\n'
my datafile (Cities.csv) (it contains 4900 records, but I am showing here just 4 records for ease)
3830,'Virginia Beach','USA',425257
3831,'Atlanta','USA',416474
3832,'Sacramento','USA',407018
3833,'Oakland','USA',399484
Thanks in advance!!Look that when I change a little bit your datafile as follows
1,'Kabul','AFG',1780000
2,'Qandahar','AFG','237500'
3,'Herat','AFG','186800' I got the same error (2 last rows rejected for the same error invalid number)
mhouri > select * from cities;
ID NAME COU POPULATION
1 Kabul AFG 1780000
SQL*Loader: Release 10.2.0.3.0 - Production on Fri Oct 14 10:38:06 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Control File: cities.ctl
Data File: cities.dat
Bad File: cities.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 CITIES, loaded from every logical record.
Insert option in effect for this table: INSERT
Column Name Position Len Term Encl Datatype
ID FIRST * , CHARACTER
NAME NEXT 35 , ' CHARACTER
COUNTRYCODE NEXT 3 , ' CHARACTER
POPULATION NEXT * WHT CHARACTER
Record 4: Rejected - Error on table CITIES, column ID.
Column not found before end of logical record (use TRAILING NULLCOLS)
Record 2: Rejected - Error on table CITIES, column POPULATION.
ORA-01722: invalid number
Record 3: Rejected - Error on table CITIES, column POPULATION.
ORA-01722: invalid number
Table CITIES:
1 Row successfully loaded.
3 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: 35840 bytes(64 rows)
Read buffer bytes: 1048576
Total logical records skipped: 0
Total logical records read: 4
Total logical records rejected: 3
Total logical records discarded: 0
Run began on Fri Oct 14 10:38:06 2011
Run ended on Fri Oct 14 10:38:06 2011
Elapsed time was: 00:00:00.23
CPU time was: 00:00:00.09Population value within the data file should be a number
Best regards
Mohamed Houri -
Oracle 11gR2 Installation Error "Invalid Entry Size"
Hi Gurus,
I am getting this error **"invalid entry size (expected 3486269263 but got 19496 bytes) "** during Oracle 11gR2 installation on Solaris 5.10.
Here is the config log
INFO: Extracting files to '/export/home/perfuser/app/perfuser/product/11.2.0/dbhome_1'.
INFO: Extracting files to '/export/home/perfuser/app/perfuser/product/11.2.0/dbhome_1'.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_exp_1.xml'.
INFO: Performing fastcopy operations based on the information in the file 'racfiles.jar'.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_dirs.lst'.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_filemap.jar'.
INFO: Performing fastcopy operations based on the information in the file 'oracle.server_EE_1.xml'.
INFO: Performing fastcopy operations based on the information in the file 'setperms1.sh'.
INFO: Number of threads for fast copy :1
INFO: invalid entry size (expected 3486269263 but got 19496 bytes)
SEVERE: oracle.sysman.oii.oiif.oiifb.OiifbEndIterateException: invalid entry size (expected 3486269263 but got 19496 bytes)
at oracle.sysman.oii.oiic.OiicInstallAPISession.doOperation(OiicInstallAPISession.java:453)
at oracle.sysman.oii.oiic.OiicAPIInstaller.doOperation(OiicAPIInstaller.java:973)
at oracle.sysman.oii.oiic.OiicAPIInstaller.doOperation(OiicAPIInstaller.java:936)
at oracle.install.driver.oui.OUISetupDriver.setup(OUISetupDriver.java:459)
at oracle.install.driver.oui.SetupJob.call(SetupJob.java:166)
at oracle.install.driver.oui.SetupJob.call(SetupJob.java:47)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
INFO: Update the state machine to STATE_READY
INFO: isSuccessfullInstallation: false
INFO: isSuccessfullRemoteInstallation: true
INFO: Adding ExitStatus FAILURE to the exit status set
INFO: Shutting down OUISetupDriver.JobExecutorThread
SEVERE: [FATAL] invalid entry size (expected 3486269263 but got 19496 bytes)
CAUSE: No additional information available.
ACTION: Refer to the logs or contact Oracle Support Services
SUMMARY:
- invalid entry size (expected 3486269263 but got 19496 bytes).
Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:5850
INFO: Advice is ABORT
SEVERE: Unconditional Exit
INFO: Adding ExitStatus FAILURE to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -1
INFO: Shutdown Oracle Database 11g Release 2 Installer
Please help me to solve this issueHi Hans,
Thanks for your reply, after downloading the new installer "invalid entry size" error is gone now.
but once the installer reaches to 68% then its giving the error " Error in invoking target 'mkldflags ntcontab.o' of makefile '/export/home/perfuser/app/perfuser/product/11.2.0/dbhome_1/network/lib/ins_net_client.mk'
Here is the log info:
INFO: (if [ "assemble" = "assemble" ] ; then \
/export/home/perfuser/app/perfuser/product/11.2.0/dbhome_1/bin/gennttab > ntcontab.s ;\
/usr/ccs/bin/as -P -m64 -o ntcontab.o ntcontab.s ;\
rm -f /export/home/perfuser/app/perfuser/product/11.2.0/dbhome_1/lib/ntcontab.o ;\
mv ntcontab.o /export/home/perfuser/app/perfuser/product/11.2.0/dbhome_1/lib/ ;\
/usr/ccs/bin/ar rv /export/home/perfuser/app/perfuser/product/11.2.0/dbhome_1/lib/libn11.a /export/home/perfuser/app/perfuser/product/11.2.0/dbhome_1
INFO: /lib/ntcontab.o ; fi)
INFO: /usr/ccs/bin/as: error: unknown option '6'
/usr/ccs/bin/as: error: unknown option '4'
usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-q] [-s]
[-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
[-P [[-Yc,path] [-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
[-m [-Ym,path]] [-n] [-ul] [-xF] [-xarch={v7,v8,v8a,v8plus,v8plusa,v8plusb,v9,v9a,v9b}] [-xcode={pic13,pic32}] file.s...
INFO: *** Error code 1
INFO: make: Fatal error: Command failed for target `ntcontab.o'
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'mkldflags ntcontab.o nnfgt.o' of makefile '/export/home/perfuser/app/perfuser/product/11.2.0/dbhome_1/network/lib/ins_net_client.mk'. See '/export/home/oemora/logs/installActions2010-03-08_08-42-39PM.log' for details.
Exception Severity: 1
INFO: Adding ExitStatus STOP_INSTALL to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -4
INFO: Shutdown Oracle Database 11g Release 2 Installer
INFO: Unloading Setup Driver
Thanks
Krishna -
Error in updating OBNK Table ( Bank Statements and Reconciliations,Manual)
PLease advise ,
Bank Statements and Reconciliations,Manual Reconciliation
Client is receiving the following message:
Error in updating OBNK Table
Edited by: Philip Eller on May 20, 2008 9:03 AMHi Darpal Thiarha,
Please kindly refer to note 1132591 and note 1128677 to see if these are relevant to this issue. Upgrading to 2007A PL15 or above may avoid such issues relevant with the error 'Error in updating OBNK Table'.
Regards,
Candice Ren
SAP Business One Forums Team -
Crystal report XI error while Linking tables
We have just purchased Crystal Report XI license copy but as we going to create new report there is problem in linking tables
i.e while pressing LINK tab after selecting ODBC databse name application going shut down.Please suggest.Thanks in advanceI would make verify the database within Crystal report and then re publish it again. It seems it doesn't get the connection to the db.
Have you refreshed the database within Crystal Reports?
As Graham said, does it open in Crystal Viewer?
another thing would be to add the DSN (System DSN) onto your client machine as well. Maybe it is not getting a right connection.
Try it and let us know.
Kind Regards
Jehanzeb -
Oracle 11gr2 installation error
dear all,
im trying to install oracle 11gr2 (11.2.0.2) on AIX 5.3. But im facing quiet problems over silent installation.
i could see some the dependecies where failed, i need help from you all.
SOME contents related to failed dependencies on from Oracle installatiog log.
INFO: *********************************************
INFO: Users With Same UID: This test checks that multiple users do not exist with user id as "0".
INFO: Severity:CRITICAL
INFO: OverallStatus:VERIFICATION_FAILED
INFO: -----------------------------------------------
INFO: Verification Result for Node:ukavddrgw01a
WARNING: Result values are not available for this verification task
INFO: Error Message:<CV_VAL>root,|myue,|rchinta1,|ddivaka,|rpandey1,|kmurali,|hkumar,|smuthu,|jbarnet,|spowell,|hkeong,|jwhite,|</CV_VAL><CV_ERES>0</CV_ERES>
INFO: Cause:Cause Of Problem Not Available
INFO: Action:User Action Not Available
INFO: *********************************************
INFO: OS Kernel Parameter: udp_ephemeral_high: This is a prerequisite condition to test whether the OS kernel parameter "udp_ephemeral_high" is properly set.
INFO: Severity:IGNORABLE
INFO: OverallStatus:VERIFICATION_FAILED
INFO: -----------------------------------------------
INFO: Verification Result for Node:ukavddrgw01a
INFO: Expected Value:65500
INFO: Actual Value:65535
INFO: Error Message:PRVF-7543 : OS Kernel parameter "udp_ephemeral_high" does not have proper value on node "ukavddrgw01a" [Expected = "65500" ; Found = "6553
5"].
INFO: Cause: Kernel parameter value does not meet the requirement.
INFO: Action: Modify the kernel parameter value to meet the requirement.
INFO: OS Kernel Parameter: tcp_ephemeral_high: This is a prerequisite condition to test whether the OS kernel parameter "tcp_ephemeral_high" is properly set.
INFO: Severity:IGNORABLE
INFO: OverallStatus:VERIFICATION_FAILED
INFO: -----------------------------------------------
INFO: Verification Result for Node:ukavddrgw01a
INFO: Expected Value:65500
INFO: Actual Value:65535
INFO: Error Message:PRVF-7543 : OS Kernel parameter "tcp_ephemeral_high" does not have proper value on node "ukavddrgw01a" [Expected = "65500" ; Found = "6553
5"].
INFO: Cause: Kernel parameter value does not meet the requirement.
INFO: Action: Modify the kernel parameter value to meet the requirement.
INFO: -----------------------------------------------
INFO: *********************************************
INFO: OS Kernel Parameter: udp_ephemeral_low: This is a prerequisite condition to test whether the OS kernel parameter "udp_ephemeral_low" is properly set.
INFO: Severity:IGNORABLE
INFO: OverallStatus:VERIFICATION_FAILED
INFO: -----------------------------------------------
INFO: Verification Result for Node:ukavddrgw01a
INFO: Expected Value:9000
INFO: Actual Value:32768
INFO: Error Message:PRVF-7543 : OS Kernel parameter "udp_ephemeral_low" does not have proper value on node "ukavddrgw01a" [Expected = "9000" ; Found = "32768"
INFO: OS Kernel Parameter: ncargs: This is a prerequisite condition to test whether the OS kernel parameter "ncargs" is properly set.
INFO: Severity:IGNORABLE
INFO: OverallStatus:VERIFICATION_FAILED
INFO: -----------------------------------------------
INFO: Verification Result for Node:ukavddrgw01a
INFO: Expected Value:128
INFO: Actual Value:6
INFO: Error Message:PRVF-7543 : OS Kernel parameter "ncargs" does not have proper value on node "ukavddrgw01a" [Expected = "128" ; Found = "6"].
INFO: Cause: Kernel parameter value does not meet the requirement.
INFO: Action: Modify the kernel parameter value to meet the requirement.
INFO: -----------------------------------------------
above are contents from OUI logs. can somebody let me how to by pass the CRITICAL dependency issue , related to UID.Hi;
Please check below notes and be sure your server has all related package,kernel settings etc
Minimum Software Versions and Patches Required to Support Oracle Products on IBM Power Systems [ID 282036.1]
Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
Regard
Helios -
OpenSolaris - oracle 11gR2 - MakefileException - Error in invoking target
Hi,
Thanks for reading this thread - When I tried to install oracle 11gR2 on openSolaris (64 bit), I run into the following error :
INFO: ort/home/oracle/u01/app/oracle/product/11.2.0/dbhome_1/lib/sysliblist` -R /opt/SUNWcluster/lib:/export/home/oracle/u01/app/oracle/product/11.2.0/dbhome_1/lib:/opt/ORCLcluster/lib/ -Y P,:/opt/SUNWcluster/lib:/opt/ORCLcluster/lib/:/usr/ccs/lib/amd64:/usr/lib/amd64 -Qy -lc -lrt -laio -lposix4 -lkstat -lm /export/home/oracle/u01/app/oracle/product/11.2.0/dbhome_1/lib/prod/lib/amd64/crtn.o -lpthread
INFO: *** Error code 1
INFO: ld: fatal: mmap anon failed: Resource temporarily unavailable
INFO: make: Fatal error: Command failed for target `/export/home/oracle/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/oracle'
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'irman ioracle' of makefile '/export/home/oracle/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/lib/ins_rdbms.mk'. See '/export/home/oracle/u01/app/oraInventory/logs/installActions2009-12-30_02-45-51AM.log' for details.
Exception Severity: 1
Thanks for your help.Werner Gross wrote:
Dear Mister Forbrich,
Thanks for your help.
What do you mean by "But you may have a resolution"?It has been suggested that getting Solaris instead of OpenSolaris will solve your problem.
Have you verified that? If 'yes', you have a solution. If 'no', then you may have a solution.
>
Of course I intend to be 'polite' and as respectfull to you as you deserve it. I also want to be respectfull to the rules as they are defined in these forums which, it's true, are new to me.That 'polite' comment was directed at the community, not specifically at you. There are no rules about closing threads, so people who want to be nice to the community will use the tactic I suggested. However, there are many instances of problems being resolved and neither being marked as solved nor having a summary.
Following my understanding, these rules state that the "correct" button should be used if the original question is answered, otherwise "helpfull" should be used. Is there any misunderstanding on that?The marking of responses as 'correct' or 'helpful' is a strong suggestion. It is not an un-alterable rule. The suggestion is that you reward those who helped you resolve your problem or answer your question. How you reward them is up to you.
Note, however, that not rewarding correct or helpful responses may result in not getting many responses in the future. Some of us only respond to get rewards. For others of us (including myself) the challenge of understanding the question and learning more during the resolution is reward in itself.
Sadly, you can not revoke your reward if the answer is later found to be incorrect, so use the rewards wisely.
Issuing rewards is independent of marking the question as answered.
>
Of course, I am going to follow your advise and post a final summary concerning the "resolution" as my last entry on the thread.That would be nice. It is not mandatory, and few people do it. If everyone provided that summary of correct answers to the questions or problems, these forums would be 100x as useful.
Edited by: Hans Forbrich on Jan 1, 2010 2:27 PM
Just wanted to thank you for the excellent summary. And do it in a way that leaves your summary as the last post. -
Linked tables, stored procedures, and locking
I'm working on an interface between two Oracle systems. I don't know if they're on the same server or not, but they are definitely two different database instances. The plan for this interface is that when a record is created on one of the systems, it will call a stored procedure on the other system to create the record there as well. I believe the relevant information will be passed via parameters to the stored procedure (not by querying the data in the first system). The ID number created on the second system gets passed back to the first system via an output parameter.
A concern was raised about whether something like this might cause "rev-locking". Similar issues were raised on a different interface, but that interface used a linked table between the two systems. The original design for that interface had a stored procedure initiated from the second system, and it was to update data via the linked table in the first system. But this caused some locking issues. So a different interface was written, that only used the linked table as read-only.
So the question is, do stored procedure calls between linked databases have the same issues as updates directly to linked tables? And a better question is, is there a document or white paper out there somewhere that describes the locking issues between linked databases, and presenting the "best practices" for this type of coding?
Any help is appreciated!
Christine Wolak
[email protected]So the question is, do stored procedure calls between linked databases have the same issues as updates directly to linked tables? I'm not aware of any issues with updates across databases. can you post a more detail version of what exact issues did you encounter when updating tables across database using database links?
when you update a row in a table, from the same database or another one, a lock on that row will be placed for the duration of the transaction. Others will be able to read that row but not update it till the end of the local (or the remote) transaction.
What issue(s) did you encounter? -
Plz help ...Error on data insert ORA-01722 :invalid number
Hi everybody
I have the strange situation
I tested my code on test database It works well
but when another user want insert new data on the same table on the working database Oracle give message ORA-01722 :invalid number
and then I look to table's structure
On the table my data type that i want insert and table type is same
Plz help ...sriram wrote:
Based on your Input I can give you
ORA-01722: invalid number
Cause: The attempted conversion of a character string to a number failed because the character string was not a valid numeric literal. Only numeric fields or character fields containing numeric data may be used in arithmetic functions or expressions. Only numeric fields may be added to or subtracted from dates.
Action: Check the character strings in the function or expression. Check that they contain only numbers, a sign, a decimal point, and the character "E" or "e" and retry the operationI checked input value and table column type are same Because of i can't understand this error message
Maybe you are looking for
-
after connecting my hard disk to a windows laptop all my files have somehow converted to .ink files and are not accessible.....what do i do?
-
MARS 4.3.4 UPGRADE TO 6.0.3
I'm a new employee at this company and my first task is to get a Mars 20r working. The version that's installed is 4.3.4. The box contains only configuration information to get it on the network that's all. Basically it's been sitting around for a wh
-
How do I access the storage attached to my WRT160NL router?
Here's my problem - I have set up the router, configured the wireless, attached the external storage unit which is being seen and recognized by the router. Windows sees it on the network but won't allow me to acces it. I have tried everything from go
-
Below query record are reparting as in one union i have to use ra_customer table and in another i have to not use ra_customer table, second condition is that i have to use ard.source_type='CASH', Please advice select jc.je_category_name
-
Hello,Can I show the result of a SELECT .. FROM.. WHERE.. into a procedure? For example: CREATE OR REPLACE PROCEDURE nuova_ricerca (p_Stringa VARCHAR2) AS BEGIN SELECT * FROM ArchivioSoluzioni WHERE Problema LIKE ConvertiPerLike(p_Stringa); END; why