RPT to Oracle 10g - REP 300 error: table or view does not exist GROUP BY...
Hello - I have a request to the Interior of my data model that works very well when I launches the report inside reports developer & works well in TOAD. But when I try to run from our forms 10 g GUI report fails with a REP 300 error: table or view does not GROUP OF S.SOURCE_NAMESource_name is my group of field & as mentioned, it works very well to the developer reports & TOAD, so I can't understand why the GUI is having a problem. The GUI uses some features to export the data to Excel. I have no more info on how the GUI do that then maybe no one will be able to help, but if you run into this situation before, any input you have would be greatly appreciated. Thank you!
Hello
connect you as a user even in the forms and the TOAD?
Tags: Oracle Development
Similar Questions
-
How to create Error: table or view does not exist - please help
I'm learning to oracle for my new assignment, I come from sql server environment, so I know concept of procedures and functions but found pattern concept is different here. In any case, I'm trying to create procedure in which I'm trying to insert records into a table from another table. Here is my code:
create or replace PROCEDURE UDPINSERTEMPLOYEE AS BEGIN INSERT INTO employee(empid,lastname,firstname) select employee_id, Last_name, First_name FROM HR.employees; END UDP_INSERTEMPLOYEE;
And I got these errors:
- Procedure TempUser.UDPINSERTEMPLOYEE@test
- Error (4,2): PL/SQL: statement ignored
- Error (4.99): PL/SQL: ORA-00942: table or view does not exist
I've tried INSERT INTO employee (empid, lastname, firstname) values (1, 'Last Test', 'First Test') and it works fine.
What wrong with my procedure? Help, please.
Thank you.
Hello
Unless this procedure is located in the HR schema, it needs SELECT on HR.employees table privileges.
Say the procedure is located in the FUBAR scheme (in other words, connect you to Oracle as FUBAR to create).
To grant privileges on the table HR.employees to FUBAR. Then connect like HR and say:
GRANT SELECT ON employees to fubar;
or, if you want everyone on your system to be able to query this table
Employees of SELECT GRANT IT to THE PUBLIC.
If you're not allowed to do this, ask your DBA to do. All the tables in the HR schema provided by Oracle were put there by Oracle to demonstrate things in the documentation. There is nothing secret or dangerous about reading anything in this scheme. On my system PUBLIC has privileges SELECT on all tables in the HR schema.
If the employee (plural) table is not in the same schema as the procedure (e.g., FUBAR), so you must INSERT privileges on the table, too.
Oracle doesn't have a way to grant privileges on all the tables in a schema; You must grant privileges on each table, one at a time.
-
Procedure compilation error: Table or view does not exist
I have privilege granted to me on some tables, SELECTION that I found thanks to view user_tab_privs.
Now, I wrote a stored procedure that attempts to insert into a table that I created with the data of a query based on joins on tables, sure I have the right to SELECT.
But when I compile my inside, it shows errors:
- PL/SQL: ORA-00942: table or view does not exist
What could be the problem? Were breaking my head.
Can someone help me please?
(
I found ask Tom & amp; quot; Procedures, roles and grant & amp; quot; that questioning the view of user_tab_privs with the DEALER = < me > gives the list of the privileges that have been granted directly to the me.
If this is the case, I seem to have DIRECT subsidies on the tables, I've used in my procedure.
Where is my confusion).
**************************************CODE*********************
CREATE OR REPLACE PROCEDURE USAGE_MODULE_INSERT
IS
CURSOR C1
IS
SELECT CALL_KEY IN THE DUMMY_DATE;VDATE_KEY C1. TYPE % CALL_KEY;
BEGIN
OPEN C1;
LOOP
FETCH C1 IN VDATE_KEY;
WHEN EXIT C1% NOTFOUND;INSERT INTO TABLE_USAGE_MODULE (VNUMBER, START_DATE_KEY, POSTPAID_ACC_FLAG, DES_NWK_NAME, ONOFF_KEY, TEMPS_REEL, CHARGED_TIME, CHARGED_VOLUME, CALLS)
(
SELECT THE PDF FILE. VNUMBER,
C_USG. START_DATE_KEY,
C_USG. POSTPAID_ACC_FLAG,
DES_NWK. DES_NWK_NAME,
ONNET_OFFNET. ONOFF_KEY,
SUM (C_USG. TEMPS_REEL),
SUM (C_USG. CHARGED_TIME),
SUM (C_USG. CHARGED_VOLUME),
COUNT (CASE WHEN C_USG. TYPE_KEY = 15 THEN 1 0 OTHERWISE END)
OF AM_WHM. CAL_USG C_USG
JOIN INTERNAL AM_WHM. DES_NETWORK DES_NWK
ON DES_NWK. DES_NWK_KEY = C_USG. DES_NWK_KEY
JOIN INTERNAL AM_WHM. D_L_NUMBER PDF
THE SUBJECT OF THE PDF FORMAT. L_NUMBER_KEY = C_USG. L_NUMBER_KEY
WHERE C_USG. START_DATE_KEY = VDATE_KEY
GROUP OF PDF. VNUMBER, C_USG. START_DATE_KEY, C_USG. POSTPAID_ACC_FLAG, DES_NWK. DES_NWK_NAME, ONNET_OFFNET. ONOFF_KEY);
END LOOP;
CLOSE C1;END;
Note: Mark USER_TAB_PRIVS with the DEALER = < > says that I have the privilege of SELECT on all tables that I used in my procedure.
Mark USER_SYS_PRIVS shows a single line like "UNLIMITED TABLESPACE"
******************************************************
Post edited by: 3cd7ad85-b56c-4a9c-ae91-83be047aac2c Code of procedure included which gives a compile error
In order to access the table in a procedure, select must have been granted to the user directly and not through a role.
-
Trigger error - Table or view does not exist
Hello
I imported a dump of the database of Oracle 9i to Oracle 11 GR 2. Everything works fine, but I'm unable to compile the two triggers. Relaxation is provided in:
{code}
create or replace trigger tm_daily_activity_t_bf_update before update on tm_daily_activity_t start_t
for each line
Declare
Time_now DATE;
Varchar2 (40) Terminal.
name VARCHAR2 (255);
v_program VARCHAR2 (255);
Start
Time_now: = SYSDATE;
Terminal: = USERENV ('TERMINAL');
Select e-mail in the name of tm_employee_t where COID_ID0 =: OLD. EMPLOYEE_OBJ_ID0;
Select the program from v_program v$ session;
insert into tm_daily_activity_t_log values (: OLD.) START_T,: OLD. EMPLOYEE_OBJ_ID0,: OLD. ROWID,: OLD. CREATED_T, SYSDATE, TERMINAL, NAME, v_program);
end;
{/ code}
{code}
create or replace trigger tm_daily_activity_t_af_update after update on tm_daily_activity_t start_t
for each line
Declare
v_program VARCHAR2 (255);
Start
Select the program in session v_program $ v where sid = (select distinct sid of sys.v$ mystat);
If upper (v_program) = "TOAD. EXE' or upper (v_program) = ' SQLPLUSW. EXE' or upper (v_program) = ' SQLPLUS. EXE' or upper (v_program) = ' SQLPLUS @ "then
raise_application_error (-20001, 'validation of completed trigger', true);
end if;
end;
{/ code}
Both triggers gave error ora-00942 table v$ session, but if I execute a select statement outside triggers it works fine.
Any ideas what the permission is required?
Privileges through roles do not apply to procedures, functions, or triggers. Try to connect SYS and giving a direct grant to select users for example
Grant select on v_$ user session;
-
People,
Hello. I'm working on the PeopleSoft application that runs on the database server Oracle 11 g 1 top material.
I run the MSK_CFG, but it returns the error: Table or view does not exist. Has no SQL statement: Truncate Table user.PS_MSK_CFG_TAO4.
I run the SQL to SQL statement > as below:
SQL > select * from the user. MSK_CFG_TAO;
SQL > select * from user.PS_MSK_CFG_TAO;
SQL > select * from user.PS_MSK_CFG_TAO4;All the 3 tables above are non-existent.
I checked the application designer, the MSK_CFG_TAO table is a temporary table with 4 fields. This table is the database. PS_ is before the table MSK_CFG_TAO fix. and the PS_MSK_CFG_TAO4 table is an instance of the temporary table MSK_CFG_TAO.
I do not understand how to handle this kind of error.
My question is:
How to solve the Temorary MSK_CFG_TAO and PS_MSK_CFG_TAO tables are not exist in SQL > fast during the temporary table MSK_CFG_TAO is actually in the database?
Thanks in advance.
PL don't post duplicates - 9.0 Solution Campus: the process of data demographic MSK_CFG access
-
30002 error/ORA-00942 table or view does not exist
Hello
We are running on a Windows 2008 R2 machine RoboServer 9 with Tomcat 7. The database, that we strive to connect is an Oracle 11 g on a Linux x86_64 host server. I connect using the Oracle through ODBC drivers. When I click "test connection" of the ODBC Administrator or application configuration, I get the message 'successful connection '. That is the problem.
When you try to run our reports, especially "Frequently consulted CSH" or "Frequently viewed Topics", we get the following error.
Check the localhost.log in Tomcat, we get this:
Journal of the org.apache.catalina.core.ApplicationContext 10:37:41 28 March 2013
SEVERE: java.sql.SQLException: [Oracle] [ODBC] [Ora] ORA-00942: table or view does not exist
java.sql.SQLException: [Oracle] [ODBC] [Ora] ORA-00942: table or view does not exist
at sun.jdbc.odbc.JdbcOdbc.createSQLException (unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError (unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect (unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.execute (unknown Source)
at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery (unknown Source)
at adobe.robohelp.server.FlexReports.AreasReqHelpReport.SetData(AreasReqHelpReport.java:84)
at adobe.robohelp.server.FlexReports.Report.ProcessReport(Report.java:295)
at adobe.robohelp.server.ReportManager.doCommand(ReportManager.java:395)
at adobe.robohelp.server.RoboHelpServer.doGet(RoboHelpServer.java:144)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.j ava: 290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$ Http11ConnectionHandler.process (Http11Protocol.ja goes: 602)
to org.apache.tomcat.util.net.JIoEndpoint$ Worker.run (JIoEndpoint.java:489)
at java.lang.Thread.run (unknown Source)
Looks like all tables exist in the database - this is what we have:
TEST:
ROBOTST4 > select object_name from dba_objects where type_objet = 'TABLE' and owner = 'MCVICKER;
OBJECT_NAME
--------------------------------------------------------------------------------
TACTIONTYPE
TERRORTYPE
THELPPROJECT
THELPSPACEERROR
TUSER
TPROBLEM
TSOLUTIONACTION
THELPTOPICS
TUSERPREFS
TSETTING
TSESSION
TACCESSTYPE
TROBOGROUPS
TROBOUSER
TROBOUSERGROUPS
TLDAPUSERGROUPS
TGROUPPERMISSIONS
TLDAPGROUPS
TCOMMENTS
TDELETEDCOMMENTS
TUSERTOPICRATING
TAVGTOPICRATING
22 selected lines.
I think that we have set. Here's the deal.
For some reason, the database put in place all the tables but not views initially. My DBA views manually created using definitions of the included database. In Access, if you go in queries, then right-click on the table, select "design mode". Right-click on the design mode, select "SQL Mode" and you can view the SQL statements used to define the view. You should see something like this:
She has slightly modified the - here's what she created:
Created to MCVICKER's point of view in ROBOTST.
create or replace view mcvicker. VSolutionAction
SELECT
TSolutionAction.sa_SolutionActionID,
TSolutionAction.sa_Time,
TSolutionAction.se_SessionID,
TSolutionAction.pb_ProblemID,
TSolutionAction.sq_SequenceID,
TSolutionAction.hp_HelpProjectID,
TSolutionAction.at_ActionTypeID,
TSolutionAction.sa_SortData,
LTRIM(sa_DisplayName,255) AS sa_GroupDisplayName,
-Left $([sa_DisplayName],255) AS sa_GroupDisplayName,
TSolutionAction.sa_DisplayName,
TSolutionAction.sa_NumericData,
LTRIM(sa_StringData,255) AS sa_GroupStringData,
-Left $([sa_StringData],255) AS sa_GroupStringData,
TSolutionAction.sa_StringData,
TSolutionAction.sa_ExtraData,
TSolutionAction.sa_ProblemSolved,
TSolutionAction.ha_AreaName
OF TSolutionAction;
create or replace view mcvicker. VHelpProject
as
SELECT
THelpProject.hp_HelpProjectID,
LTRIM(hp_Name,255) AS hp_GroupName,
-Left $([hp_Name],255) AS hp_GroupName,
THelpProject.hp_Name,
THelpProject.ha_AreaName
OF mcvicker. THelpProject;
create or replace view mcvicker. VProblem
as
SELECT
TProblem.pb_ProblemID,
TProblem.se_SessionID,
TProblem.pb_InitiationTime,
LTRIM(pb_ReferringURL,255) AS pb_GroupReferringURL,
-Left $([pb_ReferringURL],255) AS pb_GroupReferringURL,
TProblem.pb_ReferringURL,
LTRIM(pb_ReferringParams,255) AS pb_GroupReferringParams,
-Left $([pb_ReferringParams],255) AS pb_GroupReferringParams,
TProblem.pb_ReferringParams,
LTRIM(pb_RequestedTopic,255) AS pb_GroupRequestedTopic,
-Left $([pb_RequestedTopic],255) AS pb_GroupRequestedTopic,
TProblem.pb_RequestedTopic,
TProblem.pb_ExternTransactionID,
TProblem.pb_ExternUserID,
TProblem.pb_AppData,
TProblem.pb_ProblemSolved,
TProblem.ha_AreaName
OF mcvicker. TProblem;
I hope this helps someone.
My questions are pending: what the app actually creates tables and views? This work to restart tomcat? According to a timetable? It seems that when I set up the connection and leave the things the next day they work. Is there some sort of scheduled task that the database maintenance? Can we make it a little more transparent in future versions?
Thank you.
-
Hi all
I'm on banner
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production PL/SQL Release 11.2.0.4.0 - Production CORE 11.2.0.4.0 Production TNS for Linux: Version 11.2.0.4.0 - Production NLSRTL Version 11.2.0.4.0 - Production
My OraDB database has 5 patterns,
S1, S2, S3, S4, S5
Where S1 a table T1 that select grant is given to the schema of S2, S3 and S4.
Where as drawing S5 has grant SELECT ANY TABLE.
I had a scenario where I am compiling or using (immediate execution) to the scheme of access Table T1 of S1.
But I got error in the Table or view exists doensn can't.
So what I've done to check if the syntax is correct, I printed SQL_Variable that holds the query before his execution in EXECUTE IMMEDIATE.
This SQL execute print find a TOAD or SQLPLUS, but when the same variable is running inside EXECUTE IMMEDIATE I get error
Table or view does not exist.
To keep the overlap on this, I ran
SQL executed: {code} select column_name from S1. T1 {code} in TOAD and SQLPLUS, it ran successfully, but when I placed it inside the package it threw error table or view does not exist.
Grant you permissions to T1 through a role?
Roles are not active during run immediately or stored procedures.
-
Hello
When I run DBUM Targer user reconciliation (recon Filtered) I get the error in the log below.
We have created an account with privileges below target. y at - it all permisssions more necessary for execution of the reconciliation of the target.
[2015-10 - 09T 10: 47:45.717 - 07:00] [oimext_server1] [NOTIFICATION] [] [oracle.iam.scheduler.vo] [tid: OIMQuartzScheduler_Worker-4] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18393] [APP: IOM #11.1.2.0.0] details executeJob DBUM Oracle user target reconciliation method
[2015-10 - 09T 10: 47:45.842 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000 - 1:18558 0000000000000004,] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: parseConnectionProperties: no connection properties
[2015-10 - 09T 10: 47:45.878 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: dropUnusedSearchAttributes: fall tmpQuota
[2015-10 - 09T 10: 47:45.879 - 07:00] [oimext_server1] [WARNING] [] [ORG. IDENTITYCONNECTORS. DBUM. DBUMCONNECTOR] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.DBUMConnector: dropUnusedSearchAttributes: fall tmpQuota
[2015-10 - 09T 10: 47:45.881 - 07:00] [oimext_server1] [ERROR] [] [ORG. IDENTITYCONNECTORS. DBUM. SQLEXECUTIONHANDLER] [tid: Thread-276] [username: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18558] [APP: IOM #11.1.2.0.0] org.identityconnectors.dbum.SQLExecutionHandler: executeAccountSearch: error when searching for user records [[ ]]
java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:947)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)
at org.identityconnectors.dbum.SQLExecutionHandler.searchAccounts(SQLExecutionHandler.java:287)
at org.identityconnectors.dbum.SQLExecutionHandler.executeAccountSearch(SQLExecutionHandler.java:95)
at org.identityconnectors.dbum.DBUMConnector.executeQuery(DBUMConnector.java:199)
at org.identityconnectors.dbum.DBUMConnector.executeQuery(DBUMConnector.java:74)
at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.rawSearch(SearchImpl.java:118)
at org.identityconnectors.framework.impl.api.local.operations.SearchImpl.search(SearchImpl.java:82)
at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.identityconnectors.framework.impl.api.local.operations.ConnectorAPIOperationRunnerProxy.invoke(ConnectorAPIOperationRunnerProxy.java:93)
to com.sun.proxy. $Proxy575.search (unknown Source)
at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.identityconnectors.framework.impl.api.local.operations.ThreadClassLoaderManagerProxy.invoke(ThreadClassLoaderManagerProxy.java:107)
to com.sun.proxy. $Proxy575.search (unknown Source)
at sun.reflect.GeneratedMethodAccessor5776.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
to org.identityconnectors.framework.impl.api.BufferedResultsProxy$ BufferedResultsHandler.run (BufferedResultsProxy.java:162)
]]
[2015-10 - 09T 10: 47:45.892 - 07:00] [oimext_server1] [NOTIFICATION] [] [oracle.iam.scheduler.impl.quartz] [tid: OIMQuartzScheduler_Worker-4] [userId: oiminternal] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206: - 8000-0000000000000004, 1:18393] [APP: #11.1.2.0.0 IOM] Job listener, Job was performed QuartzJobListener.jobWasExecuted Description DEFAULT null FullName. DBUM Oracle DBUM Oracle target reconciliation user name reconciliation target user
[2015-10 - 09T 10: 47:46.116 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '6' for queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206 :-8000-0000000000010 c 79, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.
[2015-10 - 09T 10: 47:46.517 - 07:00] [oimext_server1] [ERROR] [] [] [tid: Watcher] [username: < anonymous >] [ecid: 0000L19f77uEoIs6wjyWMG1M5jJP000000, 1:18404] error receive challenge server hacked
[2015-10 - 09T 10: 47:49.271 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '12' to the queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206:-8000-0000000000010c7c, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.
[2015-10 - 09T 10: 47:49.718 - 07:00] [oimext_server1] [ERROR] [] [] [tid: [ASSETS].] [ExecuteThread: '21' for queue: "(self-adjusting) weblogic.kernel.Default"] [username: xelsysadm] [ecid: 77744a889dde03de:-265ee4b8:15049ac7206:-8000-0000000000010c7e, 0] [APP: IOM #11.1.2.0.0] [IDDM: 0000L1Dd4upEoIs6wjyWMG1M5jJP00000S] could not communicate with one of the server access set up, make sure it is running.
Thank you
After changing the logging level for 32 track, filled with the SQL log file.
The application consisted of a JOIN with two or three tables table (dba_users and dba_quota_tablespaces).
After providing privileges select on the quota table, I was able to learn from the user.
Thank you
-
OBIEE 11 g: odd error in report ORA-00942: table or view does not exist
Hi gurus,
I get the following error if I pull one or more columns in a table of facts
Error codes: OPR4ONWY:U9IM8TAC:OI2DL65PState: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 43113] The message returned by OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle error code: 942, message: ORA-00942: table or view does not exist to the call of the OCIStmtExecute OIC. [nQSError: 17010] Prepare the SQL statement failed. (HY000)SQL published: SELECT 0 s_0, 'XXXXXX '. "" "" Fact_FCT_REG_XXXXXXX_XXXXXX '. "" S_1 N_ACCT_BALANCE""XXXXXX"FETCH FIRST 4000001 LINES ONLYIs the weird part, when I take the physical sql and run it against the same user account. It is fetching result. He also works in a different environment, but throwing error in our test environment, both environments are well established for a long time to return, and many projects are developed by many different groups.
I really need expertise help to break this question. Given that I do not get no idea why his mistake to throw into the application layer?
Any help will be much appreciated.
Thanks in advance
Concerning
Nathalie
Save nqquery.log which connection pool is used to send the query to the DB. Then check the configuration of the Connection Pool to see what user credentials are used to connect to the database, to which database (DSN), and if the table owner prefix is added to the SQL.
ORA-00942 can often be due to the existing table, but the user trying to access him confer no rights. Rather than say 'no permission', Oracle will say 'does not exist.
-
Hi all
Try to run the loads on the test environment and faced this exception. Guidance on what could be the cause?
A functioning test environment code development. All models have been migrated using the synonym and the project had to be imported using Mode Duplication.
The project had two dimension and makes loads... Dimensions has been properly run, its only that all the facts are a failure...
ODI-1217: CM_PKG_CF_TEST Session (1494702) fails with return code 7000.
Caused by: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: error in the interpretation of the task.
Task: 6
java.lang.Exception: the application script threw an exception: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
OSB Info: get the joining to the line level columns: column 0: columnNo
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:485)
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:711)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1889)
to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ 2.doAction(StartScenRequestProcessor.java:580)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ StartScenTask.doExecute (StartScenRequestProcessor.java:1066)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:682)
Caused by: org.apache.bsf.BSFException: the application script threw an exception: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
OSB Info: get the joining to the line level columns: column 0: columnNo
at bsh.util.BeanShellBSFEngine.eval (unknown Source)
at bsh.util.BeanShellBSFEngine.exec (unknown Source)
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
... 11 more
-< code printed here >-
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:738)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:461)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1889)
to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ 2.doAction(StartScenRequestProcessor.java:580)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
to oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$ StartScenTask.doExecute (StartScenRequestProcessor.java:1066)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:682)
An analysis more thrust, found that Repo work had no appropriate grants.
After adding, it solved the problem.
-
Hey Geeks,
I met a problem when starting my 12 c RAC database.
To mount it fine, but when I try to open, he throws me an error.
System Global area 1.5400E + 10 bytes
Bytes of size 4737560 fixed
2952791528 variable size bytes
1.2415E + 10 bytes database buffers
Redo buffers 26857472 bytes
Mounted database.
SQL > alter database open;
change the database open
*
ERROR on line 1:
ORA-01092: ORACLE instance is complete. Disconnection forced
ORA-00942: table or view does not exist
Process ID: 11338068
Session ID: 1429: No.3
Here is the output of the trace file...
ORACLE_HOME = / oracle_home/app/orahome
Name of the system: AIX
Name of the node: INS1
Version: 1
Version: 7
Machine: 00C8CCA74C00
Instance name: INST1
Redo thread mounted by this instance: 1
Oracle process number: 7
The Unix process PID: 20381876, image: oracle@ins1 (TNS V1 - V3)
2014-11-27 22:49:20.892
SESSION ID: (197.5) 2014-11-27 22:49:20.892
CUSTOMER ID :() 2014-11-27 22:49:20.892
NAME OF THE SERVICE :() 2014-11-27 22:49:20.892
NAME of the MODULE: (sqlplus@ins1 (TNS V1 - V3)) 22:49:20.892 2014-11-27
ACTION NAME :() 2014-11-27 22:49:20.892
2014-11-27 22:49:20.889716: start the recovery of field = 0, valid = 0, flags = 0 x 4
2014-11-27 22:49:24.580
Awarded with 32 slaves of recovery success
With the help of 3 buffers overflow by slave of recovery
2014-11-27 22:49:24.740
1 post of thread: logseq 15, block 2, CHN 3510749
cache-bass rba: logseq 15, block 3
RBA on disk: logseq 15, block 72, RCS 3510824
Start the recovery at logseq 15, block 3, Yvert 0
2014-11-27 22:49:24.981
Started the resilvering redo thread 1 seq 15 blocks 72-73
2014-11-27 22:49:24.994
Finished resilvering redo thread 1 seq 15
2014-11-27 22:49:24.994
Started writing zeroblks thread 1 seq 15 blocks 74-81
2014-11-27 22:49:24.994
Completed written zeroblks thread 1 seq 15
= Redo read statistics for thread 1 =.
Total physical reads (from disk and memory): 4096 KB
-Redo read_disk - statistics
Read rate (ASYNC): 35KO in 0,25 s = > 0.14 Mb / s
Long: 0 Ko, moves: 0/104 (0%)
Longer LWN: 2 k, moves: 0/33 (0%), moved: 0 MB
Redo last scn: 0x0000.0035922b (3510827)
----------------------------------------------
-Recovery Hash Table statistics
Hash table buckets = 262144
More long string hash = 1
Hash string average = 25/25 = 1.0
Max compares by lookup = 1
AVG compares by lookup = 151/176 = 0.9
----------------------------------------------
2014-11-27 22:49:25.007
KCRA: start the debt for 25 blocks of data collection
2014-11-27 22:49:25.039
KCRA: treated blocks = 25/25, has claimed = 25, eliminated = 0
2014-11-27 22:49:25.054
Online Redo Log recovery: thread 1 mem Group 6 Seq 15 reading 0
2014-11-27 22:49:25.060
Ask again filled with 0.02 MB
2014-11-27 22:49:25.235
Control of completed recovery point
-Recovery Hash Table statistics
Hash table buckets = 262144
More long string hash = 1
Hash string average = 25/25 = 1.0
Max compares by lookup = 1
AVG compares by lookup = 176/176 = 1.0
----------------------------------------------
Recovery thread nab 1 seq 15 to 74 with 8 zeroblks sets
2014-11-27 22:49:26.000
2014-11-27 22:49:26.000433: validate the domain 0
2014-11-27 22:49:26.001348: valid domain 0, flags = 0x0
2014-11-27 22:49:28.315
County ofsmtab$: 0 entries
2014-11-27 22:49:28.732
ORA-00942: table or view does not exist
ORA-00942: table or view does not exist
2014-11-27 22:49:28.738
USER (ospid: 20381876): put an end to litigation because of the 942 error
In my case, the problem solved by running the following...
GRANT SELECT on SYS. The USER$ in XDB.
GRANT SELECT on SYS. The USER$ in CTXSYS.
GRANT SELECT on SYS. The USER$ to DVSYS;
GRANT SELECT on SYS. The USER$ to LBACSYS.
GRANT SELECT on SYS. The USER$ to APEX_040200;
GRANT SELECT on SYS. The USER$ to DV_SECANALYST;See the screenshot above.
-
ORA-00942: table or view does not exist error
We use the database to Oracle 10 g on Linux platform.
When executing the following code, I get the following error:
Error:DECLARE v_result NUMBER := NULL; BEGIN SELECT 1 INTO v_result FROM ALL_TABLES WHERE TABLE_NAME = 'ERROR_AUDIT' AND OWNER = 'TEST_OWNER'; DELETE FROM error_audit; COMMIT; Exception when no_data_found then EXECUTE IMMEDIATE ('CREATE TABLE error_audit ( SID NUMBER NOT NULL, ID NUMBER NOT NULL, ora_number VARCHAR2(30 CHAR), description VARCHAR2(1000 CHAR), status VARCHAR2(1 CHAR), created_by_user VARCHAR2(30 CHAR), created_on_date DATE, modified_by_user VARCHAR2(30 CHAR), modified_on_date DATE, remarks VARCHAR2(2000 CHAR) )' ); END; /
But if I comment out the Delete statement, and the code works correctly.DELETE FROM error_audit; * ERROR at line 9: ORA-06550: line 9, column 17: PL/SQL: ORA-00942: table or view does not exist ORA-06550: line 9, column 5: PL/SQL: SQL Statement ignored
I don't understand the reason for this error. Kindly help.--DELETE FROM error_audit;
Your code will be get compiled before running...
You can try the code below... But what is your real need?
DECLARE v_result NUMBER := NULL; BEGIN SELECT 1 INTO v_result FROM ALL_TABLES WHERE TABLE_NAME = 'ERROR_AUDIT' AND OWNER = 'TEST_OWNER'; EXECUTE IMMEDIATE 'DELETE FROM error_audit'; COMMIT; Exception when no_data_found then EXECUTE IMMEDIATE ('CREATE TABLE error_audit ( SID NUMBER NOT NULL, ID NUMBER NOT NULL, ora_number VARCHAR2(30 CHAR), description VARCHAR2(1000 CHAR), status VARCHAR2(1 CHAR), created_by_user VARCHAR2(30 CHAR), created_on_date DATE, modified_by_user VARCHAR2(30 CHAR), modified_on_date DATE, remarks VARCHAR2(2000 CHAR) )' ); END; /
Published by: JAC on Sep 4, 2012 11:39
-
Read_Network, which results in the Java error "Table or view does not.
Hello gurus,
I tried a network Oracle (Oracle 11 g) of loading under the same user when I created the network Tables. But still I'm getting ' table or view does not exist. What could be the problem here? Help, please.
Start
SDO_NET_MEM.NETWORK_MANAGER.READ_NETWORK ('ROADS_NETWORK', 'TRUE');
end;
ERROR on line 1:
ORA-29532: Java completed by eception Java exception appeal:
oracle.spatial.network.NetworkDataException:
oracle.jdbc.driver.OracleSQLException: ORA-00942: table or view does not exist
ORA-06512: at the 'MDSYS. SDO_NETWORK_MANAGER_I', line 284
ORA-06512: at the 'MDSYS. SDO_NETWORK_MANAGER_I', line 114
ORA-06512: at line 2
Metadata network are the following.
ROADS_NETWORK SPACE LRS_GEOMETRY 161 ROADS 1 1 ROAD_SEGMENTS SEGMENT_GEOM ROADS_NODES NODE_GEOMETRY ROADS_LINKS COST REALIZED COST ROADS_PATHS PATH_GEOMETRY ROADS_PATHS_LINKS LINK_GEOMETRYTo install Oracle Workspace Manager (WM) is an option for your DB?
If so, please follow the below script to install WM on your DB.
configuration of the Workspace ManagerIf this isn't the case, you may need to create some dummy WM functions and tables.
I would like to know if this is the case for you.Kind regards
Jack
-
Director of BI error when updating Rowcount: table or view does not exist
I use BI administrator 11g. After you create a new repository and import of metadata, I brought the physical model in the MDB layer. When I tried to update the number of lines for tables in the physical layer, I get:
There was an error while updating the number of lines for '< instance >'... "" schema of <>. "' < tablename > '.
[17011 nQSError] Execution of the SQL statement failed.
[nQSError 17001] Oracle 942 error code, message: ORA-00942: table or view does not exist to the call of the OIC OCIStmtExecute: select count (*) < TableName >.
I created the connection during the import process pool and tables have been found at the time. But once the import is complete I never update rank leaders. I have access to all the tables in question via the user account in the connection pool.
Anyone have any ideas?
Thank you
KenYou must check "require fully qualified name checkbox in the connection pool properties. This is necessary when you use the username not owner to access the images database.
-
Compile error: sys.v$ sess_time_model table or view does not exist
If I create the following procedure with DB link to lnk database (Oracle 10.2.0.4, Solaris)
the procedure compiles without error, and I can call the procedure.create or replace procedure xxx is tmp number; begin select max(value) into tmp from sys.v$sess_time_model@lnk where stat_name = 'DB CPU'; end; /
If I connect to the system 'lnk' with DB link user name, I can't create the procedure directly in the database:
Why can't I just create the procedure in the database target?SQL> create or replace procedure xxx 2 is 3 tmp number; 4 begin 5 select max(value) 6 into tmp 7 from sys.v_$sess_time_model 8 where stat_name = 'DB CPU'; 9 end; 10 / warning: procedure created with compilation errors. SQL> SQL> show err Fehler bei PROCEDURE XXX: LINE/COL ERROR -------- ----------------------------------------------------------------- 5/2 PL/SQL: SQL Statement ignored 7/11 PL/SQL: ORA-00942: table or view does not exist The same error comes up if I change line 7 to 7 from v_$sess_time_model 7 from v$sess_time_model 7 from sys.v$sess_time_model SQL> select count(*) from sys.v_$sess_time_model; COUNT(*) ---------- 418
It seems that you grant of role based on sys.v_$ sess_time_model. You can check it using 'The VALUE NONE ROLE' and then try to choose.
The direct grant of privilege is required for Pl/SQL. For an illustration more Re: compile errors
Maybe you are looking for
-
AirPlay - aTV video, sound effects for AExpress: does not work with large files
Hello! My setup Internett--> modem (Cisco?) --> a/c Airport Extreme (latest high version) iMac, iPad, 2 x iPhones. iMac installed Beamer. Bedroom: AppleTV 3rd GEN rev A - hdmi--> LG TV (old). AirPlay ON, 'Apple TV room '. Connected to the local netwo
-
Hello I am trying to convert the nidaq nidaqmx code code. As you can see in attached screendump, I have a channeldefinition table and a table that defines the limits of these channels. They are placed in the nidaq AIconfig vi, which are perfectly hap
-
Need for a versatile to pass data to the chart
Hello I have a sub - vi that performs data analyses. I pulled out the results through a def type. I want that this type def to include data necessary to plot the results on a XY Chart. My problem is that the data will sometimes contain only 1 and som
-
How can I dynamically (at runtime) the models?
Hello I need during my Run-TIme application to change SequentialModel.seq of SequentialModel_2.seq or SequentialModel_XYZ.seq (custom). How can I do? It can make possible with engine? Can you please give example of switching? Thank you in advance, Yu
-
Can't cancel a file download-security warning.
When I try to open the Solution Explorer, I got a "file download - security warning' with my 'Connection' Google homepage in the background. When I click on 'Cancel' the alert and the page of Google background disappear. As soon as I open Explorer ag