Existing table not found
Hi allI'm new to this forum. I'm having a problem here. I'm looking for a table. I know not under what user the table is created. I'm able to query the table, but when I query the dba_tables I can't find the table that's weird. Please help me find the table
SQL > select user_id, username, account_status from dba_users where as username
' *'% EDAA_USER % '; *
USER_ID ACCOUNT_STATUS USERNAME
111 EDAA_USER OPEN
SQL > select * from dba_tables where owner = 'EDAA_USER' and table_name = ' CLM_DE
NT_HEADER';
no selected line
SQL > desc edaa_user.clm_dent_header
Name Null? Type
ACCUM_UPDT VARCHAR2 (3)
ALT_ID VARCHAR2 (27)
AMOUNT_PAID NUMBER (10.2)
CAT_NUM VARCHAR2 (3)
CERT_NO VARCHAR2 (9)
CHECK_NO VARCHAR2 (9)
CHECK_AMT NUMBER (10.2)
CHECK_DATE DATE
CHECK_STATUS VARCHAR2 (6)
CHECK_STATUS_DESC VARCHAR2 (200)
CLAIM_NO VARCHAR2 (12)
CLM_DENT_HEADER_KEY NOT NULL NUMBER (38)
CLAIM_STATUS VARCHAR2 (12)
CLAIM_STATUS_DESC VARCHAR2 (200)
REC_CODE VARCHAR2 (2)
COINS_AMT NUMBER (10.2)
COPAY_AMT NUMBER (10.2)
DATE OF CHECK_CASHED_DATE
DATE OF SETTLED_DATE
DEDUCTIBLE_AMT NUMBER (10.2)
E_DOC_FLAG VARCHAR2 (3)
START_DATE DATE
GROUP_NO VARCHAR2 (8)
INTEREST_PAID NUMBER (7.2)
END_DATE DATE
LETTER_CODE VARCHAR2 (6)
LETTER_DESC VARCHAR2 (200)
MBR_DEMO_KEY NUMBER (38)
NEA_ID VARCHAR2 (15)
NOTES VARCHAR2 (4000)
PAR_NON_PAR_IND VARCHAR2 (3)
PAR_NON_PAR_IND_DESC VARCHAR2 (200)
DATE OF MBR_DOB
MBR_FIRST_NM VARCHAR2 (30)
MBR_LAST_NM VARCHAR2 (30)
PAID_TO VARCHAR2 (3)
PAY_TO_NUM VARCHAR2 (13)
PAY_TO_DESC VARCHAR2 (30)
PAY_TO_SUFFIX VARCHAR2 (4)
PROC_BY_ID VARCHAR2 (3)
PRV_FIRST_NM VARCHAR2 (12)
PRV_DEMO_KEY NUMBER (38)
PRV_LAST_NM VARCHAR2 (20)
PRV_NO VARCHAR2 (13)
QC_FLAG VARCHAR2 (3)
DATE OF RECEIVED_DATE
NOTE VARCHAR2 (240)
DATE OF STATUS_DATE
SUPR_ID VARCHAR2 (3)
TAX_NO VARCHAR2 (9)
TOTAL_ALLOWED NUMBER (10.2)
TOTAL_CHARGE NUMBER (8.2)
DATE OF UPDATE_DATE
CHEST X-RAY: NUMBER (2)
SRC_SYS_ID NOT NULL NUMBER (38)
BATCH_ID NOT NULL NUMBER (38)
ETL_DATE_CREATED NOT NULL DATE
ETL_DATE_UPDATED NOT NULL DATE
DATE OF ETL_DATE_DELETED
Try this query:
Select * from dba_objects where owner = 'EDAA_USER' and object_name = "CLM_DENT_HEADER";
Tags: Database
Similar Questions
-
Hello
I am trying to import a specific table. I tried to use the schema name directly and also '------as sysdba "in utility impdp. Both are giving the same error as shown below,
ORA-39002: invalid operation
ORA-39166: object not found Schemaname.OBJECT_LINKS.
Impdp name username/password DIRECTORY = EXP_IMP_EM = dumpfile * .dmp logfile = import_160216.log tables = OBJECT_LINKS content = data_only table_exists_action = truncate (or)
Impdp------"/ ACE sysdba\ ' DIRECTORY = EXP_IMP_EM = dumpfile * .dmp logfile = import_160216.log tables = schemaname. Content OBJECT_LINKS = data_only table_exists_action = truncate
Above are the instructions that I used, in both cases that the table is not found. But I checked and the table exists. I don't understand the problem. Could someone help me on this please?
> The dump file has details on objects SCHEMA1 and with this file I want to import a particular table in SCHEMA2. Below the synatx used,
>
> impdp/password system DIRECTORY = EXP_IMP_EM = dumpfile * .dmp logfile = import_160216.log tables = SCHEMA2.object_links content = data_only table_exists_action = truncate master_only = y job_name = master
If the dumpfile has schema1 and schema2 want, then you have to a remap_schema = schema1:schema2
The above-mentioned remap table will not work. You can't remap a pattern with a remap_table parameter.
> Now the select object_schema of the query, object_name of the master where object_type IN ('TABLE', 'TABLE_DATA') and object_name = "OBJECT_LINKS" give inferior results
>
> OBJECT_SCHEMA OBJECT_NAME > SCHEMA2 OBJECT_LINKS > SCHEMA1 OBJECT_LINKS > SCHEMA1 OBJECT_LINKS > SCHEMA1 OBJECT_LINKS I would have had you add more than a few columns to the query.
Select parameter type_objet, object_schema, processing_state, processing_status of the master where object_type IN ('TABLE', 'TABLE_DATA') and object_name = 'OBJECT_LINKS' and process_order > 0 and duplicate = 0;
You can post the modified query results?
Thank you
Dean
-
Table not found after recovery completes tablespace
Hello all, Table not found even after tablespace restored and recovered. Please loot at it if you have a minute.
SQL > conn reddy/reddy
Connected.
SQL > select table_name from user_tables where nom_tablespace = 'REDDY ';
TABLE-NAME
------------------------------
RECORDS
EMP
SQL > select * from emp;
ENAME E_NUM ESAL E_ID
-------------------- ---------- ---------- ----------
Jim 1001 40000 25
Sam 27 30000 1002
Kim 1003 35000 30
Phil 1005 25000 37
Sam 1006 32000 40
James 1009 43000 45
6 selected lines.
SQL > exit
Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.1.0 - Production
With partitioning, OLAP and Data Mining options
[oracle@RHELSRV ~] $ rman
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Apr 4 21:05:37 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN > Connect target /.
connected to target database: ORCL (DBID = 1314955841)
RMAN > backup tablespace reddy;
From backup 4 July 12
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 115 devtype = DISK
channel ORA_DISK_1: from full datafile backupset
channel ORA_DISK_1: specifying datafile (s) in backupset
input datafile fno = name=/u01/app/oracle/oradata/orcl/reddy01.dbf 00008
channel ORA_DISK_1: starting total, 1 to 4 July 12
channel ORA_DISK_1: finished piece 1 to 4 July 12
piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_07_04/o1_mf_nnndf_TAG20120704T210605_7z8rq6pb_.bkp tag = TAG20120704T210605 comment = NONE
channel ORA_DISK_1: complete set of backups, time: 00:00:07
Backup finished on 4 July 12
From control file and SPFILE Autobackup 4 July 12
total, handle = / u01/orabackup/c-1314955841-20120704-01 comment = NONE
Control finished and Autobackup SPFILE file to 4 July 12
RMAN > exit
Complete recovery manager.
[oracle@RHELSRV ~] $ expdp dumpfile = logfile = directory = dpump emp.log emp.dmp tables = emp
Export: Release 10.2.0.1.0 - Production on Wednesday, July 4, 2012 21:07:21
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Username: reddy
Password:
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With partitioning, OLAP and Data Mining options
Starting "REDDY". "" SYS_EXPORT_TABLE_01 ": reddy / * dumpfile = logfile = directory = dpump emp.log emp.dmp tables = emp
Current estimation using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 64 KB
Object type TABLE_EXPORT/TABLE/TABLE processing
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS of treatment
. . exported "REDDY". "" EMP "6,070 KB 6 ranks
Table main "REDDY". "" SYS_EXPORT_TABLE_01 "properly load/unloaded
******************************************************************************
Empty the files together for REDDY. SYS_EXPORT_TABLE_01 is:
/U01/orabackup/EMP.dmp
Work "REDDY". "" SYS_EXPORT_TABLE_01 "conducted at 21:08:07
[oracle@RHELSRV ~] $ sqlplus
SQL * more: Release 10.2.0.1.0 - Production on Wed Apr 4 08:21:21 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter the user name: reddy
Enter the password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With partitioning, OLAP and Data Mining options
SQL > drop table emp;
Deleted table.
SQL > select table_name from user_tables where nom_tablespace = 'REDDY ';
TABLE-NAME
------------------------------
RECORDS
SQL > conn virtue sysdba
Connected.
SQL > alter tablespace reddy offline;
Tablespace altered.
SQL > exit
Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.1.0 - Production
With partitioning, OLAP and Data Mining options
[oracle@RHELSRV ~] $ rman
Recovery Manager: Release 10.2.0.1.0 - Production on Wed Apr 4 21:09:39 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN > restore tablespace reddy;
From restoration to July 4, 12
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the restore command at 04/07/2012 21:09:56
RMAN-12010: automatic channel distribution initialization failed
RMAN-06171: not connected to the target database
RMAN > Connect target /.
connected to target database: ORCL (DBID = 1314955841)
RMAN > restore tablespace reddy;
From restoration to July 4, 12
using the control file of the target instead of recovery catalog database
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid = 109 devtype = DISK
channel ORA_DISK_1: from datafile backupset restoration
channel ORA_DISK_1: specifying datafile (s) to restore from backup set
restoring datafile 00008 to /u01/app/oracle/oradata/orcl/reddy01.dbf
channel ORA_DISK_1: backup /u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_07_04/o1_mf_nnndf_TAG20120704T210605_7z8rq6pb_.bkp piece reading
channel ORA_DISK_1: restored the backup part 1
piece handle=/u01/app/oracle/flash_recovery_area/ORCL/backupset/2012_07_04/o1_mf_nnndf_TAG20120704T210605_7z8rq6pb_.bkp tag = TAG20120704T210605
channel ORA_DISK_1: restore complete, duration: 00:00:01
Restoration finished in July 4, 12
RMAN > recover tablespace reddy;
To go back to July 4, 12
using channel ORA_DISK_1
starting media recovery
media recovery complete, duration: 00:00:01
Finished recover to 4 July 12
RMAN > exit
Complete recovery manager.
[oracle@RHELSRV ~] $ sqlplus "virtue sysdba".
SQL * more: Release 10.2.0.1.0 - Production on Wed Apr 4 21:10:42 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With partitioning, OLAP and Data Mining options
SQL > alter tablespace reddy online.
Tablespace altered.
SQL > conn reddy/reddy
Connected.
SQL > select table_name from user_tables where nom_tablespace = 'REDDY ';
TABLE-NAME
------------------------------
RECORDS
Thanks in advance!you have made a complete recovery - that's why everything should be consistent. After RELEASE, the data dictionary has removed information about the table. Therefore, on the restoration and recovery, also, information about the table should not exist. Oracle made the right choice by making the tablespace to be consistent with the rest of the database, including the data dictionary.
Hemant K Collette
-
Table not found but the data in the Table are available
Hello
I connected as SYS.
When it is placed below query in sql navigator, no line not found.
Select * from dba_objects where type_objet = 'TABLE' and object_name = 'GREM. "
But when placed under query, the rows are retrieved.
Select * from grem.
How is that possible?Hulk says:
It returns: SYNONYMSo, you have your answer. Now, you can issue:
column tbl format a79 select nvl2(table_owner,'"' || table_owner || '"."',null) || table_name || nvl2(db_link,'"@' || db_link,'"') tbl from dba_synonyms where synonym_name = 'GREM' / {code} and see what table synonym points to. SY.
-
Hello world
Hope all is well,
In a previous thread.
West of stem has provided the name of the discoverer table which contains the reports:
EUL5_Documents.
I went to Oracle Developer just to run a select statement on this table.
(We use discoverer out of an ODS - data warehouse - like repository)
So in Oracle developer, I signed in ODS and typed:
Select * from EUL5_documents
I typed EUL5_ a drop-down list of tables appear, so I chose EUL5_documents
I get an error msg when I run the table is not found...
All advice would be appreciated, tx, sandraHi, Sandra
You are probably using the SunGard ODS?If so, you must open a session as long as the owner of the EUL is not the owner of the ODS. In many cases, this account is ODSDISCO.
You can tell by logging in to the administration tool. Any account that you use to connect there is one that you can use to query the underlying tables. EUL5_DOCUMENTS is definitely one you want to watch.
Best wishes
Michael -
Select local (tmp) Table in function->; Table not found
Hello
I want to create a cursor that selects from a Table that does not exist in the database.
I have create this table in local table (what is that called? nested table?).
Not shown in the code but I want to fill this local array later.
After completing my cursor is going to use this full table.
When trying to launch I get the error Table or view does not exist in the 'FROM T1 TempTab_var;"my slider.
This is my simplified code:
CREATE OR REPLACE FUNCTION PC_RL_MTA_PMT RETURN PC_RL_MTA_TYPE_PMT IS result_out PC_RL_MTA_TYPE_PMT; TYPE TempTab_record_type IS RECORD (ID int); TYPE TempTab_type IS TABLE OF TempTab_record_type INDEX BY BINARY_INTEGER; TempTab_var TempTab_type; CURSOR TempCursor3_var IS SELECT ID AS ID_var FROM TempTab_var T1; BEGIN RETURN result_out; END PC_RL_MTA_PMT;
Any ideas what is wrong?
Thank you very much in advance.
And another example of my library of examples, just for you troubleshoot...
SQL > CREATE or REPLACE TYPE AS OBJECT num_descript (num number, descript varchar2 (30))
2.Type of creation.
SQL > CREATE or REPLACE TYPE tbl_num_descript AS TABLE OF THE num_descript
2.Type of creation.
SQL > CREATE or REPLACE PACKAGE AS-reftest
2 FUNCTION pipedata (number p_choice) tbl_num_descript RETURN PIPELINED;
3 END;
4.Package created.
SQL > CREATE or REPLACE PACKAGE BODY AS-reftest
2 FUNCTION pipedata (number p_choice) tbl_num_descript RETURN PIPELINED IS
3 v_obj num_descript: = num_descript (NULL, NULL);
4 v_rc sys_refcursor;
5 BEGIN
6. IF p_choice = 1 THEN
7 v_rc OPEN to SELECT empno as num, ename like descript FROM emp;
8 ELSIF p_choice = 2 THEN
9 OPEN v_rc to SELECT deptno as num, dname as descript OF THE Department;
10 END IF;
11 LOOP
12 FETCH v_rc INTO v_obj.num, v_obj.descript;
EXIT 13 WHEN v_rc % NOTFOUND;
14 PIPE ROW (v_obj);
15 END LOOP;
16 v_rc NARROW;
RETURN 17;
18 END;
END 19;
20.Package body created.
SQL > select * from table (reftest.pipedata (1));
DESCRIPT NUM
---------- ------------------------------
7369 SMITH
7499 ALLEN
7521 WARD
7566 JONES
7654 MARTIN
7698 BLAKE
7782 CLARK
7788 SCOTT
KING 7839
7844 TURNER
7876 ADAMS
JAMES 7900
7902 FORD
7934 MILLER14 selected lines.
SQL > select * from table (reftest.pipedata (2));
DESCRIPT NUM
---------- ------------------------------
10 ACCOUNTING
SEARCH 20
30 SALES
40 OPERATIONS -
Table not found error in the procedure
I am logged in as A user.
Trying to create a procedure in the TGT schema by reference to a table in the TSG scheme.
I can select directly from the table as
Select count (*) from STG. TABLE1; by logging in as A USER.
The foregoing, works very well and gives the result set.
But when I try to create a procedure such as
create or replace procedure TGT.delme as
number of v_cnt;
Start
Select count (*) in the v_cnt of ILI. TABLE1;
dbms_output.put_line (' the number is: ' | v_cnt);
end;
/
Compilation error, he throws as "PL/SQL: ORA-00942 table or view does not exist.
Please let me know the reason. Thank you.Hello
You must grant certain privileges on STG. Table1 directly to the TGT, which is you can't give them a role, and then grant the role of TGT. For PL/SQL to access an object code, privs must be granted directly. So, at some point, you'll need to issue
GRANT SELECT ON STG.TABLE1 TO TGT /
and you will need to either make connected to stg or connected as another user with permissions for this...
HTH
David
-
Hi, we get this error in an independent ADR on Grizzly implemented.
August 14, 2014 09:59:05
oracle.dbtools.common.config.db.DatabasePoolConfig readPoolConfig
WARNING: The pool_config view or a table has not been found in the schema:
APEX_LISTENER
Oracle.dbtools.rt.web.WebErrorResponse 09:59:05 August 14, 2014
internalError
GRAVE: JDBCException [kind = NO_DATA]
JDBCException [kind = NO_DATA]
defaults.xml "XXXXX" designate removed for safety, front of post
<? XML version = "1.0" encoding = "UTF-8" standalone = 'no '? >
< ! DOCTYPE SYSTEM property "http://java.sun.com/dtd/properties.dtd" > ""
Properties of <>
< comment > saved on Mon Aug 04 16:25:09 EDT 2014 < / comment >
< key "cache.caching entry" = > false < / entry >
< key = "cache.directory entry" > / tmp/apex/cache < / entry >
< key = "cache.duration entry" > days < / entry >
< key = "enter cache.expiration" > 7 < / entry >
< key = "enter cache.maxEntries" > 500 < / entry >
< key = "enter cache.monitorInterval" 60 > < / entry >
< key = "cache.procedureNameList" / entry >
< key = "cache.type entry" > lru < / entry >
< key = "db.hostname entry" > XXXXXXXXX < / entry >
< key = "db.password entry" > XXXXXXXXXXX < / entry >
< key = "db.port entry" > XXXX < / entry >
< key "db.sid entry" = > XXXXXX < / entry >
< key "debug.debugger entry" = > false < / entry >
< key "debug.printDebugToScreen entry" = > false < / entry >
< key "error.keepErrorMessages entry" = > true < / entry >
< key = "enter error.maxEntries" > 50 < / entry >
< enter key = "jdbc. DriverType"> thin < / entry >
< enter key = "jdbc. InactivityTimeout"1800 > < / entry >
< enter key = "jdbc. InitialLimit' > 3 < / entry >
< enter key = "jdbc. MaxConnectionReuseCount"> 1000 < / entry >
< enter key = "jdbc. MaxLimit' 10 > < / entry >
< enter key = "jdbc. MaxStatementsLimit' 10 > < / entry >
< enter key = "jdbc. MinLimit"> 1 < / entry >
< key = "enter jdbc.statementTimeout" > 900 < / entry >
< key "log.logging entry" = > false < / entry >
< key = "enter log.maxEntries" > 50 < / entry >
< key = "misc.compress" / entry >
< key = "misc.defaultPage entry" > apex < / entry >
< key "misc.enableOldFOP entry" = > true < / entry >
< key "security.disableDefaultExclusionList entry" = > false < / entry >
< key = "enter security.maxEntries" > 2000 < / entry >
< / properties >
Complete log
August 14, 2014 11:28:13 oracle.dbtools.standalone.Standalone run
INFO: NOTE:
Stand-alone mode is designed for use in development and test environments. This not is not supported for use in production environments.
August 14, 2014 11:28:13 oracle.dbtools.standalone.Standalone run
INFO: Starting standalone Web container to: / u00/home/oracle/ords/ords
August 14, 2014 11:28:14 oracle.dbtools.standalone.Deployer deploy
INFO: Deploy the application = /u00/home/oracle/ords/ords/ords/WEB-INF/web.xml path
August 14, 2014 11:28:17 oracle.dbtools.standalone.Deployer deploy
INFO: Deploy the application path = /u00/home/oracle/ords/ords/ords/WEB-INF/web.xml
August 14, 2014 11:28:18 oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
INFO: Using the configuration file: / u00/home/oracle/ords/ords
Configuration properties for: apex
cache. Caching = false
cache. Directory = / tmp/apex/cache
cache. Duration = Days
cache.expiration = 7
cache.maxEntries = 500
cache.monitorInterval = 60
cache.procedureNameList =
cache.type = LRU
DB. HostName = XXXXXXXXXXXXXXXXXXX
DB. Password = *.
DB.port = XXXXXXXXXXXXXXXXXXX
DB.sid = XXXXXXXXXXXXXXXXXXX
Debug.Debugger = false
debug.printDebugToScreen = false
error.keepErrorMessages = true
error.maxEntries = 50
JDBC. DriverType = thin
JDBC. InactivityTimeout = 1800
JDBC. InitialLimit = 3
JDBC. MaxConnectionReuseCount = 1000
JDBC. MaxLimit = 10
JDBC. MaxStatementsLimit = 10
JDBC. MinLimit = 1
jdbc.statementTimeout = 900
log. Logging = false
log.maxEntries = 50
Misc.Compress =
misc.defaultPage = apex
misc.enableOldFOP = true
security.disableDefaultExclusionList = false
security.maxEntries = 2000
DB. UserName = APEX_PUBLIC_USER
August 14, 2014 11:28:26 oracle.dbtools.common.config.db.ConfigurationValues intValue
ATTENTION: * jdbc. MaxLimit in the apex of configuration uses a value of 10, this setting cannot be sized properly for a production environment *.
August 14, 2014 11:28:26 oracle.dbtools.common.config.db.ConfigurationValues intValue
ATTENTION: * jdbc. InitialLimit in the apex of configuration uses a value of 3, this setting cannot be sized properly for a production environment *.
Using the JDBC driver: Oracle JDBC driver version: 11.2.0.3.0
August 14, 2014 11:28:28 oracle.dbtools.rt.web.SCListener contextInitialized
INFO: Oracle REMAINS initialized data Services
Version of REST Data Services Oracle: 2.0.8.163.10.40
The Oracle Data Services REST server info: Grizzly/1.9.49
August 14, 2014 11:28:28 com.sun.grizzly.Controller logVersion
INFO: GRIZZLY0001: from Grizzly Framework 1.9.49 - 14/08/14 11:28
August 14, 2014 11:28:28 oracle.dbtools.standalone.Standalone run
INFO: http://localhost: 8080/ADR / began to.
Configuration properties for: apex_al
cache. Caching = false
cache. Directory = / tmp/apex/cache
cache. Duration = Days
cache.expiration = 7
cache.maxEntries = 500
cache.monitorInterval = 60
cache.procedureNameList =
cache.type = LRU
DB. HostName = XXXXXXXXXXXXXXXXXXX
DB. Password = *.
DB.port = XXXXXXXXXXXXXXXXXXX
DB.sid = BXXXXXXXXXXXXXXXXXXX
Debug.Debugger = false
debug.printDebugToScreen = false
error.keepErrorMessages = true
error.maxEntries = 50
JDBC. DriverType = thin
JDBC. InactivityTimeout = 1800
JDBC. InitialLimit = 3
JDBC. MaxConnectionReuseCount = 1000
JDBC. MaxLimit = 10
JDBC. MaxStatementsLimit = 10
JDBC. MinLimit = 1
jdbc.statementTimeout = 900
log. Logging = false
log.maxEntries = 50
Misc.Compress =
misc.defaultPage = apex
misc.enableOldFOP = true
security.disableDefaultExclusionList = false
security.maxEntries = 2000
DB. UserName = APEX_LISTENER
August 14, 2014 11:32:01 oracle.dbtools.common.config.db.ConfigurationValues intValue
ATTENTION: * jdbc. MaxLimit in apex_al configuration uses a value of 10, this setting cannot be sized properly for a production environment *.
August 14, 2014 11:32:01 oracle.dbtools.common.config.db.ConfigurationValues intValue
ATTENTION: * jdbc. InitialLimit in apex_al configuration uses a value of 3, this setting cannot be sized properly for a production environment *.
August 14, 2014 11:32:03 oracle.dbtools.common.config.db.DatabasePoolConfig readPoolConfig
WARNING: The pool_config view or table is not found in the schema: APEX_LISTENER
August 14, 2014 11:40:49 oracle.dbtools.common.config.db.DatabasePoolConfig readPoolConfig
WARNING: The pool_config view or table is not found in the schema: APEX_LISTENER
August 14, 2014 11:40:50 oracle.dbtools.rt.web.WebErrorResponse internalError
GRAVE: JDBCException [kind = NO_DATA]
JDBCException [kind = NO_DATA]
at oracle.dbtools.common.jdbc.JDBCException.wrap(JDBCException.java:88)
at oracle.dbtools.common.jdbc.JDBCQueryProvider.query(JDBCQueryProvider.java:63)
at oracle.dbtools.common.jdbc.JDBCQueryProvider.query(JDBCQueryProvider.java:38)
at oracle.dbtools.rt.jdbc.entity.JDBCTenantDispatcher.tenant(JDBCTenantDispatcher.java:98)
at oracle.dbtools.rt.jdbc.entity.TenantDispatcherBase.target(TenantDispatcherBase.java:71)
at oracle.dbtools.rt.jdbc.entity.TenantDispatcherBase.target(TenantDispatcherBase.java:37)
at oracle.dbtools.rt.web.ReTargetingDispatcher.canDispatch(ReTargetingDispatcher.java:45)
at oracle.dbtools.rt.web.RequestDispatchers.choose(RequestDispatchers.java:160)
at oracle.dbtools.rt.web.RequestDispatchers.dispatch(RequestDispatchers.java:75)
at oracle.dbtools.rt.web.ETags.checkPrecondition(ETags.java:93)
at oracle.dbtools.rt.web.HttpEndpointBase.restfulServices(HttpEndpointBase.java:426)
at oracle.dbtools.rt.web.HttpEndpointBase.service(HttpEndpointBase.java:164)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
to com.sun.grizzly.http.servlet.ServletAdapter$ FilterChainImpl.doFilter (ServletAdapter.java:1059)
to com.sun.grizzly.http.servlet.ServletAdapter$ FilterChainImpl.invokeFilterChain (ServletAdapter.java:999)
at com.sun.grizzly.http.servlet.ServletAdapter.doService(ServletAdapter.java:434)
at oracle.dbtools.standalone.SecureServletAdapter.doService(SecureServletAdapter.java:91)
at com.sun.grizzly.http.servlet.ServletAdapter.service(ServletAdapter.java:379)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.grizzly.tcp.http11.GrizzlyAdapterChain.service(GrizzlyAdapterChain.java:196)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)
to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:447)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:505)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:223)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:208)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:886)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1175)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1288)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3612)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3656)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1495)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:111)
to com.sun.proxy. $Proxy44.executeQuery (unknown Source)
at oracle.dbtools.common.jdbc.JDBCQueryImpl.resultSet(JDBCQueryImpl.java:92)
to oracle.dbtools.common.jdbc.JDBCResultRowIterator. < init > (JDBCResultRowIterator.java:29)
at oracle.dbtools.common.jdbc.JDBCQueryImpl.execute(JDBCQueryImpl.java:52)
at oracle.dbtools.common.jdbc.JDBCQueryProvider.query(JDBCQueryProvider.java:60)
... more than 33
DBA has forgotten to run apex_rest_config.sql Doh!
-
Impdp table parent key not found error
I can't import a table into a database of 10.2.0.5 for 11.2.0.3 another. When I imported the first I get 1 error on creating a 1 constraint:
Impdp tables of lego/password = estact directory = datapump dumpfile = estact.dmp
Import: Version 11.2.0.3.0 - Production on Wed Apr 2 13:25:22 2014 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
With partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
Table main "LEGO". "' SYS_IMPORT_TABLE_01 ' properly load/unloaded
Departure "LEGO". ' SYS_IMPORT_TABLE_01 ': lego / * tables = directory = datapump dumpfile = estact.dmp estact.
Object type TABLE_EXPORT/TABLE/TABLE processing object TABLE_EXPORT/TABLE/TABLE_DATA of treatment type
. . imported "LEGO". "' ESTACT ' 56.01 MB 612972 lines
Processing object type TABLE_EXPORT/TABLE/SCHOLARSHIP/OWNER_GRANT/OBJECT_GRANT
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Object type TABLE_EXPORT/TABLE/CONSTRAINT/treatment
Object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS of treatment
Object type TABLE_EXPORT/TABLE/COMMENT of treatment
Object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT of treatment
ORA-39083: Type as ref_constraint cannot be created with the object error:
ORA-02298: cannot validate (LEGO. EstOp_EstAct) - parent key not found
Because sql is:
ALTER TABLE 'LEGO '. "' ESTACT ' ADD 'EstOp_EstAct' of CONSTRAINT FOREIGN KEY ('ESTOP_ID')
REFERENCES "LEGO". "" ESTOP "ENABLE ("ESTOP_ID")
Object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS treatment
Working "LEGO". "" SYS_IMPORT_TABLE_01 "completed with error (s 1) at 13:25:28
Load data however this foreign key is not there then try to create manually after I get this error:
"ORA-02298: unable to validate (LEGO." EstOp_EstAct) - parent key not found ".
This source table has 3 foreign key constraints. The one that I'm having a problem setting (above) is a constraint against himself.
I tried another approach. I exported and imported the metadata only and successfully completed. However when I then exported and imported DATA only, the data will not now with the same error:
ORA-31693: Table object 'LEGO' data "' ESTACT ' failed to load/unload and being ignored because of the error:
ORA-29913: error in executing ODCIEXTTABLEFETCH legend
ORA-02291: integrity constraint (LEGO. EstOp_EstAct) violated - key parent not found
My question is what I have to do something different when you work with a table with a foreign key against himself constraint?
Here's the DOF of the source table and 3 foreign keys:
CREATE THE LEGO TABLE. ESTACT
(
ESTOP_ID NUMBER (10,0) NOT NULL,
OPCLASS_CODE VARCHAR2 (10) NOT NULL,
ESTACT_FLAG NUMBER (5.0) NOT NULL,
COSTR_NO_EST NUMBER (5.0) NULL,
ESTACT_TIME NUMBER (10,0) NULL,
ESTACT_FIX_COST NUMBER (20.4) NOT NULL,
ESTACT_VAR_COST NUMBER (20.4) NOT NULL,
ESTACT_LAB_COST NUMBER (20.4) NOT NULL,
ESTACT_OEX_COST NUMBER (20.4) NOT NULL,
ESTACT_TOT_COST NUMBER (20.4) NOT NULL,
ESTACT_PRI_COST NUMBER (20.4) NOT NULL,
ESTACT_CM_PRICE NUMBER (20.4) NOT NULL,
ESTACT_PRI_RATE NUMBER (20.4) NOT NULL,
ESTACT_IS_PRICE NUMBER (5.0) NOT NULL,
NUMBER OF ESTACT_BASE_QTY NULL,
RULE_CODE_BASE_QTY VARCHAR2 (10) NULL,
ESTACT_NUM_FORMS NUMBER (5.0) NULL,
ESTACT_FIXMIN NUMBER (10,0) NULL,
UNIT_CODE_BASE VARCHAR2 (10) NULL,
UNIT_CODE_INPUT VARCHAR2 (10) NULL,
ESTACT_AFLAG NUMBER (5.0) NOT NULL,
NUMBER OF ESTACT_AOPRATE NULL,
RULE_AOPRATE VARCHAR2 (10) NULL,
NUMBER OF ESTACT_AWARATE NULL,
RULE_AWARATE VARCHAR2 (10) NULL,
NUMBER OF ESTACT_OPRATE NULL,
NUMBER OF ESTACT_WARATE NULL,
RULE_CODE_COSTR VARCHAR2 (10) NULL,
RULE_VAL_COSTR NUMBER (5.0) NULL,
RULE_CODE_FIXMIN VARCHAR2 (10) NULL,
CONSTRAINT ESTACT_IDX0
PRIMARY KEY (ESTOP_ID, OPCLASS_CODE)
USING INDEX TABLESPACE INDEX
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE INITIAL (128K
DEFAULT USER_TABLES)
ENABLE
VALIDATE
)
BUNCH OF ORGANIZATION
TABLESPACE USERS
LOGGING
PCTFREE 10
PCTUSED 0
INITRANS 1
MAXTRANS 255
STORAGE (DEFAULT USER_TABLES)
NOPARALLEL
NOCACHE
NOROWDEPENDENCIES
This is the foreign key DDL. Note the 1 that refers to the same table (the one I'm having a problem with)
ALTER TABLE LEGO. ESTACT
ADD CONSTRAINT 'EstOp_EstAct '.
FOREIGN KEY (ESTOP_ID)
REFERENCES TO LEGO. ESTOP (ESTOP_ID)
ENABLE
VALIDATE
/
ALTER TABLE LEGO. ESTACT
ADD CONSTRAINT 'RuleCodeCost_URULE '.
FOREIGN KEY (RULE_CODE_COSTR)
REFERENCES TO LEGO. URULE (URULE_CODE)
ENABLE
VALIDATE
/
ALTER TABLE LEGO. ESTACT
ADD CONSTRAINT 'EstActURule_FixMin '.
FOREIGN KEY (RULE_CODE_FIXMIN)
REFERENCES TO LEGO. URULE (URULE_CODE)
ENABLE
VALIDATE
/
Post edited by: karine
As Galo indicated Balda, your child table (LEGO. ESTACT) has a folder that does not exist in your table parent (LEGO. ESTOP) and this effect is impossible to create the foreign key.
You can find the recordings by running:
select estop_id from LEGO.ESTACT -- CHILD TABLE minus select estop_id from LEGO.ESTOP -- PARENT TABLE
AFTER BACK YOU UP YOUR DATA, you need to create the new record in the parent table or remove the child table record in order to comply with the foreign key constraint.
-
IMP Tables of DMP file not found.
Hello world
I have exported a schema of database to oracle 11g and I have a .dmp file. I used this .dmp file to import the schema again and this has been done successfully. But now I'm trying to
import the .dmp even that it says it cannot find 2 tables in there. How could I see if these tables do not exist in the .dmp files? Why is it got already imported
and now the 2 tables is not found in the .dmp file? all could help me please...
Thanks in advanceUse show = y, command option imp to check the contents of the import file. If the import using this dump file was successful earlier, then the most likely scenario is that the creations of 2 table may have failed.
Thank you
http://swervedba.WordPress.com -
Have inadvertently made my banks logo my background on my table, please help, not found the answer anywhere.
Hello
See if this helps you:
"Change your desktop background (wallpaper).
http://Windows.Microsoft.com/en-us/Windows/change-desktop-background-wallpaper#1TC=Windows-7
See you soon.
-
Add the constraint not NULL in the existing table that has null values
Hello
I want to add a constraint not null to and an existing table, but the table already contains values null in this column.
EMP
Emp_id name
1 axada
2
3 sdkdd
Here is already the data IE 2 empid is Null as name. I must add a fool of constraint not null which new values will not be null, but I don't want to change the data of exisitng alreadt which is null.
Hello
"The opposite": NOVALIDATE does not validate the data that is ALREADY in the table, but do not allow the insertion of a NULL value.
Have you tried my sample code?
CREATE TABLE MaTable (x NUMBER PRIMARY KEY, y NUMBER);
INSERT INTO myTable VALUES (1, 123);
INSERT INTO myTable VALUES ( 2, NULL );
INSERT INTO myTable VALUES (3, 456);
ALTER TABLE mytable MODIFY (y NOT NULL NOVALIDATE );
INSERT INTO myTable VALUES (4, 678);
INSERT INTO myTable VALUES ( 5, NULL );
SELECT * FROM MyTable;
'2' line was inserted with null before the creation of the NOT NULL constraint, this line remains "as what" at the end of the trial.
'5' line trying to insert a NULL value after creating the NOT NULL constraint, which is denied.
Best regards
Bruno.
-
Adding column not null in the existing table.
How to add a column not null in the existing table?
explain.
Thank youcreate table abc_ex(a number); alter table abc_ex add(b number not null); desc abc_ex
If for use then change to ALTER column extising
Published by: nkvkashyap on May 27, 2013 21:49
-
Try to generate PDF - "not found any table of content entries.
Hello
Please can someone help?
I am trying to generate a PDF version of our Robohelp file (in Robohelp 10) for users to download (the file is a help file for our software).
However, when I generate it using the option "Printed material" in the single Source layouts, either in PDF or Word doc, it only builds a two page document with the name of literature printed on the first page, and 'no table entries of content not found' printed on the second.
The file was imported from an older version of Robohelp, if that helps.
Thank you very much in advance for your help.
Waiting for Dan
Create a new print layout, not a duplicate. Run the wizard by default other than him affecting only to create a Word document on the first page and applying your model on the last page.
Not better then?
See www.grainge.org for creating tips and RoboHelp
-
Column not found error while Mrna an oracle with ODI user table
Hello
I'm trying to fill a column in an oracle table with the USER name of the ODI by using the function getUser ("USER_NAME") in the column mapping of the Interface, but the interface throwhing an error * column not found: supervisor in training [Select...] *. but it works very well with getUser("I_USER') column is of the filling of the user ID.
can someone help me why the user is not filling.
Thank youJoin the call to the api getUser inside single quotes
'<%=getUser("USER_NAME")%>'
ID is a number can be used directly but USER_NAME returns a string which should be enclosed in quotes
Maybe you are looking for
-
When I connect Firefox, it starts to load the page problem loading page and this message pops up error content corrupted The page you are trying to view cannot be shown because an error in the data transmission was detected.
-
Failed to configure Gmail in Mail from Yosemite
Just got a new iMac running 10.11.2 and this is what I get when I try to set up a simple Gmail account in Mail. Never used a problem on older Mac. All the answers? Thank you
-
Problem starting on the new ACER Predator G9-791-73N7
Hi guys! I have a problem starting on my new laptop that runs 10 64-bit windows. I tried to reinstall windows and my first boot options is the HARD drive so why my laptop still shows me this screen? If I am connected to the internet, the process take
-
I had some spyware on my computer that makes all my files disappear including taking my office completely blank. After removing the spyware, I still have the same problem. I know that spyware has been removed. I think that all the files are hidden be
-
Hello I finally got my vpn for work (router 1712), but only with IPSEC over UDP. Everything works well, but some clients are behind a firewall and only port 80 and 443 are allowed. Is it not possible to create a vpn tunnel low port 443? I tried looki