ORA-14400: inserted partition key does not map
We are doing Unicode conversion of SCM 7.0 Sr1 with LC. We have
followed the approach of Combined upgrade and unicode conversion.
We have completed the upgrade and now proceeeding with unicode
conversion. We are done with the export and now we are import the data
into target system. During the import many of our packages are getting
into some ora errors.
DbSl Trace: ORA-904 occurred when executing SQL stmt (parse error offset=140)
(IMP) ERROR: DbSlExeModify/DbSlLobPutPiece failed
rc = 99, table "/BIC/B0000141000"
(SQL error 904)
error message returned by DbSl:
ORA-00904: "RECORDMODE": invalid identifier
(DB) INFO: /BIC/B0000142000 deleted/truncated #20091114154819
DbSl Trace: Error 904 in stmt_execute() from oci_execute_stmt(), orpc=0
DbSl Trace: ORA-904 occurred when executing SQL stmt (parse error offset=140)
(IMP) ERROR: DbSlExeModify/DbSlLobPutPiece failed
rc = 99, table "/BIC/B0000142000"
(SQL error 904)
error message returned by DbSl:
ORA-00904: "RECORDMODE": invalid identifier
(DB) INFO: /BIC/B0000149000 deleted/truncated #20091114154819
DbSl Trace: Error 904 in stmt_execute() from oci_execute_stmt(), orpc=0
Please Help.
Hi,
Now I am no expert on the combined upgrade/unicode conversion always done them separate.
But, the
ORA-00904: "RECORDMODE": invalid identifier
I think means it is trying to insert data into column RECORDMODE where the data is not alphanumeric.....Fror example a date.....
It defo looks like a BI table so it could be possibe...
Regards
Mark
Similar Messages
-
Imp error - ORA-14400: inserted partition key does not map to any partition
Hi,
We have a table (table t) with partitions (p1, p2, ... p12) and two of the partitions (p11 and p12) need to be imported into
another database with different schema. Both the partitions to be imported are in two different export dumps. So, I started
by dropping the table t and then import with the first export dump (p12). The first import went fine, but the second import
failed with error:
IMP-00058: ORACLE error 14400 encountered
ORA-14400: inserted partition key does not map to any partition
IMP-00057: Warning: Dump file may not contain data of all partitions of this table
About to enable constraints...
Import terminated successfully with warnings.
The imp command used is:
imp user/pwd tables=t log=imp.log file=exp.dmp fromuser=db1user touser=db2user ignore=Y grants=n indexes=n constraints=n
statistics=none
Please let me know where is the problem and what is the solution? I need to import the second partition (p11) also
successfully.
Thanks.
BNetraCreated a new partition REST_VALUES with higher range value and all my imports worked fine. But now I have two related issues:
1) All the data got imported into the new partition instead of correct partitions.
2) I observed that the column on which the table is partitioned CREATE_DATE values have been changed to today's (import) date for all rows imported into the new partition.
How do I import properly into respective partitions and not into temporary new partition?
Why did the CREATE_DATE value got changed automatically during import?
Thanks. -
|Error SQL: ORA-14400: inserted partition key does not map to any partition
I have an installation of ECC6 with BI7 in which consolidated through SEM-BCS OBCS_C10 with the cube, which I have version 100 for fiscal data, 101 data for IFRS and IFRS Copying a 301 version.
The client will ask me the empty version of the 301 in the cube OBCS_C10.
Before switching to empty the cube "Target Real-Time Data Can Be Loaded With Data; Planning Not Allowed."
To empty the cube using transaction RSA1 / manage / contents / Delete Selection.
However, the data is not erased and revise the job gives me the error:
Resumen log job para job BI_INDXD51A1NTCIYWU06OKZZESN1R94 / 07520600
Log job
Hora
Txt.mje.no codificado
04.02.2009
07:52:06
El job ha sido lanzado.
04.02.2009
07:52:06
Paso 001 iniciado (programa RSINDEX1, variante &0000000000108, usuario ACHUY)
04.02.2009
07:52:10
SQL: 04.02.2009 07:52:10 ACHUY
04.02.2009
07:52:10
DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
04.02.2009
07:52:10
AND INDEXNAME = ' ' AND TABNAME =
04.02.2009
07:52:10
'/BI0/D0BCS_C101
04.02.2009
07:52:10
SQL-END: 04.02.2009 07:52:10 00:00:00
04.02.2009
07:52:10
SQL: 04.02.2009 07:52:10 ACHUY
04.02.2009
07:52:10
DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
04.02.2009
07:52:10
AND INDEXNAME = ' ' AND TABNAME =
04.02.2009
07:52:10
'/BI0/D0BCS_C101
04.02.2009
07:52:10
SQL-END: 04.02.2009 07:52:10 00:00:00
04.02.2009
07:52:10
SQL: 04.02.2009 07:52:10 ACHUY
04.02.2009
07:52:10
CREATE TABLE "/BI0/0100000076" PCTFREE 00
04.02.2009
07:52:10
PCTUSED 00 INITRANS 001 TABLESPACE PSAPSR3
04.02.2009
07:52:10
STORAGE (INITIAL 0000000016 K NEXT
04.02.2009
07:52:10
0000000016 K MINEXTENTS 0000000001 MAXEXTENTS
04.02.2009
07:52:10
UNLIMITED PCTINCREASE 0000 FREELISTS 001
04.02.2009
07:52:10
FREELIST GROUPS 01) AS SELECT DISTINCT DIMID FROM
04.02.2009
07:52:10
"/BI0/D0BCS_C101" "DIM" , "/BI0/SCS_VERSION"
04.02.2009
07:52:10
"MD1" WHERE "DIM"."SID_0CS_VERSION" = "MD1"."SID"
04.02.2009
07:52:10
AND ( "MD1"."CS_VERSION" BETWEEN '301' AND '301'
04.02.2009
07:52:10
SQL-END: 04.02.2009 07:52:10 00:00:00
04.02.2009
07:52:25
SQL: 04.02.2009 07:52:25 ACHUY
04.02.2009
07:52:25
DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
04.02.2009
07:52:25
AND INDEXNAME = ' ' AND TABNAME = '/BI0/F0BCS_C10
04.02.2009
07:52:25
SQL-END: 04.02.2009 07:52:25 00:00:00
04.02.2009
07:52:25
SQL: 04.02.2009 07:52:25 ACHUY
04.02.2009
07:52:25
DELETE FROM DDSTORAGE WHERE DBSYSABBR = 'ORA'
04.02.2009
07:52:25
AND INDEXNAME = ' ' AND TABNAME = '/BI0/F0BCS_C10
04.02.2009
07:52:25
SQL-END: 04.02.2009 07:52:25 00:00:00
04.02.2009
07:52:25
SQL: 04.02.2009 07:52:25 ACHUY
04.02.2009
07:52:25
CREATE TABLE "/BI0/0100000030" PCTFREE 10
04.02.2009
07:52:25
PCTUSED 00 INITRANS 001 TABLESPACE PSAPSR3
04.02.2009
07:52:25
STORAGE (INITIAL 0000000016 K NEXT
04.02.2009
07:52:25
0000000000 K MINEXTENTS 0000000001 MAXEXTENTS
04.02.2009
07:52:25
2147483645 PCTINCREASE 0000 FREELISTS 001
04.02.2009
07:52:25
FREELIST GROUPS 01) PARTITION BY RANGE
04.02.2009
07:52:25
("KEY_0BCS_C10P") ( PARTITION "/BI0/F0BCS_C100"
04.02.2009
07:52:25
VALUES LESS THAN (0) TABLESPACE "PSAPSR3",
04.02.2009
07:52:25
PARTITION "/BI0/F0BCS_C100000000019" VALUES LESS
04.02.2009
07:52:25
THAN (0000000019) TABLESPACE "PSAPSR3", PARTITION
|
04.02.2009
07:52:25
"/BI0/F0BCS_C100000000276" VALUES LESS THAN
04.02.2009
07:52:25
(0000000276) TABLESPACE "PSAPSR3", PARTITION
04.02.2009
07:52:25
"/BI0/F0BCS_C100000000277" VALUES LESS THAN
04.02.2009
07:52:25
(0000000277) TABLESPACE "PSAPSR3") AS SELECT *
04.02.2009
07:52:25
FROM "/BI0/F0BCS_C10" WHERE "KEY_0BCS_C101" NOT
04.02.2009
07:52:25
IN ( SELECT "DIMID" FROM "/BI0/0100000076"
04.02.2009
07:52:29
SQL-END: 04.02.2009 07:52:29 00:00:04
04.02.2009
07:52:29
Error SQL: ORA-14400: inserted partition key does not map to any partition
04.02.2009
07:52:29
Error de sistema: CREATE_TABLE_AS_SELECT/RSDU_EXEC_SQL /BI0/0100000030 14400
04.02.2009
07:52:29
El job ha sido cancelado tras excepción de sistema ERROR_MESSAGE.
Someone has an idea how to fix this?This is the SQL of the insert
The partition condition of the table is the column ("KEY_0BCS_C10P")
SELECT * FROM "/BI0/F0BCS_C10" WHERE "KEY_0BCS_C101" NOT IN ( SELECT "DIMID" FROM "/BI0/0100000076" )
This is the info of the /BIO/0100000076 TABLE
SQL> SELECT "DIMID" FROM sapsr3."/BI0/0100000076";
DIMID
6
SQL>
And this are the rows that I think are not included in the partitions of the table
1 SELECT DISTINCT KEY_0BCS_C10P, KEY_0BCS_C101 FROM SAPSR3."/BI0/F0BCS_C10"
2 WHERE KEY_0BCS_C10P > 277
3* AND "KEY_0BCS_C101" NOT IN ( SELECT "DIMID" FROM SAPSR3."/BI0/0100000076" )
SQL> /
KEY_0BCS_C10P KEY_0BCS_C101
284 4
285 4
293 3
292 4
293 4
293 5
285 3
290 4
292 5
283 4
285 5
KEY_0BCS_C10P KEY_0BCS_C101
291 5
292 3
291 4
14 rows selected.
SQL> -
"ORA-14400: inserted partition key does not map to any partition"
Hi Experts,
While loading from DSO to Infocube, we are facing the below issue.,
Database error text........: "ORA-14400: inserted partition key does no
any partition"
Internal call code.........: "[RSQL/INSR//BIC/FZORIMB08C ]"
Please check the entries in the system log (Transaction SM21).
"DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB"
"GP4JNZKXF93GTRTVQO7A5J3Z2VD" or "GP4JNZKXF93GTRTVQO7A5J3Z2VD"
"WRITE_ICFACT"
Information on where terminated:
Termination occurred in the ABAP program "GP4JNZKXF93GTRTVQO7A5J3Z2VD" - in
"WRITE_ICFACT".
The main program was "RSBATCH_EXECUTE_PROZESS ".
In the source code you have the termination point in line 5185
of the (Include) program "GP4JNZKXF93GTRTVQO7A5J3Z2VD".
The program "GP4JNZKXF93GTRTVQO7A5J3Z2VD" was started as a background job.
Job Name....... "BIDTPR_1999057_1"
Job Initiator.. "ALE_POS"
Job Number..... 09074400
The termination is caused because exception "CX_SY_OPEN_SQL_DB" occurred in
procedure "WRITE_ICFACT" "(FORM)", but it was neither handled locally nor
declared
in the RAISING clause of its signature.
The procedure is in program "GP4JNZKXF93GTRTVQO7A5J3Z2VD "; its source code
begins in line
5147 of the (Include program "GP4JNZKXF93GTRTVQO7A5J3Z2VD ".
Can anyone help me.
Regards,
AaryanHi Aaryan,
From an Oracle point of view the error ORA-14400 is due to the partition range where an insert rows with a value out-of-bound of partition range
The system displays the error message if you want to load data into a partitioned table where the partitions have not been defined correctly.
Please run the RSRV test "Entries Not Used in the Dimension of an InfoCube " for the relevant Infocube and afterwards repair any errors with "Correct error" button.
Please have a look at the following notes:
#509660 - ORACLE ERROR 14400 during update to the InfoCube
#590370 - too many uncompressed request (f table partitions)
Finally please do not leave the infocube uncompressed.
Rgds,
Colum -
RA-14400: inserted partition key does not map to any partition
Our repository tablespace filledup alll 40GB allocated and over the weekend we stopped OMS agenets and ran the package for partition maintenance.
exec emd_maint_util.partition_maintenance;
Now after starting OMS, all xml files are gettting moved errors directory and following error is getting reported in the emoms.trc file. Any idea how to add these partitions. Not much help in metalink. One of the note says try running "exec emd_loader.rollup(); ". THis is for 10GR1 grid conrol. I am running 10gR2 and reopositiry database 10.1.0.5
==========>
at oracle.sysman.emdrep.dbjava.loader.XMLLoader.run(XMLLoader.java:1304)
at java.lang.Thread.run(Thread.java:534)
2007-05-04 15:35:35,312 [XMLLoader0 90000003561.xml] WARN eml.XMLLoader LoadFiles.672 - Marking the file for retry : 90000003561.xml after receiving exceptionjava.sql.SQLException: ORA-14400: inserted partition key does not map to any partition
<========I think emd_loader.rollup is part of the
emd_maintenance.analyze_emd_schema('SYSMAN') package. Let me try this. -
Inserted partition key does not map to any partition
getting error while importing data from non-partition table to partition table
structure of non-partition table
CREATE TABLE APP_HOLD
RCN_ID VARCHAR2(18 BYTE),
CRD_NUM VARCHAR2(23 BYTE),
TRN_TYP VARCHAR2(30 BYTE),
TRN_DTE DATE,
REF_NUM VARCHAR2(23 BYTE),
TRN_CRR VARCHAR2(3 BYTE),
TRN_AMT NUMBER(24,2),
BLL_CRR VARCHAR2(3 BYTE),
BLL_AMT NUMBER(16,2),
BSN_DTE DATE,
BRN_S VARCHAR2(10 BYTE),
ACC_NUM_S VARCHAR2(24 BYTE),
BRN_D VARCHAR2(10 BYTE),
ACC_NUM_D VARCHAR2(24 BYTE),
SRL_NUM VARCHAR2(23 BYTE),
DVI_TYP VARCHAR2(8 BYTE),
ORG_MSG_TYP VARCHAR2(6 BYTE),
ACQ_CDE VARCHAR2(15 BYTE),
ACQ_BIN VARCHAR2(11 BYTE),
REV VARCHAR2(1 BYTE),
DBCR_FLG VARCHAR2(1 BYTE),
ATM_FEE NUMBER(16,2),
ATM_ID VARCHAR2(16 BYTE),
INT_FEE NUMBER(16,2),
TRM_ID VARCHAR2(10 BYTE),
MCN_CDE VARCHAR2(15 BYTE),
MCN_INF VARCHAR2(40 BYTE),
PNT_RCN_ID NUMBER(12),
FGN_KEY VARCHAR2(18 BYTE),
ERR_CDE VARCHAR2(200 BYTE),
JNK VARCHAR2(50 BYTE),
CRD_USED VARCHAR2(10 BYTE),
RES_CDE VARCHAR2(3 BYTE),
REA_CDE VARCHAR2(4 BYTE),
PRC_CDE VARCHAR2(10 BYTE),
MCC VARCHAR2(4 BYTE),
APP_CDE VARCHAR2(8 BYTE),
ISS_INS_ID VARCHAR2(11 BYTE),
ACQ_INS_ID VARCHAR2(11 BYTE),
ACQ_NET_CDE VARCHAR2(20 BYTE),
ISS_NET_CDE VARCHAR2(20 BYTE),
INST_ID VARCHAR2(60 BYTE),
FIID1 VARCHAR2(20 BYTE),
FIID2 VARCHAR2(20 BYTE),
SWT_FLE VARCHAR2(50 BYTE),
VIS_FLE VARCHAR2(50 BYTE),
VIS_FLE_MCHDTE DATE,
VIS_FLE_EODDTE DATE,
VIS_FLE_RCNTYP NUMBER(2),
VIS_FLE_ACNTID VARCHAR2(35 BYTE),
MAS_FLE VARCHAR2(50 BYTE),
MAS_FLE_MCHDTE DATE,
MAS_FLE_EODDTE DATE,
MAS_FLE_RCNTYP NUMBER(2),
MAS_FLE_ACNTID VARCHAR2(35 BYTE),
TIE1_FLE VARCHAR2(50 BYTE),
TIE1_FLE_SRC VARCHAR2(50 BYTE),
TIE1_FLE_MCHDTE DATE,
TIE1_FLE_EODDTE DATE,
TIE1_FLE_RCNTYP NUMBER(2),
TIE1_FLE_ACNTID VARCHAR2(35 BYTE),
TIE2_FLE VARCHAR2(50 BYTE),
TIE2_FLE_SRC VARCHAR2(50 BYTE),
TIE2_FLE_MCHDTE DATE,
TIE2_FLE_EODDTE DATE,
TIE2_FLE_RCNTYP NUMBER(2),
TIE2_FLE_ACNTID VARCHAR2(35 BYTE),
TIE3_FLE VARCHAR2(50 BYTE),
TIE3_FLE_SRC VARCHAR2(50 BYTE),
TIE3_FLE_MCHDTE DATE,
TIE3_FLE_EODDTE DATE,
TIE3_FLE_RCNTYP NUMBER(2),
TIE3_FLE_ACNTID VARCHAR2(35 BYTE),
TIE4_FLE VARCHAR2(50 BYTE),
TIE4_FLE_SRC VARCHAR2(50 BYTE),
TIE4_FLE_MCHDTE DATE,
TIE4_FLE_EODDTE DATE,
TIE4_FLE_RCNTYP NUMBER(2),
TIE4_FLE_ACNTID VARCHAR2(35 BYTE),
TIE5_FLE VARCHAR2(50 BYTE),
TIE5_FLE_SRC VARCHAR2(50 BYTE),
TIE5_FLE_MCHDTE DATE,
TIE5_FLE_EODDTE DATE,
TIE5_FLE_RCNTYP NUMBER(2),
TIE5_FLE_ACNTID VARCHAR2(35 BYTE),
TIE6_FLE VARCHAR2(50 BYTE),
TIE6_FLE_SRC VARCHAR2(50 BYTE),
TIE6_FLE_MCHDTE DATE,
TIE6_FLE_EODDTE DATE,
TIE6_FLE_RCNTYP NUMBER(2),
TIE6_FLE_ACNTID VARCHAR2(35 BYTE),
EJ_FLE VARCHAR2(50 BYTE),
EJ_FLE_MCHDTE DATE,
EJ_FLE_EODDTE DATE,
EJ_FLE_RCNTYP NUMBER(2),
EJ_FLE_ACNTID VARCHAR2(35 BYTE),
BTH_FLE VARCHAR2(50 BYTE),
BTH_FLE_MCHDTE DATE,
BTH_FLE_EODDTE DATE,
BTH_FLE_RCNTYP NUMBER(2),
BTH_FLE_ACNTID VARCHAR2(35 BYTE),
BRN_ISS_FLE VARCHAR2(50 BYTE),
BRN_ISS_FLE_MCHDTE DATE,
BRN_ISS_FLE_EODDTE DATE,
BRN_ISS_FLE_RCNTYP NUMBER(2),
BRN_ISS_FLE_ACNTID VARCHAR2(35 BYTE),
BRN_ACQ_FLE VARCHAR2(50 BYTE),
BRN_ACQ_FLE_MCHDTE DATE,
BRN_ACQ_FLE_EODDTE DATE,
BRN_ACQ_FLE_RCNTYP NUMBER(2),
BRN_ACQ_FLE_ACNTID VARCHAR2(35 BYTE),
TRNACC_ID VARCHAR2(21 BYTE),
PRT_TRNACC_ID VARCHAR2(35 BYTE),
PROCESS_ID VARCHAR2(20 BYTE),
SWT_VCH1_NUM VARCHAR2(100 BYTE),
SWT_VCH2_NUM VARCHAR2(100 BYTE),
SWT_VCH3_NUM VARCHAR2(100 BYTE),
SWT_VCH4_NUM VARCHAR2(100 BYTE),
SWT_VCH5_NUM VARCHAR2(100 BYTE),
SWT_VCH1A_NUM VARCHAR2(100 BYTE),
SWT_VCH2A_NUM VARCHAR2(100 BYTE),
SWT_VCH3A_NUM VARCHAR2(100 BYTE),
SWT_VCH4A_NUM VARCHAR2(100 BYTE),
SWT_VCH5A_NUM VARCHAR2(100 BYTE),
SWT_VCH1B_NUM VARCHAR2(100 BYTE),
SWT_VCH2B_NUM VARCHAR2(100 BYTE),
SWT_VCH3B_NUM VARCHAR2(100 BYTE),
SWT_VCH4B_NUM VARCHAR2(100 BYTE),
SWT_VCH5B_NUM VARCHAR2(100 BYTE),
SWT_VCH1C_NUM VARCHAR2(100 BYTE),
SWT_VCH2C_NUM VARCHAR2(100 BYTE),
SWT_VCH3C_NUM VARCHAR2(100 BYTE),
SWT_VCH4C_NUM VARCHAR2(100 BYTE),
SWT_VCH5C_NUM VARCHAR2(100 BYTE),
SWT_VCH1D_NUM VARCHAR2(100 BYTE),
SWT_VCH2D_NUM VARCHAR2(100 BYTE),
SWT_VCH3D_NUM VARCHAR2(100 BYTE),
SWT_VCH4D_NUM VARCHAR2(100 BYTE),
SWT_VCH5D_NUM VARCHAR2(100 BYTE),
SWT_VCH1E_NUM VARCHAR2(100 BYTE),
SWT_VCH2E_NUM VARCHAR2(100 BYTE),
SWT_VCH3E_NUM VARCHAR2(100 BYTE),
SWT_VCH4E_NUM VARCHAR2(100 BYTE),
SWT_VCH5E_NUM VARCHAR2(100 BYTE),
SWT_VCH1F_NUM VARCHAR2(100 BYTE),
SWT_VCH2F_NUM VARCHAR2(100 BYTE),
SWT_VCH3F_NUM VARCHAR2(100 BYTE),
SWT_VCH4F_NUM VARCHAR2(100 BYTE),
SWT_VCH5F_NUM VARCHAR2(100 BYTE),
SWT_VCH1G_NUM VARCHAR2(100 BYTE),
SWT_VCH2G_NUM VARCHAR2(100 BYTE),
SWT_VCH3G_NUM VARCHAR2(100 BYTE),
SWT_VCH4G_NUM VARCHAR2(100 BYTE),
SWT_VCH5G_NUM VARCHAR2(100 BYTE),
SWT_VCH1H_NUM VARCHAR2(100 BYTE),
SWT_VCH2H_NUM VARCHAR2(100 BYTE),
SWT_VCH3H_NUM VARCHAR2(100 BYTE),
SWT_VCH4H_NUM VARCHAR2(100 BYTE),
SWT_VCH5H_NUM VARCHAR2(100 BYTE),
SWT_VCH1I_NUM VARCHAR2(100 BYTE),
SWT_VCH2I_NUM VARCHAR2(100 BYTE),
SWT_VCH3I_NUM VARCHAR2(100 BYTE),
SWT_VCH4I_NUM VARCHAR2(100 BYTE),
SWT_VCH5I_NUM VARCHAR2(100 BYTE),
VIS_VCH_NUM VARCHAR2(100 BYTE),
MAS_VCH_NUM VARCHAR2(100 BYTE),
TIE1_VCH_NUM VARCHAR2(100 BYTE),
TIE2_VCH_NUM VARCHAR2(100 BYTE),
TIE3_VCH_NUM VARCHAR2(100 BYTE),
TIE4_VCH_NUM VARCHAR2(100 BYTE),
TIE5_VCH_NUM VARCHAR2(100 BYTE),
TIE6_VCH_NUM VARCHAR2(100 BYTE),
EJ_VCH_NUM VARCHAR2(100 BYTE),
BTH_VCH_NUM VARCHAR2(100 BYTE),
BRN_ISS_VCH_NUM VARCHAR2(100 BYTE),
BRN_ACQ_VCH_NUM VARCHAR2(100 BYTE),
PAR_DTE DATE,
EOD_DTE1 DATE,
EOD_DTE2 DATE,
FILLER1 VARCHAR2(4000 BYTE),
FILLER2 VARCHAR2(4000 BYTE),
FILLER3 VARCHAR2(4000 BYTE),
TRN_MM VARCHAR2(2 BYTE),
TRN_YY VARCHAR2(4 BYTE),
PURGE_FLAG NUMBER DEFAULT 0
);The error message is self explanatory. One or more of the rows being attempted to be inserted has a value for a partition key column that does NOT map into the defined partition keys on the target table.
Since you have not shown the definition of the Partitioned table, we cannot help with any advice to you.
Hemant K Chitale -
Ok, folks... this one is a little strange and baffling...
I am running this command:
delete
from stgbb2_char_xref scx
where exists (select 1 from tt a where scx.entity_id = a.entity_id and scx.attr_id = a.attr_id)
the tt table is nothing but a regular heap table containing the rows that will be used to id those rows in STGBB2_CHAR_XREF that we need to delete.
The definition of tt is:
create table bloomberg.tt(
ENTITY_ID NUMBER(9,0) NOT NULL,
ATTR_ID NUMBER(9,0) NOT NULL
parallel
nocache
nologging
When running the delete, I get this error:
[Error] Script lines: 1-3 --------------------------ORA-12801: error signaled in parallel query server P001
ORA-14400: inserted partition key does not map to any partition
(We are running Oracle 10g)
The stgbb2_char_xref table is a partitioned IOT table - below is the definition:
CREATE TABLE BLOOMBERG.STGBB2_CHAR_XREF (
ENTITY_ID NUMBER(9,0) NOT NULL,
ATTR_ID NUMBER(9,0) NOT NULL,
BASE_ID NUMBER(5,0) NOT NULL,
ROW_ID NUMBER NOT NULL,
PRIMARY KEY(ENTITY_ID,ATTR_ID,BASE_ID,ROW_ID)
ORGANIZATION INDEX
parallel
NOCACHE
MONITORING
partition list(base_id)
(partition base_id1 values(1),
partition base_id1 values(2500))
The question is - why would I get a ORA-14400 on a delete?? I can understand if we were inserting data, but on a delete?? This looks like an Oracle bug almost??Good thought, but no - it's pretty much just a straight up partitioned table with no triggers that could contain an insert.
-
Sqlldr returns ORA-14400 although partition exists
Hi,
I have encountered an error with SQL Loader which I was hoping that someone here could help me out.
I am loading records from a file which have different length. Which type of record it is is identifiable by a field called record_type and all the records in the file are loaded into the same table.
The problem I encounter is that in average one record out of each 10000 is rejected with the errors:
ORA-00604: error occurred at recursive SQL level 1
ORA-14400: inserted partition key does not map to any partition
These records end up in a .bad file and I look at the date, which the partition is based on, then I don't find anything that can explain why it was rejected since the partition is there.
When I try to load the content .bad file into the table then it works without any of the previously rejected records being rejected again.
What I don't understand is why the records are rejected in the first place, but then at a second attempt successfully loaded although no modification has been done to the table (no new added, nor removed partitions). Am I somehow using the SQL loader in a way that it is not meant to be used, or might I have forgotten a setting in the .ctl file?
Oracle version is 11.1.0.7.0.
The control file I am using looks like this (subset, got altogether 6 different record types)
LOAD DATA
INFILE *
APPEND
INTO TABLE ROAM5
WHEN (41:43) = 'CA3'
TRAILING NULLCOLS
FILE_NAME POSITION(1:40) CHAR(40) "TRIM(:FILE_NAME)",
RECORD_TYPE POSITION(41:43) CHAR(3),
IMSI POSITION(44:58) CHAR(15) "TRIM(:IMSI)",
IMSI_TYPE POSITION(59:60) CHAR(2) "TRIM(:IMSI_TYPE)",
SENDER_ID POSITION(61:80) CHAR(20) "TRIM(:SENDER_ID)",
CUSTOMER_TAG POSITION(81:134) CHAR(54) "TRIM(:CUSTOMER_TAG)",
DATE_FROM_CDR POSITION(135:148) Date "YYYYMMDDHH24MISS",
CALL_EVENT_DATE POSITION(149:162) Date "YYYYMMDDHH24MISS",
TOTAL_CHARGED_UNITS POSITION(163:167) CHAR(5) "TRIM(:TOTAL_CHARGED_UNITS)",
FINAL_CHARGE_RATE POSITION(168:179) CHAR(12) "TRIM(:FINAL_CHARGE_RATE)",
TOTAL_CHARGEABLE_UNITS POSITION(180:184) CHAR(5) "TRIM(:TOTAL_CHARGEABLE_UNITS)",
CURRENCY_CODE POSITION(185:189) CHAR(5) "TRIM(:CURRENCY_CODE)",
USAGE_TYPE POSITION(190:194) CHAR(5) "TRIM(:USAGE_TYPE)",
TAX_RATE POSITION(195:206) CHAR(12) "TRIM(:TAX_RATE)",
CAMEL_SERVICE_LEVEL POSITION(207:207) CHAR(1) "TRIM(:CAMEL_SERVICE_LEVEL)",
CALLED_NUMBER POSITION(208:228) CHAR(21) "TRIM(:CALLED_NUMBER)",
ANNOTATION POSITION(229:483) CHAR(255) "TRIM(:ANNOTATION)",
CALLING_NUMBER POSITION(484:488) CHAR(5) "TRIM(:CALLING_NUMBER)"
INTO TABLE ROAM5
WHEN (41:43) = 'GC3'
TRAILING NULLCOLS
FILE_NAME POSITION(1:40) CHAR(40) "TRIM(:FILE_NAME)",
RECORD_TYPE POSITION(41:43) CHAR(3),
IMSI POSITION(44:58) CHAR(15) "TRIM(:IMSI)",
IMSI_TYPE POSITION(59:60) CHAR(2) "TRIM(:IMSI_TYPE)",
SENDER_ID POSITION(61:80) CHAR(20) "TRIM(:SENDER_ID)",
CUSTOMER_TAG POSITION(81:159) CHAR(79) "TRIM(:CUSTOMER_TAG)",
CALLING_NUMBER POSITION(160:164) CHAR(5) "TRIM(:CALLING_NUMBER)",
DATE_FROM_CDR POSITION(165:178) Date "YYYYMMDDHH24MISS",
CALL_EVENT_DATE POSITION(179:192) Date "YYYYMMDDHH24MISS",
DATE_FROM_CDR POSITION(165:178) Date "YYYYMMDDHH24MISS",
CALL_EVENT_DATE POSITION(179:192) Date "YYYYMMDDHH24MISS",
TOTAL_CHARGED_UNITS POSITION(193:204) CHAR(12) "TRIM(:TOTAL_CHARGED_UNITS)",
FINAL_CHARGE_RATE POSITION(205:216) CHAR(12) "TRIM(:FINAL_CHARGE_RATE)",
TOTAL_CHARGEABLE_UNITS POSITION(217:228) CHAR(12) "TRIM(:TOTAL_CHARGEABLE_UNITS)",
TAX_RATE POSITION(229:240) CHAR(12) "TRIM(:TAX_RATE)",
CURRENCY_CODE POSITION(241:245) CHAR(5) "TRIM(:CURRENCY_CODE)",
USAGE_TYPE POSITION(246:250) CHAR(5) "TRIM(:USAGE_TYPE)",
ANNOTATION POSITION(251:442) CHAR(192) "TRIM(:ANNOTATION)",
APN_NI POSITION(443:447) CHAR(5) "TRIM(:APN_NI)"
The partitioning is based around a syntax like this:
TABLESPACE REVASS_DATA
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
PARTITION BY RANGE (DATE_FROM_CDR)
PARTITION CDR_20121014 VALUES LESS THAN (TO_DATE(' 2012-10-15 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
I am thankful for any hint or help that you could give me.
Best regards,
Jesper
Edited by: 967860 on Oct 26, 2012 4:10 AM - Added Oracle versionOf course, here is one GC3 record which failed this morning:
CDDEUM3CHEM208006.dat GC3228123456789123 6DEUM30800600011331012672649480101111593 7
7 DEUM3201210281252372012102812523712288 0 11378 1 37530 41791234567 10.128.128.128
+0100 F 3 4 13070002469860 20121028125237+0100X+0100 0 internet
Which I would have expected to have been loaded into this partition in the ROAM5 table:
PARTITION CDR_20121028 VALUES LESS THAN (TO_DATE(' 2012-10-29 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE REVASS_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 80K
NEXT 1M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
The record:
CDFRAM3CHEM217542.dat GC3228123456789123 6FRAM3175420000197801328900564420996812 1
14 FRAM3201210241700532012102417005312288 6 11342 1 37530 41761234567 10.128.128.128
3 4 012841007464311620121024170053+0200X+0200 0 internet
Should have ended up in this partition:
PARTITION CDR_20121024 VALUES LESS THAN (TO_DATE(' 2012-10-25 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE REVASS_DATA
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 80K
NEXT 1M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
BUFFER_POOL DEFAULT
Best regards,
Jesper
Edited by: Jesper967860 on Oct 29, 2012 12:55 AM
Edited by: Jesper967860 on Oct 29, 2012 12:59 AM -
Cannot insert PS_TXN ORA-00942 table or view does not exist
We are using jdev 11.1.1.4.0
We have two users in the database and various application modules which connect to these users using datasources
We have tested the application with applicatin module pooling enabled off to test for passivation and activation errors and the application works fine.
Also on our internal test enviorment which has more then 10 concurrent users the application works fine
But at UAT it has started suddenly to give errors Cannot insert in PS_TXN ORA-00942 table or view does not exist
When I see the data in PS_TXN tables in various users I can see that passivation has taken place for the same day when there sporadic errors have been reported all having the cause as ORA-00942 table or view does not exist.
But one strange thing that I have observed is that the COLLID column has sequence numbers interchanged for the users randomly, database user 1 has sequence number from database user 2 seq and vice a versa in COLLID
As far as this problem goes the passivation should have failed with ORA-00001 primary key voilated but that is not the case
May be the keys have still not got to a number where they collide.
But I am totally taken aback on such a behaviour and I am not sure how to correct it.
So we have two porblems here
1) why did this error come in first place PS_TXN ORA-00942 table or view does not exist
2) Why are the sequence numbers interchanged for the databse users ?
Edited by: user3067156 on Jun 19, 2012 3:12 AMI got reply to my second question
It looks like a bug in the framework and the suggestions are to use only one ps_txn and ps_txn_seq by modifying the internal connection
But the first problem is not yet known why did it appear suddenly
Edited by: user3067156 on Jun 19, 2012 3:12 AM -
Error while deploy mapping ora-06550 table or view does not exist
Hi everyone,
i have a target source 'U_BCK' that cointains some Oracle table.
I have also created a target schema 'BCK_OWNER' where i create some dimensions and cubes with mappings.
My mappings connect some table from U_BCK with dimension or cube from BCK_OWNER.
My repository owner is called 'rep_owner' and i used this user to create every metadata.
Now i'm trying to deploy, and i don't have any problem until deploying mappings. When i try to deploy mappings i get some errors like ora-06550,ora-00942 table or view does not exist and statement ignored.
Please help me and sorry for my english...
Thanks,
Alex.The mapping, that drives the data from one table to another is deployed to the database as a PL/SQL package. When deploying your mapping fails, it most often means that the resulting PL/SQL package doesn't compile in the database.
Using Oracle SQL Developer (or Toad, SQL Navigator or any other tool) connect to the schema on the database where you have deployed the mapping. Open the pl/sql package and compile it. That should show you the place where the compilation fails, and give you an idea as to what table it can not find. Otherwise, in SQLPLUS, you can simply give the following command:
ALTER PACKAGE THE_PACKAGE_NAME_GOES_HERE compile body;
show errors;
As the database user who owns the source tables, make sure to issue a GRANT command for each of the source tables, granting SELECT access to the database user who owns the mapping:
grant select on TABLENAME to TARGETSCHEMA.
hope this helps
Borkur -
Error while deploying map: ORA-00942 Table or view does not exist
Hi OWB experts,
I'm having yet another problem with OWB, this time when I try to deploy a mapping I get this error:
ORA-06550: line 59, column 3:
PL/SQL: ORA-00942: table or view does not exist
DIM_01_ESTCON_MAP
ORA-06550: line 93, column 3:
PL/SQL: SQL Statement ignored
If I open the package that OWB created I see the errors:
CURSOR "DEDUP_SRC_0_IN2_c" IS
SELECT
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_ID" "ESTADOCONEXION_ID",
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_COD_ESTCON" "ESTADOCONEXION_COD_ESTCON",
"DEDUP_INPUT_SUBQUERY2$1"."ESTADOCONEXION_DESC_ESTCON" "ESTADOCONEXION_DESC_ESTCON",
"DEDUP_INPUT_SUBQUERY2$1"."STANDARD_TOTAL_COD_TTL" "STANDARD_TOTAL_COD_TTL"
FROM
(SELECT
DISTINCT
"DIM_01_ESTCON_MAP"."GET_CONST_CA_0_ESTADOCO" "ESTADOCONEXION_ID",
"ESTADOS"."ESTADO" "ESTADOCONEXION_COD_ESTCON",
"ESTADOS"."DESC_EST" "ESTADOCONEXION_DESC_ESTCON",
"DIM_01_ESTCON_MAP"."GET_TOTAL_C_0_TTLID" "STANDARD_TOTAL_COD_TTL"
FROM
"CONSULTA"."ESTADOS"@"PROD@AYADEV_LOCATION" "ESTADOS"
WHERE
( estado LIKE 'EC%' )) "DEDUP_INPUT_SUBQUERY2$1";
Where AYADEV_LOCATION points to the module/schema/location where my source data is.
Now, I have defined three modules:
SOURCE, where I defined the tables and other objects from the original database (source data)
STAGE, where I am performing all the transformations; here I defined all the maps
TARGET, this holds the dimensions and fact tables.
Now all three modules point to different databases. The dblink for AYADEV_LOCATION has been created and shouldn't present any problems. The username that I'm using to log on to the source database is current and I can connect to it through SQL+ or any other program (TOAD, SQLDeveloper).
What could be happening here? I'm using OWB 10g R2, with Oracle DB 10g R2.
I'd really appreciate any help you could provide.
Best Regards,
--Osvaldo
[osantos]Hi,
I'm still having problems but I found out why these tables are returning errors. The username I've been given by the DBA to connect to the database is CONSULTA, but this user is only for querying purposes, the actual objects reside on a differente schema, of course, which is PROD. So the line:
"CONSULTA"."ESTADOS"@"PROD@AYADEV_LOCATION" "ESTADOS"
raises an exception because the table ESTADOS is not located on that schema, but on PROD. If I query the table from SQL Plus with:
SELECT *
FROM [email protected]@AYADEV_LOCATION
then there's no problem at all.
Why is this? How do I instruct OWB to point to the correct schema or to avoind fully qualifying the table name?
Please help me, I'm kind of confused here.
Best Regards,
--oswaldo.
[osantos] -
Insert key does not function in Wkindows 7
Insert key does not work in Windows 7. I use this as a toggle to insert / overwrite and since going to Windows 7 SVP1 it does not function. I do an enormous amount of editing and need this function! Using universal keyboard.
Thanks! KymHello,
I'd ask in the
Windows 7 forum on Microsoft Community.
As the Microsoft Community is on a different platform, we cannot move the question for you.
Once there, click on Participate near the top of the screen, and select 'Ask a Question' or 'Start a Discussion':
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
INSERT key does not toggle INSERT/REPLACE mode
The INSERT key does not toggle between Insert and Replace mode. The enterabled items are always in insert mode. Does anyone know how to fix this?
I'm using Forms 6i 6.0.8.17.1, web-deployed on Solaris 2.6 (64 bit).You can use a pluggable Java Component to do this and there is an example in the Forms 9i demos.
-
Migration from 9i to 11g Transparent Gateway results in a) ORA-12704: character set mismatch b) ORA-02070: database ... does not support SYS_OP_C2C in this context
What Transparent Gateway (TG) 11g configuration steps prevent the following errors?:
a) ORA-12704: character set mismatch
b) ORA-02070: database <DB_link_name> does not support SYS_OP_C2C in this context
Hints:
The current 9i TG works with the existing views and packages. These same db objects will not compile using the new 11g TG.
The db objects are on an Oracle 10g database linked to an SQL Server 2008 R2 database.
Since the 9i TG works I assume a configuration to the 11g TG will get it working same as before. But what...
Is is something controlled by these parameters? (Sorry, I don't know how this stuff works. I'm the application developer. My DBAs setup the Transparent Gateways.):
Parameters in the Gateway Startup Shell script:
ORA_NLS33
NLS_LANG
Parameters in the initsid.ora file:
HS_LANGUAGE
HS_NLS_DATE_FORMAT
HS_NLS_DATE_LANGUAGE
I'm avoiding the known workaround to refactor the VIEWS and PACKAGES to contain CAST() statements to explicitly match the data types. A server side fix to the 11g TG is preferred.
Sample code:
a) ORA-12704: character set mismatch
... is caused by SQL that works with my 9i TG but not with my 11g TG. It's a snippit from my view that won't compile:
select status_code -- Oracle VARCHAR2(30)
from ora_app_interfaces
UNION
select "StatusCode" as status_code -- SQL Server NVARCHAR(30)
from SqlAppInterfaces
Example workaround that I'm avoiding:
select status_code
from ora_app_interfaces
UNION
select CAST("StatusCode" as VARCHAR(30)) as status_code
from SqlAppInterfaces
b) ORA-02070: database <DB_link_name> does not support SYS_OP_C2C in this context
A line of code in the procedure that compiles correctly but fails to execute:
-- Insert into SQL Server from Oracle
insert into PatientMedRecNum (
"PatID", -- SQL Server INT
"MedRecNum", -- SQL Server NVARCHAR(11)
"Hospital") -- SQL Server NVARCHAR(30)
values (
pi_pat_id, -- Oracle NUMBER
pi_med_rec_num, -- Oracle VARCHAR2
pi_hospital); -- Oracle VARCHAR2
I'd guess the errors are caused by the TG's implicit conversion between the Oracle VARCHAR2 and the SQL Server NVARCHAR... but this works fine on the 9i TG... how do I set it up to work on the 11g TG?
Thanks!Trace of 11g TG... generating errors due to lack of automatic mapping from SQL NVARCHAR to Oracle NVARCHAR, where the previous 9g TG mapped from SQL NVARCHAR to Oracle VARCHAR2.
Oracle Corporation --- MONDAY SEP 22 2014 13:35:08.186
Heterogeneous Agent Release
11.2.0.4.0
Oracle Corporation --- MONDAY SEP 22 2014 13:35:08.186
Version 11.2.0.4.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "UCS2"
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "FALSE"
setting HS_FDS_SUPPORT_STATISTICS to default of "TRUE"
setting HS_FDS_QUOTE_IDENTIFIER to default of "TRUE"
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
setting HS_FDS_ARRAY_EXEC to default of "TRUE"
Exiting hgosdip, rc=0
ORACLE_SID is "xxxDEV"
Product-Info:
Port Rls/Upd:4/0 PrdStat:0
Agent:Oracle Database Gateway for MSSQL
Facility:hsa
Class:MSSQL, ClassVsn:11.2.0.4.0_0019, Instance:xxxDEV
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=1000
HOCXU_DB_CSET=178
HS_LANGUAGE not specified
rc=1239980 attempting to get LANG environment variable.
HOCXU_SEM_VER=102000
Entered hgolofn at 2014/09/22-13:35:08
RC=-1 from HOSGIP for "PATH"
Setting PATH to "C:\oracle\product\11.2.0\tg_2\dg4msql\driver\lib"
Exiting hgolofn, rc=0 at 2014/09/22-13:35:08
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
HOSGIP for "HS_KEEP_REMOTE_COLUMN_SIZE" returned "OFF"
HOSGIP for "HS_FDS_DELAYED_OPEN" returned "TRUE"
HOSGIP for "HS_FDS_WORKAROUNDS" returned "0"
HOSGIP for "HS_FDS_MBCS_TO_GRAPHIC" returned "FALSE"
HOSGIP for "HS_FDS_GRAPHIC_TO_MBCS" returned "FALSE"
treat_SQLLEN_as_compiled = 1
Exiting hgoinit, rc=0 at 2014/09/22-13:35:08
Entered hgolgon at 2014/09/22-13:35:08
reco:0, name:abaccess, tflag:0
Entered hgosuec at 2014/09/22-13:35:08
uencoding=UTF16
Entered shgosuec at 2014/09/22-13:35:08
Exiting shgosuec, rc=0 at 2014/09/22-13:35:08
shgosuec() returned rc=0
Exiting hgosuec, rc=0 at 2014/09/22-13:35:08
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned "HS_TRANSACTION_LOG"
HOSGIP for "HS_FDS_TIMESTAMP_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_DATE_MAPPING" returned "DATE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULTSET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_RSET_RETURN_ROWCOUNT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
HOSGIP for "HS_FDS_DEFAULT_OWNER" returned "dbo"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2014/09/22-13:35:08
HS_FDS_CONNECT_INFO = "sqlserverxxx/sqlinstancexxx/SQL_Server_2008_xxx_DEV"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2014/09/22-13:35:08
dsn: sqlserverxxx/sqlinstancexxx/SQL_Server_2008_xxx_DEV, name:xxx_admin
optn:
Entered hgocip at 2014/09/22-13:35:08
dsn:sqlserverxxx/sqlinstancexxx/SQL_Server_2008_xxx_DEV
Exiting hgocip, rc=0 at 2014/09/22-13:35:08
Entered shgogohn at 2014/09/22-13:35:08
ohn is 'OraGtw11g_home2'
Exiting shgogohn, rc=0 at 2014/09/22-13:35:08
RC=-1 from HOSGIP for "HS_FDS_ENCRYPT_SESSION"
using 0 as default value for "HS_FDS_ENCRYPT_SESSION"
RC=-1 from HOSGIP for "HS_FDS_VALIDATE_SERVER_CERT"
using 1 as default value for "HS_FDS_VALIDATE_SERVER_CERT"
Entered hgocont_OracleCsidToIANA at 2014/09/22-13:35:08
Returning 2252
Exiting hgocont_OracleCsidToIANA at 2014/09/22-13:35:08
Exiting hgogenconstr, rc=0 at 2014/09/22-13:35:08
Entered hgopoer at 2014/09/22-13:35:08
hgopoer, line 231: got native error 5701 and sqlstate 01000; message follows...
[Oracle][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Changed database context to 'Xxx_XXX_DEV'. {01000,NativeErr = 5701}[Oracle][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Changed language setting to us_english. {01000,NativeErr = 5703}
Exiting hgopoer, rc=0 at 2014/09/22-13:35:08
hgocont, line 2764: calling SqlDriverConnect got sqlstate 01000
Entered hgolosf at 2014/09/22-13:35:08
Exiting hgolosf, rc=0 at 2014/09/22-13:35:08
DriverName:HGmsss23.dll, DriverVer:07.01.0093 (B0098, U0065)
DBMS Name:Microsoft SQL Server, DBMS Version:10.00.2531
Exiting hgocont, rc=0 at 2014/09/22-13:35:08 with error ptr FILE:hgocont.c LINE:2764 ID:SQLDriverConnect
SQLGetInfo returns Y for SQL_CATALOG_NAME
SQLGetInfo returns 128 for SQL_MAX_CATALOG_NAME_LEN
Exiting hgolgon, rc=0 at 2014/09/22-13:35:08
Entered hgoulcp at 2014/09/22-13:35:08
Entered hgowlst at 2014/09/22-13:35:08
Exiting hgowlst, rc=1 at 2014/09/22-13:35:08
SQLGetInfo returns Y for SQL_PROCEDURES
SQLGetInfo returns 0x1f for SQL_OWNER_USAGE
TXN Capable:2, Isolation Option:0xf
SQLGetInfo returns 128 for SQL_MAX_SCHEMA_NAME_LEN
SQLGetInfo returns 128 for SQL_MAX_TABLE_NAME_LEN
SQLGetInfo returns 134 for SQL_MAX_PROCEDURE_NAME_LEN
HOSGIP returned value of "TRUE" for HS_FDS_QUOTE_IDENTIFIER
SQLGetInfo returns " (0x22) for SQL_IDENTIFIER_QUOTE_CHAR
13 instance capabilities will be uploaded
capno:1992, context:0x0001ffff, add-info: 0
capno:3042, context:0x00000000, add-info: 0, translation:"42"
capno:3047, context:0x00000000, add-info: 0, translation:"57"
capno:3049, context:0x00000000, add-info: 0, translation:"59"
capno:3050, context:0x00000000, add-info: 0, translation:"60"
capno:3066, context:0x00000000, add-info: 0
capno:3067, context:0x00000000, add-info: 0
capno:3068, context:0x00000000, add-info: 0
capno:3069, context:0x00000000, add-info: 0
capno:3500, context:0x00000001, add-info: 91, translation:"42"
capno:3501, context:0x00000001, add-info: 93, translation:"57"
capno:3502, context:0x00000001, add-info: 107, translation:"59"
capno:3503, context:0x00000001, add-info: 110, translation:"60"
Exiting hgoulcp, rc=0 at 2014/09/22-13:35:08
Entered hgouldt at 2014/09/22-13:35:08
NO instance DD translations were uploaded
Exiting hgouldt, rc=0 at 2014/09/22-13:35:08
Entered hgobegn at 2014/09/22-13:35:08
tflag:0 , initial:1
hoi:0x12ee18, ttid (len 32) is ...
xxx
xxx
tbid (len 10) is ...
0: 09000F00 0FAC1E00 010A [..........]
Exiting hgobegn, rc=0 at 2014/09/22-13:35:08
Entered hgodtab at 2014/09/22-13:35:08
count:1
table: XXX_INTERFACE
Allocate hoada[0] @ 0000000005F58270
Entered hgopcda at 2014/09/22-13:35:08
Column:1(InterfaceID): dtype:2 (NUMERIC), prc/scl:20/0, nullbl:0, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
Entered hgopcda at 2014/09/22-13:35:08
Column:2(TableName): dtype:-9 (WVARCHAR), prc/scl:30/0, nullbl:0, octet:60, sign:1, radix:0
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
Entered hgopcda at 2014/09/22-13:35:08
Column:3(TableID): dtype:4 (INTEGER), prc/scl:10/0, nullbl:0, octet:0, sign:1, radix:10
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
Entered hgopcda at 2014/09/22-13:35:08
Column:4(StatusCode): dtype:-9 (WVARCHAR), prc/scl:30/0, nullbl:0, octet:60, sign:1, radix:0
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
Entered hgopcda at 2014/09/22-13:35:08
Column:5(StatusTimestamp): dtype:93 (TIMESTAMP), prc/scl:23/3, nullbl:0, octet:0, sign:1, radix:0
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
Entered hgopcda at 2014/09/22-13:35:08
Column:6(InterfaceLog): dtype:-9 (WVARCHAR), prc/scl:400/0, nullbl:1, octet:800, sign:1, radix:0
Exiting hgopcda, rc=0 at 2014/09/22-13:35:08
The hoada for table XXX_INTERFACE follows...
hgodtab, line 1073: Printing hoada @ 0000000005F58270
MAX:6, ACTUAL:6, BRC:1, WHT=6 (TABLE_DESCRIBE)
hoadaMOD bit-values found (0x40:TREAT_AS_NCHAR,0x400:UNICODE_COLUMN)
DTY NULL-OK LEN MAXBUFLEN PR/SC CST IND MOD NAME
3 DECIMAL N 22 22 20/ 0 0 0 0 InterfaceID
12 VARCHAR N 60 60 128/ 30 1000 0 440 TableName
4 INTEGER N 4 4 0/ 0 0 0 0 TableID
12 VARCHAR N 60 60 128/ 30 1000 0 440 StatusCode
91 DATE N 16 16 0/ 0 0 0 0 StatusTimestamp
12 VARCHAR Y 800 800 129/144 1000 0 440 InterfaceLog
Exiting hgodtab, rc=0 at 2014/09/22-13:35:08
Entered hgodafr, cursor id 0 at 2014/09/22-13:35:08
Free hoada @ 0000000005F58270
Exiting hgodafr, rc=0 at 2014/09/22-13:35:08
Entered hgotcis at 2014/09/22-13:35:08
Calling SQLStatistics for XXX_INTERFACE
IndexType=SQL_TABLE_STAT: cardinality=0
IndexType=1: PK_XXX_Interface
IndexType=3: IX_TableID
IndexType=3: IX_TableName
Calling SQLColumns for dbo.SQL_app_INTERFACE
#1 Column "InterfaceID": dtype=2, colsize=20, decdig=0, char_octet_length=0, cumulative avg row len=15
#2 Column "TableName": dtype=-9, colsize=30, decdig=0, char_octet_length=60, cumulative avg row len=60
#3 Column "TableID": dtype=4, colsize=10, decdig=0, char_octet_length=0, cumulative avg row len=64
#4 Column "StatusCode": dtype=-9, colsize=30, decdig=0, char_octet_length=60, cumulative avg row len=109
#5 Column "StatusTimestamp": dtype=93, colsize=23, decdig=3, char_octet_length=0, cumulative avg row len=125
#6 Column "InterfaceLog": dtype=-9, colsize=400, decdig=0, char_octet_length=800, cumulative avg row len=725
3 Index(es) found:
Index: PK_XXX_Interface, type=1, ASCENDING, UNIQUE, cardinality=0
#1 Column 1: InterfaceID
Index: IX_TableID, type=3, ASCENDING, NON-UNIQUE, cardinality=0
#1 Column 3: TableID
Index: IX_TableName, type=3, ASCENDING, NON-UNIQUE, cardinality=0
#1 Column 2: TableName
Exiting hgotcis, rc=0 at 2014/09/22-13:35:08 -
ORA-14402: updating partition key column would cause a partition change
Hi,
When I am trying to execute an update statement where i am tring to update date values emp_det from 11-oct-2010 to 12-nov-2010.
Oracle throws an error :
ORA-14402
updating partition key column would cause a partition change
I think that this is because emp_det is a partitioning key of a partitioned table.
Oracle documentation says that
"UPDATE will fail if you change a value in the column that would move the
row to a different partition or subpartition, unless you enable row
movement" .
alter table t enable row movement;
I did not understand what is meant by "enable row movement".
I cannot drop the partitions and recreate it after updating the table and also i don't have proper priviliges for enale row movement syntax
because of the lack of privileges. How to solve this is issues with out row movement and recreate partition.
Can this be done by a developer or is there any other way to execute update in this case? its urgent.. pls help..
thanks in advance..
By
Sivaraman
Edited by: kn_sivaraman on Nov 1, 2010 2:32 AMkn_sivaraman wrote:
I did not understand what is meant by "enable row movement". Each partition in partitioned table is physically separate segment. Assume you have a row that belongs to partition A stored in segment A and you change row's partitioning column to value that belongs to partition B - you have an issue since updated row can't be now stored in segment A anymore. By default such update is not allowed and you get an error. You can enable row movement and Oracle will move row to target partition:
SQL> CREATE TABLE SALES_LIST(
2 SALESMAN_ID NUMBER(5,0),
3 SALESMAN_NAME VARCHAR2(30),
4 SALES_STATE VARCHAR2(20),
5 SALES_AMOUNT NUMBER(10,0),
6 SALES_DATE DATE
7 )
8 PARTITION BY LIST(SALES_STATE)
9 (
10 PARTITION SALES_WEST VALUES('California', 'Hawaii'),
11 PARTITION SALES_EAST VALUES('New York', 'Virginia', 'Florida'),
12 PARTITION SALES_CENTRAL VALUES('Texas', 'Illinois'),
13 PARTITION SALES_OTHER VALUES(DEFAULT)
14 )
15 /
Table created.
SQL> insert
2 into sales_list
3 values(
4 1,
5 'Sam',
6 'Texas',
7 1000,
8 sysdate
9 )
10 /
1 row created.
SQL> update sales_list
2 set sales_state = 'New York'
3 where sales_state = 'Texas'
4 /
update sales_list
ERROR at line 1:
ORA-14402: updating partition key column would cause a partition change
SQL> alter table sales_list enable row movement
2 /
Table altered.
SQL> update sales_list
2 set sales_state = 'New York'
3 where sales_state = 'Texas'
4 /
1 row updated.
SQL> SY.
Maybe you are looking for
-
When i'm doing PO all excise data like BED,AED and CESS.
Dear friends, i have custmized all CIN settings but when i'm doing PO i'm getting the excise values like BED,AED and ECESS everything is comming in PO but when i;m doing GR i'm not getting this values. it showing that BED,AED AND ECESS IS zero, i
-
Events Sales Information System - Key figures
What key figure is updated in Net incoming orders 1 and Net incoming orders 2 as defined under update group 000001. I can understand Net incoming order and Gross incoming order.........
-
Customizing error in Work Schedule Rule
Dear Consultant, One of the employee left on 25th of a month. His termination process was run from 26th. Thereafter his Time sheet was uploaded upto 25th. The system accepts his attendance upto 24th but for 25th it gives error as "Customizing Error i
-
Availabilty check against product allocation
Hi guys, We are planing to implement availabilty check against product allocation for reserving stock for a particular customer then are able to select which sales orders to allocate that stock to at later date.Any suggestions or ideas on how to do t
-
System.out View Console via Unix box/ Command Line
I am dumping messages to System.out. When I package it and run it as a service, I can drop this to an out file. When I just run the jar file from the windows command line or from a Unix box it runs silently. Is there a way to have the System.out drop