Error in ODI, ORA-01747: invalid column, table.column, or user.table.column specification
ODI-1227: SrcSet0 (load) task fails on the source of ORACLE STAGING_YYY connection.
Caused by: java.sql.SQLSyntaxErrorException: ORA-01747: invalid column, table.column, or user.table.column specification
We get the above error whenever we run an ODI interface,
This interface is straight forrwad a mapping update incremental IKM Oracle, although we have identified the problem but do not know how it could be fixed
Source table that contains two columns that are generally identified as the key of DB
NAME
/ / DESC
the target too has the same columns. If we disable these mappings to columns from the Active maps the interface works very well, however, with the latter, it fails. We will not be able to change the name of the column in the target because it is a table of Oracle products and has several dependencies to the breast.
Please suggest an alternative and also if our understanding is correct.
Thanks in advance.
Jay
HI Jay
change the column as DESC and put "DESC" in the name, and save it for all the source concerned target and remapping to remove the column from the interface
Thank you
P
Tags: Business Intelligence
Similar Questions
-
ODI error. When you try to import.
Error Type 2 SCD: ODI - 1228:ORA - 01747: invalid column, table.column, or user.table.column specification
It is a common question.
Allow your SCD SCD table column properties if you do not select "crush on change."
This property simply-Online CPC IKM goto => select ignore option error on update of existing lines.
-
Oracle 11g Release 2
I run an UPDATE statement. In the 'set' I am trying to update a column by using a subquery on the right side. REPLACE the statement Gets the error ORA-01747: specification of invalid column, table.column, or user.table.column.
create table tab1 ( file_id number , record_id number , part_type_id number , part_number number , positon_id number , notes varchar2(255) , mapped varchar2(1) default 'N' ) / insert into tab1 values(1,1,123,777,1,'NEW|A/C COMPRESSOR KIT','N') ; insert into tab1 values(1,2,123,777,2,'REMAN|A/C LINE','N') ; insert into tab1 values(1,3,123,777,2,'TEST NOTE','N') ; commit; select * from tab1; /* FILE_ID RECORD_ID PART_TYPE_ID PART_NUMBER POSITON_ID NOTES MAPPED --------- ---------- ------------ ----------- ---------- ------------------------- ------ 1 1 123 777 1 NEW|A/C COMPRESSOR KIT N 1 2 123 777 2 REMAN|A/C LINE N 1 3 123 777 1 TEST NOTE N */ DECLARE v_note2 varchar2(255) := 'NEW' ; BEGIN UPDATE tab1 t SET , t.notes = (select REPLACE(t.notes,v_note2,null) from dual ) WHERE t.file_id = 1 -- value comes from another source AND t.part_type_id = 123 -- value comes from another source AND t.part_number = 777 -- value comes from another source AND t.position_id = 1 ; -- value comes from another source END ; / ERROR at line 3: ORA-01747: invalid user.table.column, table.column, or column specification
Here's what the end result should be:
FILE_ID RECORD_ID PART_TYPE_ID PART_NUMBER POSITON_ID NOTES MAPPED --------- ---------- ------------ ----------- ---------- ------------------------- ------ 1 1 123 777 1 |A/C COMPRESSOR KIT N 1 2 123 777 2 REMAN|A/C LINE N 1 3 123 777 1 TEST NOTE N
Hello
orclrunner wrote:
Oracle 11g Release 2
I run an UPDATE statement. In the 'set' I am trying to update a column by using a subquery on the right side. REPLACE the statement Gets the error ORA-01747: specification of invalid column, table.column, or user.table.column.
- create table tab1
- (file_id number,
- number of record_id,
- number of part_type_id
- number of PART_NUMBER,
- number of positon_id
- Notes VARCHAR2 (255),
- mapped by default varchar2 (1) ' don't
- )
- /
- insert into tab1 values (1,1,123,777,1,'NEW |) Kit COMPRESSOR / it, ' don't);
- insert into tab1 values (1,2,123,777,2,'REMAN |) A/C LINE ',' don't);
- insert into tab1 values (1,3,123,777,2, 'NOTE of TEST', ' don't);
- commit;
- Select * from tab1;
- /*
- FILE_ID RECORD_ID PART_TYPE_ID PART_NUMBER POSITON_ID MAPPED NOTES
- --------- ---------- ------------ ----------- ---------- ------------------------- ------
- 1 1 123 777 1 NEW | A/C COMPRESSOR KIT N
- 1 2 123 777 2 REMAN | A/C LINE N
- 1 3 123 777 1 TEST NOTES N
- */
- DECLARE
- VARCHAR2 (255) v_note2: = "NEW";
- BEGIN
- Tab1 t UPDATE
- SET
- t.notes = (select REPLACE(t.notes,v_note2,null)
- the double)
- WHERE t.file_id = 1 - value comes from another source
- AND t.part_type_id = 123 - value comes from another source
- AND t.part_number = 777 - value comes from another source
- AND t.position_id = 1; -value comes from another source
- END;
- /
- ERROR at line 3:
- ORA-01747: invalid column, table.column, or user.table.column specification
Here's what the end result should be:
- FILE_ID RECORD_ID PART_TYPE_ID PART_NUMBER POSITON_ID MAPPED NOTES
- --------- ---------- ------------ ----------- ---------- ------------------------- ------
- 1 1 123 777 1 | A/C COMPRESSOR KIT N
- 1 2 123 777 2 REMAN | A/C LINE N
- 1 3 123 777 1 TEST NOTES N
The comma after SET is a syntax error.
Why you use double? Why not just
UPDATE tab1
SET of notes = REPLACE (notes, v_note2)
WHERE file_id = 1
...
?
-
Hello
Run immediately is to give different results
But,SQL> declare 2 v varchar2(30):='SAL'; 3 Begin 4 execute immediate 'update emp set :1=1000 where empno=7900' using v; 5 end; 6 / declare * ERROR at line 1: ORA-01747: invalid user.table.column, table.column, or column specification ORA-06512: at line 4
Can someone kindly explain to me the reason.SQL> declare 2 v varchar2(30):='SAL'; 3 Begin 4 execute immediate 'update emp set ' ||v||'=1000 where empno=7900'; 5 end; 6 / old 7900 new 7900 PL/SQL procedure successfully completed.
I need to accomplish a task using the first way.
What could be the solution to the above ORA error?
Thank youColumn names cannot be used as a bind variable.
If you do not need to do this using method 1 as method 1 does not work by design.
On the other hand, you need replace the literal (7500,7900) with a variable binding.--------
Sybrand Bakker
Senior Oracle DBA -
Number of error SQL ORA-00904: invalid column name has occurred.
Hello
on P8.18 on a Win 2003 server when we launch SWPAUDIT, it failed with:
Number of error SQL ORA-00904: invalid column name has occurred. Query process failed.
I searched this error on metalink3. Nothing in connection with.
Any idea?
Thank you.Please give a clear picture of what you are doing... .and what paintings... There is the possibility of the audit refers to certain tables... with deleted. names of columns just look in the structure of what you audit?
Please, find the name of column...
ORA-00904: string: invalid identifier
Cause: The column name entered is invalid or missing.
Action: Enter a valid column name. A valid column name must start with a letter, must be less than or equal to 30 characters and include only alphanumeric characters and the special characters $, _, and #. If it contains other characters, then it must be enclosed in quotation marks. It cannot be a reserved word. -
Merger with subquery causes ORA-38101 invalid column to INSERT the VALUES C
What follows is a slightly shortened version of a SQL statement that causes the error.
I've simplified the request a bit to see what combination of things are the cause of the problem, that is why she always inserts 'A' in m_list.past_present (a CHAR (1)) and always use 5 for the term_scope_id.MERGE INTO applicant_matches m_table USING ( SELECT DISTINCT s.student_id, a.term_scope_id, a.first_name, a.last_name, a.ssn_visa, a.birth_date, ... ) m_list ON (m_list.student_id = m_table.student_id AND m_list.first_name = m_table.first_name AND m_list.last_name = m_table.last_name AND m_list.birth_date = m_table.birth_date AND m_list.ssn_visa = m_table.ssn_visa AND m_list.term_scope_id = m_table.term_scope_id) WHEN NOT MATCHED THEN INSERT (m_table.student_id, m_table.term_scope_id, m_table.ssn_visa, m_table.first_name, m_table.last_name, m_table.birth_date, m_table.ssn_match, m_table.dob_match, m_table.soundex_match, m_table.name_match, m_table.past_present) VALUES (m_list.student_id, m_list.term_scope_id, m_list.ssn_visa, m_list.first_name, m_list.last_name, m_list.birth_date, m_list.ssn_match, m_list.dob_match, m_list.soundex_match, m_list.name_match, (SELECT 'A' FROM term_scope ts JOIN campus_term ct ON ts.campus_term_id=ct.campus_term_id WHERE ts.term_scope_id = 5 ) )
On the SELECT subquery I get one
ORA-38101 invalid column in the INSERT VALUES Clause: string "ts". "" term_scope_id ".
However, if I leave the
JOIN the ct campus_term ON ts.campus_term_id = ct.campus_term_id
Then, the query works fine.
Anyway, it must be insert 'A', so I can't imagine what that JOIN has to do with anything anyone. The term_scope_id is valid. It won't let you do a join in a subquery for a merge insert?
BTW: I'm using Oracle Database 11 g Enterprise Edition Release 11.1.0.6.0 - ProductionTry using the old join syntax
Select 'x '.
from t1, t2
where t1.col = t2.col
and t2.other_col = using_set.other_col -
Session beginning of OGG-00664 OIC error (status = 1017-ORA-01017: invalid)
All,
I make a problem while doing the initial load process.
ENV-
OEL32, 11.2.0.2 - SOURCE AND TARGET db TIME on a machine.
-------
GGSCI (localhost) 7 > discovers the eini13 report
2011-10-31 16:49:51 INFO OGG-01017 Wildcard resolution IMMEDIATE value because SOURCEISTABLE is used.
***********************************************************************
Oracle GoldenGate Capture for Oracle
Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
Linux, x 86, 32-bit (optimized), Oracle 11 g on April 30, 2011 22:35:14
Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
From 2011-10-31 16:49:51
***********************************************************************
Version of the operating system:
Linux
Version #1 SMP kills Jan 4 07:23:44 this version of 2011, 2.6.18 - 238.0.0.0.1.el5
Node: localhost.localdomain
Machine: i686
limit software
Address space size: unlimited unlimited
Heap size: unlimited unlimited
File size: unlimited unlimited
Time CPU: unlimited unlimited
Process ID: 4845
Description:
***********************************************************************
* In the course of a run with the following parameters *.
***********************************************************************
EXTRACT EINI13
WEST OF USERNAME, PASSWORD *.
Context of the source:
SourceModule: [ggdb.ora.sess]
SourceID: [/ scratch/sganti/view_storage/sganti_core_lin32/oggcore/OpenSys/src/gglib/ggdbora /]
ocisess.c]
SourceFunction: [OCISESS_try]
SourceLine: [500]
ThreadBacktrace: [12] elements
: [/ apps/oracle/product/gg_amer/extract (CMessageContext::AddThreadContext () + 0 x 26) [0]
x 8289366]]
: [/ apps/oracle/product/gg_amer/extract (CMessageFactory::CreateMessage (CSourceContex]
t *, unsigned int,...) (+0x817) [0x827fae7]]
: [/ apps/oracle/product/gg_amer/extract (_MSG_ERR_ORACLE_OCI_ERROR_WITH_DESC (CSourceC]
[(ONTEXTE *, int, const char *, const char *, CMessageFactory::MessageDisposition) + 0x8b) [0x824230b]]
: [/ apps/oracle/product/gg_amer/extract (OCISESS_try (int, OCISESS_context_def *, char))]
const *,...) (+0x376) [0x81cd156]]
: [/ apps/oracle/product/gg_amer/extract (OCISESS_logon (OCISESS_context_def *, con char))]
[(St *, const char *, const char *, int, int, int) + 0x8b4) [0x81ce604]]
: [/ apps/oracle/product/gg_amer/extract (DBOCI_init_connection_logon (const char *, cha))]
[(const r *, const char *, int, int, int, char *) + 0 x 58) [0x81bdce8]]
: [apps/oracle/product/gg_amer/extract [0x81c23da]]
: [/ apps/oracle/product/gg_amer/extract (gl_odbc_param (const char *, const char *, char))]
[)) + 0 x 36) [0x81c29b6]]
: [apps/oracle/product/gg_amer/extract [0x814bfec]]
: [apps/oracle/product/gg_amer/extract(main+0x1dc) [0x81529cc]]
: [lib/libc.so.6(__libc_start_main+0xdc) [0x476e9c]]
: [apps/oracle/product/gg_amer/extract(__gxx_personality_v0+0x1c5) [0 x 8120491]]
Beginning session 2011-10-31 16:49:51 OGG - 00664 OIC error (status = 1017-ORA-01017: invalid user name)
/ Password; connection refused).
2011-10-31 16:49:51 ERROR OGG-01668 PROCESS ABENDING.
GGSCI (localhost) 8 >Name of user and password invalid.
Your GoldenGate database user named West (and whatever your password)? Also, check the correct cases 11g password is case-sensitive default passwords.
-
IMP-00058: ORACLE error 1017 met ORA-01017: invalid username/passwo
I want to run the Import tool with the user's system, I do not see as you see below script:
I read the following thread:D:\TÖÖ\exp_ddl.dmp>sqlplus system/[email protected] as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 4 16:40:58 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Personal Oracle Database 10g Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options SQL> ALTER USER "SYSTEM" IDENTIFIED BY VALUES 'a'; User altered. SQL> quit; Disconnected from Personal Oracle Database 10g Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options D:\TÖÖ\exp_ddl.dmp>imp userid=system/[email protected] file=exp_cas_ddl.dmp log=exp_ca s_ddl.log full=y Import: Release 10.2.0.1.0 - Production on Mon Oct 4 16:41:31 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. IMP-00058: ORACLE error 1017 encountered ORA-01017: invalid username/password; logon deniedUsername: system Password: IMP-00058: ORACLE error 1017 encountered ORA-01017: invalid username/password; logon deniedUsername: SYSTEM Password: IMP-00058: ORACLE error 1017 encountered ORA-01017: invalid username/password; logon denied IMP-00005: all allowable logon attempts failed IMP-00000: Import terminated unsuccessfully D:\TÖÖ\exp_ddl.dmp>sqlplus system/[email protected] as sysdba SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 4 16:41:53 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Personal Oracle Database 10g Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options SQL> select sysdate from dual; SYSDATE --------- 04-OCT-10 SQL> quit; Disconnected from Personal Oracle Database 10g Release 10.2.0.1.0 - Production With the Partitioning, OLAP and Data Mining options D:\TÖÖ\exp_ddl.dmp>sqlplus system/[email protected] SQL*Plus: Release 10.2.0.1.0 - Production on Mon Oct 4 16:46:13 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. ERROR: ORA-01017: invalid username/password; logon denied Enter user-name:
That did not help much either i think.
I want is to have a single command that works "Imp" and gives the name tns-database as an input parameter and the user_id parameter must be in pramaters. I can run this way Import?What about:
alter user system identified by A;
I guess that the command "change user
identified by values '" is the command to settig the encrypted password.
Only, it will be useful carry passwords of a database to another, but do not for the definition of passwords initially.Edited by: hartmutm the 04.10.2010 07:22
-
[SQL * Loader] ORA-01747 on column name 'INDEX '.
Hello
I use SQL * Loader to load the test data for the CSV files. I have a column whose name is "INDEX". SQL * Loader works very well under Linux (Red Hat 6 - Client Oracle 11.2.0.1.0) but I encounter ORA-01747 launch my Workstation Windows (Oracle Server 11.2.0.1.0).
For more information, I target the same instance (Red Hat 6 - Oracle Server 11.2.0.1.0).
You have an idea how to solve the problem (without renaming the column )?
Thanks for any help you can provide.
I finally find the solution surrounding the column name with double quotes ("") within the control file. Thank you to remember the format of "protector".
-
specification of invalid column, table.column, or user.table.column
I'm doing a simple one-to-one mapping.
I'm trying to associate a key to my table in the source field with a key field in my target table.
Both are Oracle tables.
Mapping in source.
Target Key and Check the column not Null (Flow Control) have been checked.
Error message I receive:
1747: 42000: java.sql.SQLException: ORA-01747: invalid column, table.column, or user.table.column specification
java.sql.SQLException: ORA-01747: invalid column, table.column, or user.table.column specification
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:633)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1086)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3057)
at com.sunopsis.sql.SnpsQuery.executeUpdate (SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt (SnpSessTaskSqlI.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask (SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep (SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession (SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand (DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute (DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i (e.java)
at com.sunopsis.dwg.cmd.g.y (g.java)
at com.sunopsis.dwg.cmd.e.run (e.java)
at java.lang.Thread.run (unknown Source)
The query ODI runs:
/ * DETECTION_STRATEGY = NOT_EXISTS * /.
Update MIG_PROF ATTRIB_MATRIX t.
Set)
) =
(
Select
of ODIWORK. I HAVE$ _ATTRIB_MATRIX S
where T.BAC = S.BAC
)
where (LAC)
en)
Select TRAY
of ODIWORK. I _ATTRIB_MATRIX $
where IND_UPDATE = 'U '.
)
Help, please.It simply means that you specified all the columns in your target as key columns data store.
If you see the request on the operator:/ * DETECTION_STRATEGY = NOT_EXISTS * /.
Update MIG_PROF ATTRIB_MATRIX t.
Set)
) =
(
Select
of ODIWORK. I HAVE$ _ATTRIB_MATRIX S
where T.BAC = S.BAC
)where (LAC)
en)
Select TRAY
of ODIWORK. I _ATTRIB_MATRIX $
where IND_UPDATE = 'U '.
)(value =)
There is no column within the brackets. To do at least a nonkey column in the mapping to use this KM for update.
Hope that helps -
MERGER into slider throws the error message: ORA-01747
Hi guys,.
I'm new in PL/SQL and I'm taking the last row of a database table and add the same data in another table with the same structure, but for the ancestors of the current employee. Something like:
Day EmpID LOB (key fields)
12-1007-29
EmpID has 24 and 95 ancestors. That's why in the destination table I have to insert (or update of status and idforum if these three key areas already exists):
EmpID LOB day
24 1007 29
95-1007-29
There are 4 tables:
X - table base;
Y - destination table (same structure as X);
Z - the relationship between the employee and ancestor;
W - plays the role of a temporary table, but is a real table - only for the MERGER;
============================================================================================
create or replace
PROCEDURE INSERT_PARENTS AS
BEGIN
DECLARE
EMP_VAR NUMBER (38.0). -employee
NUMBER OF ANCESTOR_ID; -relative of the employee
NUMBER OF LOB_VAR; -LOB
NUMBER OF DAY_VAR; -date of
NUMBER OF FORUMID_VAR; -Idforum
STATUS_VAR VARCHAR2 (20); -Status
Parents of CURSOR
IS
SELECT ancestor_key FROM Z WHERE member_key = EMP_VAR; -This slider will go through all the ancestors of the employee
Number EMPROWID_VAR; -It's the key to the table Y (destination table)
BEGIN
-extract the last line of the table of database variables
SELECT EMPL_KEY in the EMP_VAR OF X WHERE EMPROW_ID = (SELECT Max (EMPROW_ID) OF X);
SELECT LOB_KEY in the LOB_VAR OF X WHERE EMPROW_ID = (SELECT Max (EMPROW_ID) OF X);
SELECT DAY_KEY in the DAY_VAR OF X WHERE EMPROW_ID = (SELECT Max (EMPROW_ID) OF X);
SELECT IDFORUM in FORUMID_VAR OF X WHERE EMPROW_ID = (SELECT Max (EMPROW_ID) OF X);
SELECT STATUS in STATUS_VAR OF X WHERE EMPROW_ID = (SELECT Max (EMPROW_ID) OF X);
SELECT NVL (Max (EMPROW_ID), 0) + 1 in EMPROWID_VAR OF Y; -initialize the key to the table max + 1 of the existing key Y
Parents OPEN.
LOOP
EXTRACT the parents in ANCESTOR_ID;
EXIT WHEN parents % NOTFOUND;
EMPROWID_VAR: = EMPROWID_VAR + 1;
-the value of the new key for Y
INSERT w (emprowid_var, lob_var, ancestor_id, day_var, forumid_var, status_var)
VALUES (EMPROWID_VAR, LOB_VAR, ANCESTOR_ID, DAY_VAR, FORUMID_VAR, STATUS_VAR); -prepare the source for the MERGE statement
-merge data between 2 tables:
-If a parent already exists in the destination, to update just idforum and the new status
-If that parent does not exist in the dest table, will be inserted with the status ' U/R '.
MERGE TO Y Dest
USING the W
WE (Dest.LOB_KEY = Surce.LOB_VAR AND)
Dest.EMPL_KEY = Surce.ANCESTOR_ID AND
Dest.DAY_KEY = Surce.DAY_VAR)
WHEN MATCHED, THEN update to SET (Dest.FORUMID = Surce.FORUMID_VAR,
Dest.STATUS = Surce.STATUS_VAR)
WHEN NOT MATCHED THEN INSERT (Dest.EMPROW_ID, Dest.LOB_KEY, Dest.EMPL_KEY, Dest.DAY_KEY, Dest.FORUMID, Dest.STATUS)
VALUES (Surce.EMPROWID_VAR, Surce.LOB_VAR, Surce.ANCESTOR_ID, Surce.DAY_VAR, Surce.FORUMID_VAR, ' U/R');
END LOOP;
END;
END INSERT_PARENTS;
When I try to run this procedure (compile) I get this error message:
Error (53,37): PL/SQL: ORA-01747: invalid column, table.column, or user.table.column specification
Can you tell me where I am doing wrong? (I'm pretty sure that it's in the Merge statement, but what is it?)
Thanks in advance.
Published by: petresion on November 19, 2011 14:02without the paintings I never would have found
MERGE INTO y dest USING w surce ON (dest.lob_key = surce.lob_var AND dest.empl_key = surce.ancestor_id AND dest.day_key = surce.day_var ) WHEN matched THEN UPDATE SET dest.forumid = surce.forumid_var, dest.status = surce.status_var WHEN NOT matched THEN INSERT ( dest.emprow_id, dest.lob_key, dest.empl_key, dest.day_key, dest.forumid, dest.status) VALUES ( surce.emprowid_var, surce.lob_var, surce.ancestor_id, surce.day_var, surce.forumid_var, 'U/R');
-
PL/SQL: ORA-01747... trigger?
Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE Production 11.2.0.3.0
AMT for Solaris: 11.2.0.3.0 - Production Version
NLSRTL Version 11.2.0.3.0 - Production
I create instead of relaxing and it is to compile with error and gives me the error of:
PL/SQL: ORA-01747: invalid column, table.column, or user.table.column specification
I compared the columns all the way back to the original table and I can't choose where or it fails on.
Here is the original table:
DROP TABLE NRIS_WBETTERS. NRN_TOTAL_SUMMARY CASCADE CONSTRAINTS;
CREATE THE TABLE NRIS_WBETTERS. NRN_TOTAL_SUMMARY
(
Sys_guid() TOTAL_CN VARCHAR2 (40 BYTE) DEFAULT is NOT NULL.
ROUND NUMBER (3) NOT NULL,
REGION_CODE VARCHAR2 (5 BYTE) NOT NULL,
AFOREST_CODE VARCHAR2 (15 BYTE) NOT NULL,
SUBUNIT VARCHAR2 (15 BYTE),
TYPESITE VARCHAR2 (15 BYTE) NOT NULL,
SAMP_STRATUM VARCHAR2 (6 BYTE) NOT NULL,
SAMPLEYEAR VARCHAR2 (5 BYTE) NOT NULL,
SAMPLED_DAYS NUMBER (3).
AGREEDTO NUMBER 4,
LERNUM NUMBER 4,
NNH NUMBER (8).
SITE_VISITS NUMBER (10),
SVPERDAY NUMBER (8,1).
DAYSNOINTS NUMBER 4,
DAYSNOLER NUMBER 4,
LERPERDAY NUMBER (4.1).
SVCONFINT NUMBER (5.1).
LAST_UPDATE DATE DEFAULT sysdate is NOT NULL,
VPDUNIT_ID VARCHAR2 (10 BYTE) NOT NULL
)
TABLESPACE USERS
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE)
80K INITIAL
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
GRANT SELECT, UPDATE ON NRIS_WBETTERS. NRN_TOTAL_SUMMARY TO TEMP_NVUM_FY;
Here is the view that the trigger is activated on:
DROP VIEW NVUM_FY. NRN_TOTAL_SUMMARY_V;
/ * Formatted on 14/03/2014 07:47:04 (PS5 v5.256.13226.35538) * /.
CREATE OR REPLACE FORCE VIEW NVUM_FY. NRN_TOTAL_SUMMARY_V
(
TOTAL_CN,
ID,
AFOREST_CODE,
SUBUNIT,
TYPESITE,
SAMP_STRATUM,
SAMPLED_DAYS,
AGREEDTO,
LERNUM,
NNH,
DAYSNOINTS,
DAYSNOLER,
LERPERDAY,
SVCONFINT,
SITE_VISITS,
SVPERDAY
)
AS
(SELECT 'TOTAL_CN',
"ID."
"AFOREST_CODE,"
"SUBUNIT."
"TYPESITE."
"SAMP_STRATUM,"
"SAMPLED_DAYS,"
"AGREEDTO."
"LERNUM,"
"NNH."
"DAYSNOINTS,"
"DAYSNOLER,"
"LERPERDAY,"
"SVCONFINT,"
"SITE_VISITS,"
'SVPERDAY '.
OF NRIS_WBETTERS. FY07_RECONCILED_TOTAL_SUMMARY);
CREATE OR REPLACE TRIGGER NVUM_FY. NRN_TOTAL_SUMMARY_II
INSTEAD OF UPDATE
ON NVUM_FY.nrn_total_summary_v
FOR EACH LINE
BEGIN
UPDATE nris_wbetters.nrn_total_summary
SET SAMP_STRATUM =: NEW. SAMP_STRATUM,
SAMPLED_DAYS =: NEW. SAMPLED_DAYS,
AGREEDTO =: NEW. AGREEDTO,
LERNUM =: NEW. LERNUM,
LONG =: NEW. ROUND,
REGION_CODE =: NEW. REGION_CODE,
NNH =: NEW. NNH,
DAYSNOINTS =: NEW. DAYSNOINTS,
DAYSNOLER =: NEW. DAYSNOLER,
LERPERDAY =: NEW. LERPERDAY,
SVCONFINT =: NEW. SVCONFINT,
SITE_VISITS =: NEW. SITE_VISITS,
SVPERDAY =: NEW. SVPERDAY,
SAMPLEYEAR =: NEW. SAMPLEYEAR,
WHERE total_cn =: NEW.total_cn
AND aforest_code =: NEW.aforest_code
AND sitenumber =: NEW.sitenumber
AND TypeSite =: NEW.sitetype;
END nrn_proxy_summary_ii;
/
And here's the trigger.
DROP TRIGGER NVUM_FY. NRN_TOTAL_SUMMARY_II;
CREATE OR REPLACE TRIGGER NVUM_FY. NRN_TOTAL_SUMMARY_II
INSTEAD OF UPDATE
ON NVUM_FY.nrn_total_summary_v
FOR EACH LINE
BEGIN
UPDATE nris_wbetters.nrn_total_summary
SET SAMP_STRATUM =: NEW. SAMP_STRATUM,
SAMPLED_DAYS =: NEW. SAMPLED_DAYS,
AGREEDTO =: NEW. AGREEDTO,
LERNUM =: NEW. LERNUM,
NNH =: NEW. NNH,
DAYSNOINTS =: NEW. DAYSNOINTS,
DAYSNOLER =: NEW. DAYSNOLER,
LERPERDAY =: NEW. LERPERDAY,
SVCONFINT =: NEW. SVCONFINT,
SITE_VISITS =: NEW. SITE_VISITS,
SVPERDAY =: NEW. SVPERDAY,
WHERE TOTAL_CN =: NEW. TOTAL_CN
AND AFOREST_CODE =: NEW. AFOREST_CODE
AND TYPESITE =: NEW. TYPESITE;
END;
/
In relaxation, the line that is highlighted when the script ends is the clause WHERE of TOTAL_CN. I know not true but if it is a false witness or what, but I could not figure out where the error is or why.
Is anyone able to see what I can't do?
Thank you.
Hello
LostInPermuation wrote:
...
CREATE OR REPLACE TRIGGER NVUM_FY. NRN_TOTAL_SUMMARY_IIINSTEAD OF UPDATE
ON NVUM_FY.nrn_total_summary_v
FOR EACH LINE
BEGIN
UPDATE nris_wbetters.nrn_total_summary
SET SAMP_STRATUM =: NEW. SAMP_STRATUM,
SAMPLED_DAYS =: NEW. SAMPLED_DAYS,
AGREEDTO =: NEW. AGREEDTO,
LERNUM =: NEW. LERNUM,
LONG =: NEW. ROUND,
REGION_CODE =: NEW. REGION_CODE,
NNH =: NEW. NNH,
DAYSNOINTS =: NEW. DAYSNOINTS,
DAYSNOLER =: NEW. DAYSNOLER,
LERPERDAY =: NEW. LERPERDAY,
SVCONFINT =: NEW. SVCONFINT,
SITE_VISITS =: NEW. SITE_VISITS,
SVPERDAY =: NEW. SVPERDAY,
SAMPLEYEAR =: NEW. SAMPLEYEAR,
WHERE total_cn =: NEW.total_cn
AND aforest_code =: NEW.aforest_code
AND sitenumber =: NEW.sitenumber
AND TypeSite =: NEW.sitetype;
END nrn_proxy_summary_ii;
/
And here's the trigger.
DROP TRIGGER NVUM_FY. NRN_TOTAL_SUMMARY_II;
CREATE OR REPLACE TRIGGER NVUM_FY. NRN_TOTAL_SUMMARY_II
INSTEAD OF UPDATE
ON NVUM_FY.nrn_total_summary_v
FOR EACH LINE
BEGIN
UPDATE nris_wbetters.nrn_total_summary
SET SAMP_STRATUM =: NEW. SAMP_STRATUM,
SAMPLED_DAYS =: NEW. SAMPLED_DAYS,
AGREEDTO =: NEW. AGREEDTO,
LERNUM =: NEW. LERNUM,
NNH =: NEW. NNH,
DAYSNOINTS =: NEW. DAYSNOINTS,
DAYSNOLER =: NEW. DAYSNOLER,
LERPERDAY =: NEW. LERPERDAY,
SVCONFINT =: NEW. SVCONFINT,
SITE_VISITS =: NEW. SITE_VISITS,
SVPERDAY =: NEW. SVPERDAY,
WHERE TOTAL_CN =: NEW. TOTAL_CN
AND AFOREST_CODE =: NEW. AFOREST_CODE
AND TYPESITE =: NEW. TYPESITE;
END;
/
In relaxation, the line that is highlighted when the script ends is the clause WHERE of TOTAL_CN. I know not true but if it is a false witness or what, but I could not figure out where the error is or why.
Is anyone able to see what I can't do?
Thank you.
You don't want the last comma just before the keyword WHERE.
I get an error of re-creation of the view, so I can't say if there are problems.
-
Hello
When executing this query, Iam getting error.
PL/SQL: ORA-01747: invalid column, table.column, or user.table.column specification
declare cursor c1 is select * from SCTS05MAR12.M09_NT_UV_CONTACT; cur c1%rowtype; begin open c1; loop fetch c1 into cur; insert into MCA20APR12.M09_NT_UV_CONTACT (ADABAS_ISN , ( CONTACT_NAME, PTT_CARRIER_CD, PTT_SEQ_NBR, TEL_NBR , FAX_NBR , TELEX_NBR , CONTACT_ST , NETPRO_TRANSM_DT, NETPRO_TRANSM_TM , NETPRO_TRANSM_ST , NETPRO_TRANSM_ST_DT, NETPRO_TRANSM_ST_TM , NETPRO_TRANSM_ERR_CD, CRTE_DT , CRTE_TM , UPDT_DT , UPDT_TM , UPDT_PGM , CREATOR_ID , LAST_CHG_ID , CONTACT_ID ) values ( cur.ADABAS_ISN, cur. CONTACT_NAME, cur.PTT_CARRIER_CD , cur.PTT_SEQ_NBR, cur.TEL_NBR , cur.FAX_NBR , cur.TELEX_NBR , cur.CONTACT_ST , cur.NETPRO_TRANSM_DT , cur.NETPRO_TRANSM_TM , cur.NETPRO_TRANSM_ST , cur.NETPRO_TRANSM_ST_DT , cur.NETPRO_TRANSM_ST_TM , cur.NETPRO_TRANSM_ERR_CD, cur.CRTE_DT , cur.CRTE_TM , cur.UPDT_DT , cur.UPDT_TM , cur.UPDT_PGM , cur.CREATOR_ID , cur.LAST_CHG_ID , STG_NT_UV_CONTACT.NEXTVAL); end loop; close c1; EXCEPTION WHEN others THEN DBMS_OUTPUT.PUT_LINE('Exception: ' || sqlerrm); close c1; end;
First step would be to remove the clause WHEN OTHERS and simply allow the error appears on the screen with the exact line where its been triggered.
Once you get that check if the name of the specified object is correct. If it is, check for privileges on the table for the current user.
-
SQL * Loader - rejected records - error on table ORA-01722: invalid number
Get the following errors:
Please tell me where I'm wrong?
The log file and extracts the data file with the control file is attached.
Also guide me please how I can download 4900 files at once?
-------------------------------------
SQL * Loader: release 11.1.0.7.0 - Production on Fri 14 Oct 03:06:06 2011
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Control file: sample.ctl
Data file: Cities.csv
Bad leadership: Cities.bad
Discard File: none is specified
(Allow all releases)
Number of loading: ALL
Number of jump: 0
Authorized errors: 50
Link table: 64 lines, maximum of 256000 bytes
Continuation of the debate: none is specified
Path used: classics
Table CITY, loaded from every logical record.
Insert the option in effect for this table: INSERT
Column Position Len term Encl. Datatype name
------------------------------ ---------- ----- ---- ---- ---------------------
FIRST ID *, CHARACTER
35. ACCORDING TO NAME, ' CHARACTER
COUNTRYCODE 3, ' CHARACTER
THE NEXT POPULATION * CHARACTER WHT
Sheet 1: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 2: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 3: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Folder 4: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 5: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 6: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 7: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 8: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
File 9: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Case 10: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Factsheet 11: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 12: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
File 13: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Fact sheet 14: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Fact sheet 15: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 16: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
File 17: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 18: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
File 19: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 20: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 21: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Account 22: rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 23: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record number of 24: rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 25: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Fact sheet 26: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Fact sheet 27: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 28: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 29: rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 30: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record of 31: rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
• Statement 32: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 33: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Page 34: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 35: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 36: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 37: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 38: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 39: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 40: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 41: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Page 42: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 43: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Sheet 44: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 45: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
• Statement 46: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 47: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 48: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 49: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Page 50: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
Record 51: Rejected - error on the table CITY, POPULATION column.
ORA-01722: invalid number
NUMBER of MAXIMUM ERRORS EXCEEDED - above the statistics reflect partial performance.
CITY table:
0 rows successfully loaded.
51 lines not filled due to data errors.
0 rows not loading because all WHEN clauses were failed.
0 rows not populated because all fields are null.
The space allocated to bind table: 35840 bytes (64 lines)
Bytes of read buffer: 1048576
Total logical records ignored: 0
Total logical records read: 64
Total rejected logical records: 51
Total logical records ignored: 0
Run started on Fri 14 Oct 03:06:06 2011
Run finished Fri Oct 14 03:06:12 2011
Time was: 00:00:06.18
Time processor was: 00:00:00.03
----------------------------------------------------------------------
my control file (sample.ctl):
Load data infile 'Cities.csv '.
in the town of table
fields completed by «,»
(external id integer,
char (35) name box by ' ', '
CountryCode tank (3) box by ' ', '
external population integer terminated by '\n '.
)
my data (Cities.csv) file (it contains 4900 documents, but I show 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!Watch when I have a little change your database as follows
1,'Kabul','AFG',1780000 2,'Qandahar','AFG','237500' 3,'Herat','AFG','186800'
I got the same error (last 2 rows rejected for the same number invalid error)
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.09
Value of the population within the data file must be a number
Best regards
Mohamed Houri
-
ORA-14030: partitioning column does not exist in the CREATE TABLE statement
Hi all
We are trying to create a partition materialized view and get an error below.
ORA-14030: partitioning column does not exist in the CREATE TABLE statement
Our GL_BALANCES21 and GL_CODE_COMBINATIONS21 base tables is already divided by interval of the range on Code_combination_id.
In the same way that we try to partition the view materialized
We get the error.
ORA-14030: partitioning column does not exist in the CREATE TABLE statement
Where the clause there are 4 tables gl_balances21, gl_code_combinations21, gl_periods and gl_set_of_books.
CREATE MATERIALIZED VIEW apps. BAL_PART
PARTITION BY RANGE ("CODE_COMBINATION_ID")
(SCORE LOWER (80000) VALUES,
PARTITION OF LOWER VALUES (160000),
PARTITION OF LOWER VALUES (240000),
PARTITION OF LOWER VALUES (320000),
PARTITION OF LOWER VALUES (400000),
PARTITION OF LOWER VALUES (480000),
PARTITION OF LOWER VALUES (560000),
PARTITION OF LOWER VALUES (640000),
PARTITION OF LOWER VALUES (720000),
PARTITION OF VALUES LESS THAN (800000),
PARTITION OF LOWER VALUES (880000),
PARTITION OF LOWER VALUES (960000),
PARTITION OF VALUES LESS THAN (10400000),
PARTITION OF LOWER VALUES (11200000),
PARTITION OF LOWER VALUES (12000000),
PARTITION OF LOWER VALUES (12800000),
PARTITION OF VALUES LESS THAN (13600000),
PARTITION OF LOWER VALUES (14400000),
PARTITION OF VALUES LESS THAN (15200000),
PARTITION OF LOWER VALUES (16000000),
PARTITION OF VALUES LESS THAN (16800000),
PARTITION OF VALUES LESS THAN (17600000),
PARTITION OF VALUES LESS THAN (18400000),
PARTITION OF VALUES LESS THAN (19200000),
PARTITION OF LOWER VALUES (20000000),
PARTITION OF VALUES LESS THAN (20800000),
PARTITION OF VALUES LESS THAN (21600000),
PARTITION OF VALUES LESS THAN (22400000),
PARTITION OF VALUES LESS THAN (23200000),
PARTITION OF LOWER VALUES (24000000),
PARTITION OF VALUES LESS THAN (24800000),
PARTITION OF VALUES LESS THAN (25600000),
PARTITION OF VALUES LESS THAN (26400000),
PARTITION OF LOWER VALUES (27200000),
PARTITION OF LOWER VALUES (28000000),
PARTITION OF VALUES LESS THAN (28800000),
PARTITION OF VALUES LESS THAN (29600000),
PARTITION OF VALUES LESS THAN (30400000),
PARTITION VALUES LESS THAN (MAXVALUE))
QUICKLY REFRESH ON DEMAND
SELECT the QUERY REWRITE as
SELECT GL.GL_CODE_COMBINATIONS21. ROWID C1,
GL.GL_BALANCES21. ROWID C2,
"GL". "" GL_BALANCES21 ". "" ACTUAL_FLAG, "
"GL". "" GL_BALANCES21 ". "" CURRENCY_CODE "
"GL". "" GL_BALANCES21 ". "" PERIOD_NUM, "
"GL". "" GL_BALANCES21 ". "" PERIOD_YEAR ".
"GL". "" GL_BALANCES21 ". "" SET_OF_BOOKS_ID ""SOB_ID"
"GL". "" GL_CODE_COMBINATIONS21 ". "" CODE_COMBINATION_ID ""CCID.
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT1 ",.
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT10, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" DIRECTION11, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT12, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT13, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT14, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT2 ",.
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT3. "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT4, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT5, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT6, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT7. "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT8, "
"GL". "" GL_CODE_COMBINATIONS21 ". "" SEGMENT9, "
"GL". "" "" GL_PERIODS '. "" PERIOD_NAME,"
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) Open_Bal_Cr,
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) +.
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Close_Bal_Cr,
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0) Open_Bal_Dr,
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0) +.
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0) Close_Bal_Dr,
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0).
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) Open_Bal,
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_DR', 0).
NVL ("GL". "GL_BALANCES21" "." " (BEGIN_BALANCE_CR', 0) +.
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0).
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Close_Bal,
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_CR', 0) Period_Cr,
NVL ("GL". "GL_BALANCES21" "." " (PERIOD_NET_DR', 0) Period_Dr
OF GL.GL_CODE_COMBINATIONS21.
GL.GL_BALANCES21,
GL.GL_SETS_OF_BOOKS,
GL.GL_PERIODS
WHERE GL.GL_BALANCES21. CODE_COMBINATION_ID = GL.GL_CODE_COMBINATIONS21. CODE_COMBINATION_ID
AND GL.GL_SETS_OF_BOOKS. SET_OF_BOOKS_ID = GL.GL_BALANCES21. SET_OF_BOOKS_ID
AND GL.GL_PERIODS. PERIOD_NUM = GL.GL_BALANCES21. PERIOD_NUM
AND GL.GL_PERIODS. PERIOD_YEAR = GL.GL_BALANCES21. PERIOD_YEAR
AND GL.GL_PERIODS. PERIOD_TYPE = GL.GL_BALANCES21. PERIOD_TYPE
AND GL.GL_PERIODS. PERIOD_NAME = GL.GL_BALANCES21. PERIOD_NAME
AND GL.GL_PERIODS. PERIOD_SET_NAME = GL.GL_SETS_OF_BOOKS. PERIOD_SET_NAME
and gl.GL_CODE_COMBINATIONS21.summary_flag! = « Y »
ERROR on line 54:
ORA-01013: user has requested the cancellation of the current operation
I checked the metalink note saying that ensure that all columns in a partitioning column list are columns of
the table being created.
Partition is already there, on the column of code_combination_id of gl_balances21 and gl_code_combinations21.
Please suggest.
Thank youIt's your mistake:
PARTITION BY RANGE ("CODE_COMBINATION_ID")
but in your projection of column list, you have an alias he:
"GL"."GL_CODE_COMBINATIONS21"."CODE_COMBINATION_ID" "CCID",
You must use the alias as a partition key, not the name fom the secondary table column.
--
John Watson
Oracle Certified Master s/n
http://skillbuilders.com
Maybe you are looking for
-
PowerBook Pismo display Assembly replacement source?
A fat person sitting on my Pismo. He folded the flap and broke the LCD screen. I can still use with an external display. Where can I buy for a clamshell replacement? AtDhVaAnNkCsE CCC
-
Cannot open new tabs to the menu, with double click or Ctrl + T
Has been using firefox without problems until this morning. Now impossible to get a new tab to open by double clicking on the tab or by selecting 'new tab' file, or by using CTRL + t. run OS x 10.6.8.
-
I can't access a webmail site I used as recently as 2 days ago
Briefly noticed there was an automatic restart of my computer laptop Tuesday morning, and then was unable to access this site, which is my company email and I'm home following back surgery. Please help, I need access!
-
How will I know if other people use my internet?
We have a vacation spot, we had not been for some time. When I turned on my computer, it just put me in WiFi without entering the password. It is password protected, but it was not obliged. I don't know people in the complex have used my private W
-
Can I use muy computer to fill out a paper form
I find it very difficult to write something readable, due to illness. Is it possible that I can fill out a form using my Acer Aspire 3050 Portable Media Center Edition 32 bit Dell V105 printer with Windows XP.Any suggestion will be in simple step by