Table exists but still error: ORA-00942, isn't able to create indexes: Help

It's my script... the table FLASH_SALES_BY_STORE_AND_HOUR exist in my database, so why I get the error message.
ERROR on line 1:
ORA-00942: table or view does not exist



Here is my script.

ASK for IDX_SALES_STORE_DEL

CREATE INDEX IDX_SALES_STORE_DEL ON FLASH_SALES_BY_STORE_AND_HOUR (STORE_ID, TRUNC (LOCAL_DATE))
TABLESPACE 'FLASH '.
STORAGE
(
DEFAULT USER_TABLES
)
/

QUICK creation IDX_SALES_STORE_VIEWexit


CREATE INDEX IDX_SALES_STORE_VIEW ON FLASH_SALES_BY_STORE_AND_HOUR (STORE_ID, TRUNC (LOCAL_DATE), DEPARTMENT)
TABLESPACE 'FLASH '.
STORAGE
(
DEFAULT USER_TABLES
)
/

Please, re - run the script as the user who owns the table...

Otherwise, add the schema name before the name of the index (if not index will be created under SYS) and table name (since you missed the creation of synonym).

HTH,
Thierry

Tags: Database

Similar Questions

  • error ORA-00942 table or view does not gv$ session s, v$ sql

    Hello

    I used it after request for package gives error ORA-00942 table or view does not exist but I run same query in sql plsql developer command run successfully.

    SELECT sid, serial #.
    in V_SID, V_SERIAL
    GV $ session s, v$ sql v
    WHERE username = "USER1".
    and s.SQL_ID = v.SQL_ID


    Kind regards
    Vaibhav
    grant select on gv_$session to ;
    grant select on v_$sql to ;
    

    Note If you are using GV$ SESSION then you must also use GV$ SQL and join with INST_ID column select.

  • 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.

    Error..JPG

    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.

  • DBUM target Recon - java.sql.SQLSyntaxErrorException error: ORA-00942: table or view does not exist

    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

  • Table exist, but may not be DESCed or granted against

    Hi gurus
    I have a table that is, according to object:
    SYS@ORCL> select * from all_objects where object_name = 'OEHR_DEPARTMENTS';
    
    OWNER                          OBJECT_NAME                    SUBOBJECT_NAME                  OBJECT_ID DATA_OBJECT
    _ID
    ------------------------------ ------------------------------ ------------------------------ ---------- -----------
    ---
    OBJECT_TYPE         CREATED   LAST_DDL_ TIMESTAMP           STATUS  T G S  NAMESPACE EDITION_NAME
    ------------------- --------- --------- ------------------- ------- - - - ---------- ------------------------------
    
    2DAYPLUS                       OEHR_DEPARTMENTS                                                   79443          79
    443
    TABLE               11-MAR-13 11-MAR-13 2013-03-11:17:38:55 VALID   N N N          1
    but not according to DESC:
    SYS@ORCL> DESC OEHR_DEPARTMENTS
    ERROR:
    ORA-04043: object OEHR_DEPARTMENTS does not exist
    But according to ALL_TABLES it is there
    SYS@ORCL> select * from all_tables where table_name = 'OEHR_DEPARTMENTS';
    
    OWNER                          TABLE_NAME                     TABLESPACE_NAME
    ------------------------------ ------------------------------ ------------------------------
    CLUSTER_NAME                   IOT_NAME                       STATUS     PCT_FREE   PCT_USED  INI_TRANS  MAX_TRANS
    ------------------------------ ------------------------------ -------- ---------- ---------- ---------- ----------
    INITIAL_EXTENT NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASE  FREELISTS FREELIST_GROUPS LOG B   NUM_ROWS     BLO
    CKS
    -------------- ----------- ----------- ----------- ------------ ---------- --------------- --- - ---------- -------
    ---
    EMPTY_BLOCKS  AVG_SPACE  CHAIN_CNT AVG_ROW_LEN AVG_SPACE_FREELIST_BLOCKS NUM_FREELIST_BLOCKS DEGREE  INSTANCES  CAC
    HE
    ------------ ---------- ---------- ----------- ------------------------- ------------------- ---------- ----------
    -----
    TABLE_LO SAMPLE_SIZE LAST_ANAL PAR IOT_TYPE     T S NES BUFFER_ FLASH_C CELL_FL ROW_MOVE GLO USE DURATION
    -------- ----------- --------- --- ------------ - - --- ------- ------- ------- -------- --- --- ---------------
    SKIP_COR MON CLUSTER_OWNER                  DEPENDEN COMPRESS COMPRESS_FOR DRO REA SEG RESULT_
    -------- --- ------------------------------ -------- -------- ------------ --- --- --- -------
    2DAYPLUS                       OEHR_DEPARTMENTS               APEX_2088527496182931
                                                                  VALID            10                     1        255
             65536     1048576           1  2147483645                                         YES N
                                                                                                          1      1
    N
    ENABLED                        NO               N N NO  DEFAULT DEFAULT DEFAULT DISABLED NO  NO
    DISABLED YES                                DISABLED DISABLED              NO  NO  YES DEFAULT
    But I can't grant permissions to this topic:
    SYS@ORCL> GRANT SELECT ON OEHR_DEPARTMENTS TO PUBLIC;
    GRANT SELECT ON OEHR_DEPARTMENTS TO PUBLIC
                    *
    ERROR at line 1:
    ORA-00942: table or view does not exist
    
    
    SYS@ORCL>
    Any ideas?

    Thank you very much
    Jason

    942375 wrote:
    Hi gurus
    I have a table that is, according to object:

    SYS@ORCL> select * from all_objects where object_name = 'OEHR_DEPARTMENTS';
    
    OWNER                          OBJECT_NAME                    SUBOBJECT_NAME                  OBJECT_ID DATA_OBJECT
    _ID
    ------------------------------ ------------------------------ ------------------------------ ---------- -----------
    ---
    OBJECT_TYPE         CREATED   LAST_DDL_ TIMESTAMP           STATUS  T G S  NAMESPACE EDITION_NAME
    ------------------- --------- --------- ------------------- ------- - - - ---------- ------------------------------
    
    2DAYPLUS                       OEHR_DEPARTMENTS                                                   79443          79
    443
    TABLE               11-MAR-13 11-MAR-13 2013-03-11:17:38:55 VALID   N N N          1
    

    but not according to DESC:

    SYS@ORCL> DESC OEHR_DEPARTMENTS
    ERROR:
    ORA-04043: object OEHR_DEPARTMENTS does not exist
    

    But according to ALL_TABLES it is there

    SYS@ORCL> select * from all_tables where table_name = 'OEHR_DEPARTMENTS';
    
    OWNER                          TABLE_NAME                     TABLESPACE_NAME
    ------------------------------ ------------------------------ ------------------------------
    CLUSTER_NAME                   IOT_NAME                       STATUS     PCT_FREE   PCT_USED  INI_TRANS  MAX_TRANS
    ------------------------------ ------------------------------ -------- ---------- ---------- ---------- ----------
    INITIAL_EXTENT NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS PCT_INCREASE  FREELISTS FREELIST_GROUPS LOG B   NUM_ROWS     BLO
    CKS
    -------------- ----------- ----------- ----------- ------------ ---------- --------------- --- - ---------- -------
    ---
    EMPTY_BLOCKS  AVG_SPACE  CHAIN_CNT AVG_ROW_LEN AVG_SPACE_FREELIST_BLOCKS NUM_FREELIST_BLOCKS DEGREE  INSTANCES  CAC
    HE
    ------------ ---------- ---------- ----------- ------------------------- ------------------- ---------- ----------
    -----
    TABLE_LO SAMPLE_SIZE LAST_ANAL PAR IOT_TYPE     T S NES BUFFER_ FLASH_C CELL_FL ROW_MOVE GLO USE DURATION
    -------- ----------- --------- --- ------------ - - --- ------- ------- ------- -------- --- --- ---------------
    SKIP_COR MON CLUSTER_OWNER                  DEPENDEN COMPRESS COMPRESS_FOR DRO REA SEG RESULT_
    -------- --- ------------------------------ -------- -------- ------------ --- --- --- -------
    2DAYPLUS                       OEHR_DEPARTMENTS               APEX_2088527496182931
    VALID            10                     1        255
    65536     1048576           1  2147483645                                         YES N
    1      1
    N
    ENABLED                        NO               N N NO  DEFAULT DEFAULT DEFAULT DISABLED NO  NO
    DISABLED YES                                DISABLED DISABLED              NO  NO  YES DEFAULT
    

    But I can't grant permissions to this topic:

    SYS@ORCL> GRANT SELECT ON OEHR_DEPARTMENTS TO PUBLIC;
    GRANT SELECT ON OEHR_DEPARTMENTS TO PUBLIC
    *
    ERROR at line 1:
    ORA-00942: table or view does not exist
    
    SYS@ORCL>
    

    Any ideas?

    Thank you very much
    Jason

    select owner from dba_tables where table_name='OEHR_DEPARTMENTS';
    show user
    

    If the current user is not the owner of the object, you must qualify the name of the object with the name of the owner when you are referring to the object.

  • Healthcare of Adapter Installation SQLException error: ORA-00942

    Hello

    While trying to install healthcare SOA in the environment of Windows, ORA-00942 error development.

    does anyone know what measures is not installed correctly?

    Thank you verymuch!

    Oracle_SOA1\bin > Ant, Ant - f-soahc - postinstall.xm

    createView:

    replaceSqlScript:

    [sql] Execution of resources: C:\Oracle\Middleware\Oracle_SOA1\soa\thirdparty\healthcare\b2b_mv.sql

    [sql] Cannot run: CREATE MATERIALIZED VIEW LOG ON b2b_business_message WITH ROWID, SEQUENCE (ext_business_message, channel_name, say

    ction, created, native_msg_size, doctype_name, doc_protocol_version, doc_protocol_name) including the NEW VALUES

    BUILD FAILED

    C:\Oracle\Middleware\Oracle_SOA1\bin\ant-soahc-postinstall.XML:92: The following error occurred during the execution of this line:

    C:\Oracle\Middleware\Oracle_SOA1\bin\ant-soahc-postinstall.XML:314: java.sql.SQLSyntaxErrorException: ORA-00942: Table or view does not exist

    I solved this problem, here is the right configuration, the wrong selection of SOA scheme Username will lead to be the above error.

    setProps:

    [entry] Enter wls - username: [weblogic]

    WebLogic

    [entry] Enter wls - password:

    [entry] Enter wls - hostname: [localhost]

    localhost

    [entry] Enter wls-admin-port: [7001]

    7001

    [entry] Enter the wls managed port: [8001]

    8001

    [entry] Enter wls-admin-server-name: [AdminServer]

    AdminServer

    [entry] Enter wls-managed - server name: [soa_server1]

    soa_server1

    [entry] Enter wls-platform. Enter one of the following numbers: ([linux64] linux32)

    , win64, win32, ia64-HP-UX, solaris-sparc32, sparc64 solaris, aix-powerpc64, sola

    LAUGH - ix86_64)

    Win32

    [entry] Enter the type of db: ([oracle], oracleEbr)

    Oracle

    [entry] Enter the db url: [jdbc:oracle:thin:@localhost:1521:orcl]

    JDBC:Oracle:thin:@localhost:1521:ORCL

    [entry] Enter user name of schema SOA:

    DEV_SOAINFRA

    [entry] Enter password schema SOA:

    ORCL

  • Error ORA-00942

    Hello

    I created a database (11.2.0.1.0) manually using the create database statement. When I tried to check some things in my database as SYS user I get the table or the view is not currently not error. The output is shown below.

    SQL > show user

    The USER is "SYS".

    SQL >

    SQL > SELECT *.

    FROM database_properties

    Property_name WHERE = "DEFAULT_PERMANENT_TABLESPACE";  2 3

    FROM database_properties

    *

    ERROR on line 2:

    ORA-00942: table or view does not exist

    SQL > select

    tablespace_name

    extent_management

    segment_space_management

    from dba_tablespaces;  2 3 4 5

    from dba_tablespaces

    *

    ERROR on line 5:

    ORA-00942: table or view does not exist

    SQL >

    SQL > select * from v version $;

    BANNER

    --------------------------------------------------------------------------------

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    PL/SQL Release 11.2.0.1.0 - Production

    CORE 11.2.0.1.0 Production

    AMT for Linux: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    Kind regards

    007

    Hello

    Please check step by step: how to create manually in database: http://kamranagayev.com/2009/05/31/create-database-manually-step-by-step-instruction/

    Thank you

  • When I try to install adobe Lightroom, it gives me the error that it is not able to create a "Lightroom Catalog" on the network volume. -What it means and how to fix it? I'm on a Dell with Windows 7 computer

    Lightroom Catalog error.pngThis is the error that is displayed. I tried to create a new catalog when the option appears when I click ok but this error pops up again whenever I try.

    Hello

    This means that the location where Lightroom is trying to create the catalog is on the network?

    Could you please try to create a catalog on your local hard drive and then check, as the catalog is not supported on the network.

    Kind regards

    Tanuj

  • using remap_tablespace in impdp but still get ORA-01658 for old tablespace...

    Hi all

    I posted this question in the section export/import/SQL Loader & external Table but couldn't do a work around, so post the question here.

    Version of DB - 10.2.0.4.0

    OS - SuSE Linux Enterprise Server 10 (x86_64)

    I took 1 schema export using expdp and everything went successfully.

    The command used was-

    nohup expdp user_in_dev/user_in_dev dumpfile = user_in_dev_18june_new.dmp logfile = expdp_user_in_dev_18june_new.log directory = dir_user_in_dev VERSION = 10.2.0 STATUS = 60 HAPPY = ALL &

    All the above schema data are present in the DEV_TBLSPACE tablespace that is almost full (98%).

    Now, I'm importing the dumpfile into production under schema user_in_prod. Tablepace DEV_TBLSPACE is also present here and is almost 90% full, so I'm remapping in PROD_TBLSPACE using below command: -.

    nohup impdp user_in_prod/user_in_prod DIRECTORY = dir_user_in_dev = HAPPY user_in_dev_18june_new.dmp DUMPFILE = all = impdp_user_in_prod_18june_new.log remap_schema = user_in_dev:user_in_prod VERSION = 10.2.0 LOGFILE remap_tablespace = DEV_TBLSPACE:PROD_TBLSPACE &

    but I am getting below error: -.

    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production 64-bit

    With partitioning, OLAP, Data Mining and Real Application Testing options

    ORA-31626: there is no job

    ORA-31633: could not create the main table 'USER_IN_PROD. SYS_IMPORT_FULL_05 ".

    ORA-06512: at "SYS." DBMS_SYS_ERROR', line 95

    ORA-06512: at "SYS." "KUPV$ FT", line 871

    ORA-01658: cannot create as INITIAL segment in tablespace DEV_TBLSPACE

    When I use remap_tablespace to change the storage space, it must use PROD_TBLSPACE now which has enough free space available.

    User user_in_prod also has unlimited(-1) PROD_TABLESPACE quota.

    Currently, the user_in_prod schema is empty and is not any object.

    Kindly help.

    P.S. - dev exported tables are not partitioned tables.

    Error messages are self-explanatory, if you want to read and investigate them, which you do not want apparently.

    Fact: the two expdp and impdp create a table that is used to manage expdp and impdp

    Reality: this table belongs to the user who runs the expdp and imdp

    Reality: It is created in the DEFAULT tablespace users.

    So: what's the obvious conclusion?

    The default tablespace for USER_IN_PROD is DEV_TBLSPACE,

    and there is no space even to create this table small impdp.

    And you don't need to post in two forums to reach this conclusion.

    Just a small industry and a little thought.

    However, the only thing most people here know is how to hit CTRL + C and Ctrl + V.

    Oracle is not on rocket science and people who don't want to make any effort to master it, should stay away from him.

    -------------

    Sybrand Bakker

    Senior Oracle DBA

  • Novice tried several fixes, but still can not in line with the bureau. PLEASE HELP!

    Folks, I'm sorely need help so that I can get online with my office. I use the laptop from a friend so that I can get online and post this question. I am not real computer savy, but I can follow the guests to help (I tried everything suggested by 'help') and I searched through this forum, checking the erros of suggestion which could be a problem (nothing works). My computer is a Dell Inspiron from 2007 running a 32-bit system with Vista Home Premium.  I use ie9 and I know that my real internet line connection works (I disabled the feature wireless on the laptop from my friend and then was able to access the internet via the cable connected to my desktop computer)

    Yesterday, my computer froze completely while I surfed the web and I was forced to cut the power to unlock things.  When I rebooted my computer the ikon of connection in the lower right corner shows 2 messages:

    "State of the unknown connection.

    "The dependency service or group could start.

    If I click on the apparatus of internet Explorer, I get the following message:

    "Network adapter 'Intel(r) 82562V-2 10/100 Network Connection' having driver or hardware related issues.

    I followed the troubleshooting section and the link 'click here' 'my device used to work, but now does not work'.  As suggested, I reinstalled the Intel driver mentioned above and by using the Device Manager, I checked "Network adapters" and see the Intel(r) 82562V-2 10/100 adapter. I have a right-click and do "Update driver software" and my computer says "the best device driver software is already installed you" and "Windows has determined the driver software for your device is up to date"

    I also tried to turn off my modem and wireless router to reset them and which did not help. One thing that is weird is that my Norton antivirus gets partially disabled (I get a notice 'not protected' when I go through the various aforementioned corrections.  Don't know if it's indicative of anything but figured I would mention.

    I am at my wits end with this and will keep laptop from my buddy for the day that I try to repair my desktop computer; quick answers are highly appreciated.

    Hello

    ·         What is the model number for Dell Inspiron?

    Step 1:

    Instead of using Device Manager, I suggest you to download and install the latest network card drivers on the website of the manufacturer (Dell) for Windows Vista on the computer.

    Check the availability of the network based on your model and operating system driver:

    http://support.Dell.com/

    Step 2:

    Also, try to Uninstall then reinstall the Norton antivirus program and check if it works or good contact Norton support to improve support for Norton antivirus.

    http://www.Symantec.com/support/

  • ORA-00942 error in trace capture

    I use Oracle 10.2.0.4 RAC on Solaris 10 Server.

    A testers complained that he was getting the error ORA-00942 in the application, but he had no idea about the code except for information connection he used.

    So I need to activate the track for all of its sessions which I made using LOGON_TRIGGER with 12 10046 level events but I wasn't able to capture any error ORA-00942.
    I tried to create a similar path for my session file and then I rigged a similar scenario by creating an anonymous block with a code that throw error ORA-00942 but once more they did not fall in the trace file.
    Is there anyway that I can capture these errors in the trace file?

    78121 wrote:

    Alter system set event ' trace 942 name errorstack forever, level 3; »
    This will create a trace udump direcroty whenever you encounter error ORA-0942.

    THANKS, I didn't know that!

    Welcome,

    Similarly, any error ORA can be traced, replace the ORA error number and it will generate the trace.

  • DBMS_SQL in another schema of table-error of request * ORA-00942

    Oracle experts,

    I think that I have problems with the help of DBMS_SQL in which the function was created in a schema and the query table was created in a different schema.

    We have 2 schemas: S1, S2
    We have 2 tables:
    T1 in the S1 schema
    T2 in the schema S2

    We have a function F1 created by DBA in the S1 schema that uses the dbms_sql as:

    CREATE or REPLACE FUNCTION S1. F1 (v1 in VARCHAR2) return NUMBER IS
    Cursor1 INTEGER;
    BEGIN
    Cursor1: = dbms_sql.open_cursor;
    DBMS_SQL. Parse (cursor1, v1, dbms_sql. NATIVE);
    DBMS_SQL.close_cursor (Cursor1);
    Return (0);
    EXCEPTION
    while others then
    DBMS_SQL.close_cursor (Cursor1);
    return (1);
    END;
    /

    I use jdeveloper 11G. We have a DB Oracle 11 g.
    We have a java program that uses jdbc to talk to our Oracle database.


    Basically, in my program java, I call F1 function to check if the query is valid.
    If this is the case, it returns 0. Otherwise, returns the value 1:

    oracle.jdbc.OracleCallableStatement cstmt = connection.prepareCall (oracle.jdbc.OracleCallableStatement) ("start?: = S1.") F1 (?); end; ») ;
    cstmt.registerOutParameter (1, java.sql.Types.INTEGER);
    cstmt.setString (2, "Select * from S2.") T2');
    cstmt. Execute ();

    Since the table that I run the query T2, created in different pattern of F1 has been created, I got the error:

    * ORA-00942: table or view does not exist

    So my questions are the following:
    -J' use DB Oracle 11g, if I run the query on a table that was created in a different pattern than the function (which uses dbms_sql) appeared, I would get the error ORA-00942?
    -If I run the query on the T1 table in the same schema as the function F1, if I have the same problem (the reason why I ask is that I can't create any table in the S1 schema because the DBA can do; I'm not a DBA)

    -This isn't a problem, but a feature of security due to SQL injection?
    -How to solve this problem, other than creating the table in the same schema as the function that uses DBMS_SQL?

    Kind regards
    Binh

    Copyright (default) stored objects managed by virtue field of safety of the owner of the and ignore privileges based on roles. So whatever that the user logged as function of S1. F1 always runs as a user S1 and ignores the S1 user roles. That's why exeuting instruction in S1. F1:

    Select * from S2. T2

    requires that the S1 user have the right to SELECT on S2. T2 granted to S1 directly, without going through the role.

    SY.

  • How to handle the ORA-00942: table or view does not exist

    HII All,

    I'm trying to delete a table dynamically independently of its existence in a procedure. Sound fine when the table exists, but when the table does not work I am facing following error
     ORA-00942: table or view does not exist
    I've made use of pragma exception_init and modified my code like below
    Create or replace Procedure sp_FSASA_FEEDUPLOAD_process
              (
               p_test_dir               in     varchar2,
               p_feed_file_name     in     varchar2
              )
    is
              l_exttable_str varchar2(32000) ;
              
              l_log_file constant varchar2(200) := 'logfile_rgh.log';
              
              l_table_doesnt_exist Exception;
              
              pragma exception_init(l_table_doesnt_exist,-00492);
              
              
              
    Begin
              
              Begin
                   execute immediate 'drop table FSASA_FEEDUPLOAD_EXT purge' ;
              Exception
                        when l_table_doesnt_exist then
                             null;
              
              End;
              
              
              
              
              l_exttable_str := 'Create table FSASA_FEEDUPLOAD_EXT ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||' Category_No                    varchar2(1), ';
              l_exttable_str := l_exttable_str||' Financial_Category          varchar2(300), ';
              l_exttable_str := l_exttable_str||' GFCID                         number, ';
              l_exttable_str := l_exttable_str||' Balance                         number(34,14), ';
              l_exttable_str := l_exttable_str||' Refernce_no                    varchar2(20), ';
              l_exttable_str := l_exttable_str||' Account_no                    varchar2(20), ';
              l_exttable_str := l_exttable_str||' ce_trans_id                    varchar2(20) ';
              l_exttable_str := l_exttable_str||' ) ';
              l_exttable_str := l_exttable_str||' Organization external ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||' type                    oracle_loader ';
              l_exttable_str := l_exttable_str||' default directory      '||p_test_dir;
              l_exttable_str := l_exttable_str||' Access parameters ';
              l_exttable_str := l_exttable_str||' ( ';
              l_exttable_str := l_exttable_str||'  records delimited by newline ';
              l_exttable_str := l_exttable_str||'BADFILE '||q'[']'||p_test_dir||q'[']'||':'||q'[']'||'feed.bad '||q'[']' ;
              l_exttable_str := l_exttable_str||'LOGFILE '||q'[']'||p_test_dir||q'[']'||':'||q'[']'||':feed.log '||q'[']' ;
              l_exttable_str := l_exttable_str||q'[FIELDS TERMINATED BY X'09']';
              l_exttable_str := l_exttable_str||' missing field values are null ';
              l_exttable_str := l_exttable_str||')location('||q'[']'||p_feed_file_name||q'[']';
              l_exttable_str := l_exttable_str||')' ;
              l_exttable_str := l_exttable_str||' )Reject limit unlimited ';
              
              dbg_print(l_log_file,'l_exttable_str : '||l_exttable_str);
    
              
              execute immediate l_exttable_str;
    
    
    End;
    But I am still unable to get rid of him. Pls help me.

    (1) I need the drop because I need to immediately create the table with the name of different file and different path.

    (2) the last thing I do not do is to check the name of the table in the USER_OBJECTS and then drop.

    (3) suggest that create an external table dynamically as a correct approach or not.

    (4) up to now, we use utl_file for reading stream file but I am much interested to use the concept of EXTERNAL TABLE.

    (5) as the file name and the path is changed, I need to create my external table during execution.

    Please suggest me that I can change my file name and the path when running

    Don't drop and re-create it, just create once as DDL not in code and then change it to point to a new file.

    External table

  • error in the table of boat or view does not exist, but on query sql prompt works

    Hello
    Can someone help me understand the error ORA-00942: table or view does not exist when compiling the package on Oracle 9.2.0.4.0

    The below package compiled in the use of the system and trying some queries against the view v$ session_wait however getting error below.

    PACKAGE OF THE BODY SYSTEM. PK_DB_ALERT
    Online: 212
    PL/SQL: ORA-00942: table or view does not exist

    I can run the same query mentioned below sql prompt the user of the system, and it works very well however he dislikes package, please advice, thank you in advance.


    SELECT SID, seq #, event, wait_time
    V $ session_wait
    WHERE event NOT LIKE ' SQL * Net %' AND wait_time <>0
    ORDER BY 2

    DDD says:
    Hello
    Can someone help me understand the error ORA-00942: table or view does not exist when compiling the package on Oracle 9.2.0.4.0

    That means package owner is granted select view not directly, but through roles. However, the roles are ignored by stored rights define or packages stored procedures or functions/triggers... You must grant select owner directly the view package.

    SY.

    Published by: Solomon Yakobson, January 21, 2010 04:06

  • Get ORA-00942 error with the clause, but not when the user sys.

    Hello

    About 3 weeks ago we increased our memary to PGA_aggregate_target = 60 GB, SGA_target = 58 GB Oracle instance. About 1 week ago our cognos user started having errors ORA-00942 for these queries generated with clause, with the same authorization. i.e.

    with 'aBmtQuerySubject4' as
    (select "BANK_NOTE_ADI_INFO_T". ' ' PRINT_BATCH_ID ' 'PRINT_BATCH_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
    'BANK_NOTE_ADI_INFO_T '. ' ' RDP_ID ' 'RDP_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' FI_ID ' 'FI_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' DEPOSIT_NB ' 'DEPOSIT_NB '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_MACHINE_ID ' 'PROCESS_MACHINE_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' OUTPUT_STACKER_TYPE_CE ' 'OUTPUT_STACKER_TYPE_CE '.
    'BANK_NOTE_ADI_INFO_T '. ' ' PARTITION_KEY ' 'PARTITION_KEY '.
    'BANK_NOTE_ADI_INFO_T '. ' ' LOAD_ID ' 'LOAD_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' SERIAL_NUMBER_ID ' 'SERIAL_NUMBER_ID '.
    'BANK_NOTE_ADI_INFO_T '. ' ' SHIFT_NB ' 'SHIFT_NB '.
    'BANK_NOTE_ADI_INFO_T '. ' ' BANK_NOTE_COUNT_NB ' 'BANK_NOTE_COUNT_NB '.
    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    )
    'CountResultQuery5' as
    (select count ("aBmtQuerySubject4". "BANK_NOTE_COUNT_NB") 'C_1' "
    , count (1) 'C_2' of 'aBmtQuerySubject4 '.
    After having count (*) > 0)
    Select 'CountResultQuery5 '. "' C_2 ' 'Count1.
    of 'CountResultQuery5 '.
    ;


    with 'aBmtQuerySubject4' as
    (select "BANK_NOTE_ADI_INFO_T". ' ' LOAD_ID ' 'LOAD_ID '.
    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    )
    'CountResultQuery5' as
    (select count ("aBmtQuerySubject4". "LOAD_ID") 'C_1' "
    , count (1) 'C_2 '.
    of 'aBmtQuerySubject4' having count (*) > 0
    )
    Select 'CountResultQuery5 '. "' C_2 ' 'Count1' of 'CountResultQuery5 '.
    ;

    -output like:

    'BANK_NOTE_ADI_INFO_T '. ' ' PROCESS_RUN_DT ' 'PROCESS_RUN_DT '.
    *
    ERROR at line 3:
    ORA-00942: table or view does not exist


    of "BOISI '." BANK_NOTE_ADI_INFO_T' 'BANK_NOTE_ADI_INFO_T '.
    *
    ERROR at line 3:
    ORA-00942: table or view does not exist

    Since 2 days ago, we get ORA-0403.

    One thing I noticed that the coguser can run above queries correctly after they are run by a user sys...

    Could you please help me on how I can resolve ORA-00942 error?

    Thank you very much, much in advance for all your help and your advice! :-)

    Jihong.

    "One thing I've noticed the coguser can run over queries correctly after they are run by a user sys... »

    Jihong,

    Do you mean that queries can be run successfully as a sys user, or as long as once a sys cognos user user has run the query at least once?

    Gerard

Maybe you are looking for

  • How can I add a new address to my existing account?

    I had 3 email addresses on my account. It developed problems with the hosting server, and impossible to fix, I have deleted the address and thought I'd start fresh with the new entry. However, I can't find out how to add a new address to my account.

  • Mozilla does not take into account my settings

    Mozilla used to restore my previous session after I closed it.After the last update, it stopped it.I checked my settings and all its always the same.(don't forget history in private life and the start of mozilla: ~ open windows of the previous sessio

  • Elite 8200 SFF: Elite 8200 SFF USB 3.0 driver for Win7P (64)

    Does anyone know where to find the drivers for the USB 3.0 controller that presents itself as "Controller of Bus SM" in Device Manager"in Win7 Pro? Have tried all drivers under "Driver - keyboard, mouse and input devices" but nothing works. Any guida

  • Programmatically add or remove slider

    Hello I use slide System Horizontal pointer. And I want to add the slider programmatically. I know how to add this manual, but I want to add/remove the cursors programmatically. Could you please help me?

  • Table update do not command button is held down

    Hi guys,. My application gets the data and then returns it in a table that is updated after each set of data is read. This part works fine, however I also require the user to be able to hold down one of the two buttons to control the function of an a