ORA-20000: Schema does not exist or insufficient privileges

Salvation of DBA

I do the upgrade from 9.2.0.6 to 10g database
I'm following ID. doc. 316889.1 - step 7
I get the following error while taking backup existing statistics as follows:

SQL > exec dbms_stats.export_schema_stats ('WMSYS', 'dictstattab', statown = > 'SYS');
BEGIN dbms_stats.export_schema_stats ('WMSYS', 'dictstattab', statown = > 'SYS'); END;

*
ERROR on line 1:
ORA-20000: WMSYS Schema does not exist or not sufficient to analyze privileges a
object it contains
ORA-06512: at "SYS." DBMS_STATS", line 4984
ORA-06512: at "SYS." DBMS_STATS", line 5007
ORA-06512: at "SYS." DBMS_STATS", line 5409
ORA-06512: at line 1

SQL > exec dbms_stats.export_schema_stats ('XDB', 'dictstattab', statown = > 'SYS');
BEGIN dbms_stats.export_schema_stats ('XDB', 'dictstattab', statown = > 'SYS'); END;

*
ERROR on line 1:
ORA-20000: XDB Schema does not exist or not sufficient to analyze privileges a
object it contains
ORA-06512: at "SYS." DBMS_STATS", line 4984
ORA-06512: at "SYS." DBMS_STATS", line 5007
ORA-06512: at "SYS." DBMS_STATS", line 5409
ORA-06512: at line 1


SQL > exec dbms_stats.export_schema_stats ('WKSYS', 'dictstattab', statown = > 'SYS');
BEGIN dbms_stats.export_schema_stats ('WKSYS', 'dictstattab', statown = > 'SYS'); END;

*
ERROR on line 1:
ORA-20000: WKSYS Schema does not exist or not sufficient to analyze privileges a
object it contains
ORA-06512: at "SYS." DBMS_STATS", line 4984
ORA-06512: at "SYS." DBMS_STATS", line 5007
ORA-06512: at "SYS." DBMS_STATS", line 5409
ORA-06512: at line 1


SQL > exec dbms_stats.export_schema_stats ('LBACSYS', 'dictstattab', statown = > 'SYS');
BEGIN dbms_stats.export_schema_stats ('LBACSYS', 'dictstattab', statown = > 'SYS'); END;

*
ERROR on line 1:
ORA-20000: LBACSYS Schema does not exist or not sufficient to analyze privileges
an object it contains
ORA-06512: at "SYS." DBMS_STATS", line 4984
ORA-06512: at "SYS." DBMS_STATS", line 5007
ORA-06512: at "SYS." DBMS_STATS", line 5409
ORA-06512: at line 1


SQL > exec dbms_stats.export_schema_stats ('DMSYS', 'dictstattab', statown = > 'SYS');
BEGIN dbms_stats.export_schema_stats ('DMSYS', 'dictstattab', statown = > 'SYS'); END;

*
ERROR on line 1:
ORA-20000: DMSYS Schema does not exist or not sufficient to analyze privileges a
object it contains
ORA-06512: at "SYS." DBMS_STATS", line 4984
ORA-06512: at "SYS." DBMS_STATS", line 5007
ORA-06512: at "SYS." DBMS_STATS", line 5409
ORA-06512: at line 1


SQL > exec dbms_stats.export_schema_stats ('SI_INFORMTN_SCHEMA', 'dictstattab', statown = > 'SYS');
BEGIN dbms_stats.export_schema_stats ('SI_INFORMTN_SCHEMA', 'dictstattab', statown = > 'SYS'); END;

*
ERROR on line 1:
ORA-20000: SI_INFORMTN_SCHEMA Schema does not exist or insufficient privileges
to analyze an object it contains
ORA-06512: at "SYS." DBMS_STATS", line 4984
ORA-06512: at "SYS." DBMS_STATS", line 5007
ORA-06512: at "SYS." DBMS_STATS", line 5409
ORA-06512: at line 1

Please guide me to solve the problem above.

Thank you
SG

SG,

You can ignore these errors.

Note: 359483.1 - upgrade from 9.2.0.6 to 10.1.0.4.2 with Applications 11.5.10.2
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=359483.1

Kind regards
Hussein

Tags: Oracle Applications

Similar Questions

  • Import error: ORA-01435: user does not exist

    Hi all

    I am importing a dump in the Database, the dump of old financial version 6 [EBIZ] 11g

    I gave this command:

    IMP FILE = EXPDUMP. DMP BUFFER = 524288000 FULL = THERE IGNORE = Y
    Import a user and password given system...

    Once it has started and error

    + ' MODIFY USER «INFUSE' QUOTA UNLIMITED ON «OTHERD +»
    IMP-00003: ORACLE error 1918
    ORA-01918: user 'INFUSE' does not exist
    IMP-00017: statement failed with error ORACLE 1918:
    + "MODIFY USER «DUB_QUERY" QUOTA UNLIMITED ON «OTHERD +»
    IMP-00003: ORACLE error 1918
    ORA-01918: user 'DUB_QUERY' does not exist
    IMP-00017: statement failed with error ORACLE 1918:
    + "MODIFY USER QUOTA UNLIMITED ON"OEM_REPOSITORY '"+" OEMV22"
    IMP-00003: ORACLE error 1918
    ORA-01918: user 'OEMV22' does not exist
    IMP-00017: statement failed with error ORACLE 1918:
    + "MODIFY USER"W03063_ITD"QUOTA UNLIMITED ON 'TEMP' QUOTA UNLIMITED ON"OEM_R"+"
    + «EPOSITORY "«+»
    IMP-00003: ORACLE error 1918
    ORA-01918: user 'W03063_ITD' does not exist
    +. import of objects of APPS in APPS +.
    IMP-00003: ORACLE error 1435
    ORA-01435: user does not exist
    +. import objects of DUB_QUERY to the DUB_QUERY +.
    IMP-00003: ORACLE error 1435
    ORA-01435: user does not exist
    +. import objects from SYSTEM to SYSTEM.
    +. import APPLSYS objects in the APPLSYS. +
    + "ALTER SESSION SET CURRENT_SCHEMA ="APPLSYS"" + "
    IMP-00003: ORACLE error 1435
    ORA-01435: user does not exist
    IMP-00000: Import terminated unsuccessfully

    Kindly advice me what is evil,

    I created all the data of the same files as the old database. both importing all the users will created, if its OK then why this ' * ORA-01435: user does not exist * "coming...


    Concerning

    Paja

    Published by: hamza on July 2, 2012 04:50

    I created all the data of the same files as the old database. so when importing all users will be created

    In my first test I didn't create all the users before importing, just give this command all users imported without any errors.

    Assuming that 'data files' mean 'spaces', are you sure that all the storage spaces have been created (including temporary)?

    I did the same thing to dozens of times (not with a version so old, I must say), and I got these errors when some tablespace has not been created.

  • ORA-24756: transaction does not exist

    Hi guys,.

    DB version: 10.2.0.5.

    Can advise you on the error message ' ORA-24756: transaction does not exist "?
    I reco process not able to clear the uncertain transaction '30.24.90819' because of this.
    I have manually deleted it tables 2pc. However you will want to find out why Recon is not clear.

    Thank you


    Journal Alerts:
    Mon 02 dec 10:53:17 OSH 2011
    DISTRIB TRAN bea1.6B223A6F9DBE9BA3A0D3
    is local tran 30.24.90819 (hex = 1e.18.162c3)
    Insert waiting for loan tran, Yvert = 7738019887590 (hex = 709.a5ed39e6)
    Mon 02 dec 10:53:17 OSH 2011
    Errors in the /admin/bdump/ordb_reco_6561.trc file:
    ORA-24756: transaction does not exist
    Mon 02 dec 10:53:17 OSH 2011
    Errors in the /admin/bdump/ordb_reco_6561.trc file:
    ORA-24756: transaction does not exist


    In the trace file:
    2011-12-02 10:53:17.979
    ERROR, tran is 30.24.90819, ose = 0:
    ORA-24756: transaction does not exist
    2011-12-02 10:53:17.984
    ERROR, tran = 30.24.90819, session #= 2, ose = 0:
    ORA-24756: transaction does not exist

    Salvation;

    Check this thread please:
    ORA-24756

    Respect of
    HELIOS

  • ORA-21700: object does not exist or is marked for deletion - nested table

    Hi, please see my procedure. It comes to delete records in a table whose primary keys will be given in comma separated format.

    but he triggers the following error

    ORA-21700: object does not exist or is marked for deletion
    ORA-06512: at the 'scott '. PKG_COUNTRY', line 4598
    ORA-06512: at line 10
    Pr_Del_Regional_DtlORA-21700: object does not exist or is marked for deletion
    Process is complete.
    Disconnection from the database tfo_user-watson.


    / * In format on 12/05/2011 14:47 (trainer more v4.8.7) * /.



    Varchar_table. ARRAY TYPE IS VARCHAR2 (5); -in the scope of package


    PROCEDURE Pr_Del_Regional_Dtl)
    pi_v_country_id IN VARCHAR2, seperateed comma for deletion
    po_results ON sys_refcursor
    )
    IS
    l_varchar_table varchar_table: = varchar_table ();
    BEGIN
    pr_split_varchar_values (pi_v_country_id, l_varchar_table); -divides: separation by a comma to the nested table.

    DELETE FROM regional_setup
    WHERE country_id IN (SELECT *)
    TABLE (l_varchar_table)); -removed
    EXCEPTION
    WHILE OTHERS
    THEN
    DBMS_OUTPUT. Put_line ("Pr_Del_Regional_Dtl" |) SQLERRM);
    LIFT;
    END Pr_Del_Regional_Dtl;

    split-
    PROCEDURE pr_split_varchar_values)
    pi_v_values IN VARCHAR2,
    op_varchar_table ON varchar_table
    )
    IS
    l_v_value VARCHAR2 (3000);
    l_value VARCHAR2 (10);
    I PLS_INTEGER: = 0;
    BEGIN
    op_varchar_table: = varchar_table ();
    l_v_value: = pi_v_values;

    IN all, LENGTH (l_v_value) > 0
    LOOP
    i: = i + 1;

    IF INSTR (l_v_value, ",") > 0
    THEN
    op_varchar_table. EXTEND;
    op_varchar_table (i): =.
    LTRIM (RTRIM (SUBSTR (l_v_value, 0, INSTR (l_v_value, ",") - 1)));
    ON THE OTHER
    op_varchar_table. EXTEND;
    op_varchar_table (i): = LTRIM (RTRIM (l_v_value));
    l_v_value: = ";
    END IF;

    l_v_value: =.
    SUBSTR (l_v_value, INSTR (l_v_value, ",") + 1,
    LENGTH (l_v_value));
    END LOOP;
    END pr_split_varchar_values;

    Thanks in advance
    TYPE varchar_table IS TABLE OF VARCHAR2(5); -- in package scope
    

    Have you declared in package or database? Remember, local collection cannot be used in the SQL statement.

  • Error: [ORA-02289: sequence does not exist.] -

    Hi guys!

    I have a problem when creating a package body.
    The bellows of the sequence is not known, and it is in the PACKAGE BODY:
    SELECT CAMPO_SEQ. CURRVAL IN pNewID FROM DUAL;

    Let me put the script and execution as:

    SQL > CREATE or REPLACE PACKAGE in the CAMPO_PACK
    2
    3 TYPE T_CURSOR IS REF CURSOR;
    4
    5 PROCEDURE InserirCampo (pNewID NUMBER, pCod_Requisicao NUMBER, pCod_Ti
    poCampo NUMBER, pCampo VARCHAR2, pDataInicial TIMESTAMP, TIMESTAMP, p pDataFinal
    Cod_Cidade NUMBER,
    6 pLogradouro VARCHAR2, VARCHAR2, VARCHAR2 pComplemento pNumero, GO pBairro
    RCHAR2, PDCP VARCHAR2, pProtocoloRelacionado VARCHAR2);
    PROCEDURE GetCamposByRequisicaoID (the pCod_Requisicao NUMBER, IO_CURSOR OUT 7
    T_CURSOR);
    8 PROCEDURE DeletarByRequisicaoID (pCod_Requisicao NUMBER);
    9
    10 END CAMPO_PACK;
    11.

    Package created.

    SQL > CREATE or REPLACE PACKAGE BODY CAMPO_PACK as
    2
    3 PROCEDURE InserirCampo (pNewID NUMBER, pCod_Requisicao NUMBER, pCod_Ti
    poCampo NUMBER, pCampo VARCHAR2, pDataInicial TIMESTAMP, TIMESTAMP, p pDataFinal
    Cod_Cidade NUMBER,
    4 pLogradouro VARCHAR2, VARCHAR2, VARCHAR2 pComplemento pNumero, GO pBairro
    RCHAR2, PDCP VARCHAR2, pProtocoloRelacionado VARCHAR2) AS
    5 BEGIN
    6 INSERT INTO Campo (Cod_Requisicao, Cod_TipoCampo, Campo, DataInicial, D
    ataFinal, cod_cidade, number, complement, Bairro, CEP, Logradouro, ProtocoloRel
    acionado)
    7 VALUES
    8 (pCod_Requisicao, pCod_TipoCampo, pCampo, pDataInicial, pDataFinal, BCP
    d_cidade, pLogradouro, pNumero, pComplemento, pBairro, PDCP, pProtocoloRelaciona
    (c);
    9
    * 10 SELECT CAMPO_SEQ. CURRVAL IN pNewID FROM DUAL; *
    END 11 InserirCampo;
    12
    PROCEDURE GetCamposByRequisicaoID (the pCod_Requisicao NUMBER, IO_CURSOR OUT 13
    T_CURSOR)
    14 EAST
    15 V_CURSOR T_CURSOR;
    BEGIN 16
    17 OPEN FOR V_CURSOR
    18 SELECT C, Cam.Cod_TipoCampo, Cam.Cod_Requisicao, Cam.Cod_Campo
    AM. Campo, Cam.DataInicial, Cam.DataFinal, Cid.Cod_Cidade, Cid.NomeCidade, Cid.Co
    d_UF, UF. Description UFDescricao,
    Cam.Logradouro 19, Cam.Numero, Cam.Complemento, Cam.Bairro, Ca
    m.CEP, Cam.ProtocoloRelacionado
    Campo Cam 20
    21 LEFT JOIN Cidade Cid ON Cid.Cod_Cidade = Cam.Cod_Cidade
    A JOIN LEFT 22 UF ON UF. Cod_UF = Cid.Cod_UF
    23 WHERE Cod_Requisicao = pCod_Requisicao;
    24 IO_CURSOR: = V_CURSOR;
    25 END GetCamposByRequisicaoID;
    26
    27 PROCEDURE DeletarByRequisicaoID (pCod_Requisicao NUMBER) HAVE
    BEGIN 28
    29 DELETE FROM campo
    30 WHERE cod_requisicao = pcod_requisicao;
    ENDS 31 DeletarByRequisicaoID;
    32
    END 33 CAMPO_PACK;
    34.

    Warning: Package body created with compilation errors.

    SQL > show err
    Erros para PACKAGE BODY CAMPO_PACK:

    LINE/COL ERROR
    -----------------------------------------------------------------
    10/5 PL/SQL: statement ignored
    10/12 PL/SQL: ORA-02289: sequence does not exist.
    SQL >

    What must I do to solve this problem?
    Thanks for the help!

    Anderson

    If there is no selected line then don't create the sequence by giving this command
    create sequences CAMPO_SEQ begins with 1 increment of 1;

    Arpit sinha
    www.OracleDBA.in

  • ORA-19007 - schema does not match

    On my database, we have two matching schemas tables in each - one for the active data and the other for data which stands for research in the long term. Both contain a pattern registered XMLType column. However, when I try to insert directly from the assets in the archive, I get the following:

    SQL > insert into eci_archv_schema.rev_item_earn_dtl_archv
    2 Select * from eci_schema.rev_item_earn_dtl
    3 where ROWNUM = 1;
    insert into eci_archv_schema.rev_item_earn_dtl_archv
    *
    ERROR on line 1:
    ORA-19007: http://xmlns.foo.com/1.3.1/ABC.xsd Schema does not match http://xmlns.foo.com/1.3.1/ABC.xsd expected.

    The only way in which I can properly move the data from one to the other is to wrap select it from one of the following:

    1 XMLType.createXML (my_xml_column.getCLOBVal ())
    2 XMLType.createNonSchemaBasedXML (my_xml_column)

    These two taking unusually long to complete and cause my check-in process is very, very slow. Apparently because the patterns were recorded under different database diagrams, they are somehow regarded as incompatible. This is the case or not they actually fit in another way? Is there an easy way to compare?

    FYI: we are 11.2.0.3, but this also happens on 11.2.0.2. Any help would be appreciated.

    What specific information would be useful: the XSD who sign us up?

    Yes, including the one you're importing (if not too big) or a simplified version if possible?

    BTW, it's binary storage object-relational or XML?

  • Not available user: schema does not exist in the database?

    Hi team,

    I am trying to add to the existing table. Plaintiff mentioned schrma_name and table_name.

    I used under request... to find the schema exists or not.

    Select the username, ACCOUNT_STATUS from dba_users where username = "ABCD_USA_NUM";

    no selected line.

    Please suggest one., average user schema did not exist right did not exist? It is 4 knots of RAC database.

    Thnaks
    Please suggest any one., User not existed means schema not existed right?. This is 4 nodes RAC Database.
    

    In your case, Yes.

    Rgds,

    Ahmer

    N.B.: To win a good reputation on the forums, and if you want that your question will be answered in due time. Kindly adopt a used to score your closed questions as soon as you give the answer. and be courteous to people who tries to help.

  • Error exporting schema EXPDP in tablespace does not exist...

    C:\>EXPDP ****/**** DIRECTORY=DATA_PUMP_DIR DUMPFILE=PRODDTA_SCHEMA.DMP LOGFILE=PRODDTA_SCHEMA_EXP.LOG
    
    Export: Release 10.2.0.4.0 - Production on Monday, 20 June, 2011 13:27:56
    
    Copyright (c) 2003, 2007, Oracle.  All rights reserved.
    
    Connected to: Oracle Database 10g Release 10.2.0.4.0 - Production
    ORA-31626: job does not exist
    ORA-31633: unable to create master table "PRODDTA.SYS_EXPORT_SCHEMA_05"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT", line 871
    ORA-00959: tablespace 'PRODDTATB' does not exist
    Hi guys,.

    I'm trying to export this particular scheme but apparently he error on this particular tablespace PRODDTATB. This has been used to rearrange the storage space for the temporary storage and was therefore not used and subsequently abandoned. How to find which table or view or other objects, referring to this particular space?

    I already checked the following:

    dba_tables
    dba_indexes
    dba_segments
    dba_lobs
    dba_tablespaces

    USER_TABLES
    USER_INDEXES
    WHERE user_segments
    user_lobs
    USER_TABLESPACES

    Or create this particular tablespace will allow me to export successfully? But before I will recreate I want to find what objects is still referencing this particular table space... Hope someone can point me in the right direction.

    Thank you very much.

    Published by: user6338270 on June 20, 2011 12:13 AM
    Added things I looked...

    views, you can see
    dba_users,
    dba_tables

    I hope that your tablespace has been abandoned, in this case you need to retrieve this particular tablespace.

  • SYSMAN. MGMT_JOBS does not exist

    As a Newbee Oarcle, I seek to understand the management of the performance of oracle 10g. While doing a little exercise I try to rearrange a few clues. When you submit the generated script (generated by MS) I get the following error message:

    Exception beim Weiterleiten jobs SQL: ORA-20204: user does not exist: DBA1 ORA-06512 in "SYSMAN." MGMT_USER ', line 122 ORA-06512: in 'SYSMAN:MGMT_JOBS' line 139 ORA-06512: in "SYSMAN:MGMT_JOBS", line 78 ORA-06512: in line 1.

    I checked if sysman has a table named MGMT_JOBS and saw that there is no. How to create this table and what is the use of this table.
    The problem is perhaps another?

    Thanks for help
    Neuling

    You reply to my message. Are you doing things the user Sys or some other user?
    Aman...

  • ORA-00959: tablespace 'EXAMPLE' does not exist

    Hi all,

    I'm not a DBA, and I'm very basic level with oracle database technology. I want to study to get OCA "SQL Fundametals I" certification.

    For this reason I downloaded the "pre built' virtualbox machine with oracle database 11g r2 installed, but I have not found the EXAMPLE of HR and OE schema that is used as a case study for the certification.

    Googling on the internet I found that it is possible manually install the schema example.

    In the $ORACLE_HOME/demo/schema, I found the mkplug.sql. Run this file with sqlplus I insert the 11 request parameters but the High Representative, OE, and another example of schema are not correctly create.

    The error I get in the log file is: ORA-00959: tablespace "EXAMPLE" does not exist.

    Please, can someone help me on what are the exact steps to do before running the mkplug.sql file?

    Research on the internet I found that the solution is the following: either we create tablespace EXAMPLE in the target database, or we use the datapump REMAP_TABLESPACE option to redirect objects to a different tablespace.

    But I don't know about do. Please, can anyone tell me not away in all simply elsewhere what I need to do?

    Thanks in advance.

    ndiquez backup file of the database ENTRY for the EXAMPLE tablespace as parameter 9:

    Enter the value 9: example01.dfb (not full path)

    Of course, that won't work.

    Why wait for work if you provide the wrong file name and path?

    I ask you SPECIFICALLY what the name was, and what extension was

    / DBCA/templates /' | ' example01. DFB', done);

    That was probably the wrong post. Most of the default extensions are "DBF", not "DFB".

    Your data file EXAMPLE01 exist? What extension does?

    You said that the extension is "DFB" and I ask you to double check that. That's what you say.

    Yes, there are the data EXAMPLE01 file. It is located at the address: u01/app/oracle/product/11.2.0/orcl/assistants/dbca/templates. Its extension is .dfb (EXAMPLE01.dfb).

    You have CONFIRMED that the extension is "DFB" and NOT of DBF.

    You MUST USE THE CORRECT ACCESS path, name of FILE AND the EXTENSION.

    You have confirmed that the file ' is located at the address: u01/app/oracle/product/11.2.0/orcl/assistants/dbca/template'. But while you did NOT provide this path in the prompt.

    If a file is named A, and you must provide a name of B would you expect to work?

    If the file is located in the directory X 123 and you provide directory P789 would you expect to work?

    As I said earlier the IMP (import) statement will take a file source and COPY to the destination location, add the metadata of the database.

    She did this so that you ALWAYS have the original source file to use again if you want to a different database.

    You must follow the instructions of the example and provide the NAME AND path to FULL ACCESS to all files.

  • ORA-00942: table or view does not exist in SOA

    Hello

    I created a composite that contains the Web service-> Ombudsman-> DBAdapter.

    This web service retrieves the data from the database on the basis of the comments. The composite is compiled.

    But on the tests, I make the following mistake:

    env:Server < faultcode > < / faultcode >

    < faultstring > Exception occurred when the link was invoked.

    Exception occurred during invocation of the JCA binding: "JCA binding run operations reference 'DB_getSelect' have to: DBReadInteractionSpec Execute Failed Exception."

    Name of the query: [DB_getSelect], name of the descriptor: [DB_get. MdsPaths].

    Caused by java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    .

    See the first exception for the specific exception.  This exception is considered as reproducible, probably due to a communication failure.  To be classified as not reproducible instead, add nonRetriableErrorCodes property to "942" deployment descriptor (i.e. weblogic - RA.Xml).  Auto retry a reproducible fault set composite.xml for this invoke these properties: jca.retry.interval, jca.retry.count and jca.retry.backoff.  All properties are integers.

    ".

    The called JCA adapter threw an exception of resource.

    Please examine the error message above carefully to determine a resolution. < / faultstring >

    < faultactor / >

    < detail >

    < exception > ORA-00942: table or view does not exist < / exception >

    I checked my DB Adapter Configuration. Its quite well. Please answer if you hava a solution.

    Thank you

    Hi AnatoliAtanasov,

    Thanks for the response to the stupid question.

    (a) Yes, I have the table created in the database.

    (b) the Data Source connection points to the correct schema.

    (c) Yes. The source is configured with a pool of outbound connections.

    (d) and I have re-deployed the adapter.

    Thank you

    Tanay

  • com.sunopsis.dwg.function.SnpsFunctionBaseException: ORA-00942: table or view does not exist

    Hi all

    I have a problem in the odiwaitfordata component and when I run get the below error

    Code:

    OdiWaitForData "-CONTEXT GLOBAL =" "-GLOBAL_ROWCOUNT = 1" "-LSCHEMA = ORA_LS" "-POLLINT = 1000" '-SQLFILTER = numero_fichier =-1 ""-TIMEOUT = 10000 ""-TIMEOUT_WITH_ROWS_OK = YES ""-INCREMENT_DETECTION = NO ' "-TABLE_NAME = PRACTICE." "" "" "» GENERATION. "

    Error:

    com.sunopsis.dwg.function.SnpsFunctionBaseException: ORA-00942: table or view does not exist

    Thanks in advance

    Kind regards

    Vivek

    Hi 2700773,

    "PRACTICE. GENERATION' is not a valid table name. You must only give the name of the table, not the schema name. You can also give a list of table, separated by a comma, or a table name masks using % and _ like wildcards.

    As for your previous question? Is it resolved? Please give us a feedback or close the message if it's over.

    Kind regards

    JeromeFr

  • Error (301,28): PL/SQL: ORA-00942: table or view does not exist

    Hi all

    11.2.0.3.10

    AIX6

    I was installing store_procedures on our PROD several times, and they are successful. This stored_procedures are created by developers and once tested on DEV & UAT, they are transferred to the PROD through me.

    But this time I install a new SP, but I got error > Error (301,28): PL/SQL: ORA-00942: table or view does not exist

    Even if the synonym. The owner of the schema of the SP has grant select on the table and synonym of created. Why not MS can see this synonym?

    Is there something that I missed?

    Help, please... I'm going crazy

    Thank you all,

    MK

    Since there is only one user in your role, so I'll suggest to directly grant you the user rather than role - it's the easiest and simplest account according to your needs. The roles are best used to organize all of the users. If ever it is necessary to use roles (i.e. multiple users/schemas in a role) then, I think, you can play with AUTHID clause creating blocks.

  • ORA-06512: at "SYS." DBMS_XMLGEN", (ORA-00942: table or view does not exist)

    Hey guys, it's Xev.

    I decide to use SQL and XML and it works in a scenario, but in another scenario, is not.

    Here's the Code, I'm passing to two variables, first of all, I spend in the table table_name, and then I spend in the schema.

    If I connected it with "user" and that it seeks it's own pattern, he found the results, as for example, but if I try to run this code while not

    connected to the same user I'm looking for more, I get this error.

    ORA-19202: an error has occurred in the processing of XML

    ORA-00942: table or view does not exist

    ORA-06512: at "SYS." DBMS_XMLGEN", line 288

    ORA-06512: at line 1

    19202 00000 - "an error has occurred in the treatment of XML %s.

    * Cause: An error occurred during the processing of the XML function

    * Action: Check the given error message and resolve the problem appropriate

    /*-------------------------------------------------------------------------------

    This code works only you are connected to the user you are looking on.

    But if you're looking for a different user tables, it is kicking up and gives the above XML error...

    */

    SET SERVEROUTPUT ON

    exec DBMS_OUTPUT. ENABLE (1000000);

    Search_string VAR VARCHAR2 (28)

    EXEC: search_string: = ' ^ [0-9]{3}-[0-9]{2}-[0-9]{4}$']

    COLUMN "Keyword" FORMAT A28

    COLUMN 'Table' FORMAT A9

    COLUMN ' column value / "FORMAT A50

    SELECT DISTINCT SUBSTR (: search_string, 1: 28) "keyword."

    SUBSTR (table_name, 1, 14) "table."

    SUBSTR (t.column_value.getstringval (), 1, 50) ' / value of the column.

    OF dba_tab_cols.

    -where owner = ('& SCHEMA_NAME')

    TABLE

    (XMLSEQUENCE

    (DBMS_XMLGEN. GETXMLTYPE

    ("SELECT" | column_name |)

    'FROM ' | table_name |

    "WHERE REGEXP_LIKE.

    (' | column_name |) ','''

    || : search_string. ''')'

    () .extract (' LINES/rowset / * ""))) t

    -WHERE table_name IN ("FIND_TEST")

    WHERE table_name = upper ('& table_name')

    AND the OWNER = upper ('& SCHEMA_NAME')

    ORDER BY "Table".

    /

    Can someone please explain how works (DBMS_XMLGEN) and why it is throwing this error?

    Thank you

    Xev.

    It has nothing to do with DBMS_XMLGEN. GETXMLTYPE. It simply means the user running your SQL has no select privileges on the table & SCHEMA_NAME. & TABLE_NAME.

    SY.

  • ORA-00942 Table or view does not exist when you run a procedure

    Hello

    I have a procedure called FND_GLOBAL under a scheme called APPS and I have granted execute privilege on this procedure to another schema called CIVICA

    However when I run the procedure of the CIVIC scheme I get

    ORA-00942 Table or view does not exist
    ORA-06512 at APPS. FND_CORE_LOG, line 25
    ORA-06512 at APPS. FND_GLOBAL, line 104
    ORA-06512 at APPS. FND_GLOBAL, line 1620
    ORA-06512 at APPS. FND_GLOBAL, line 2171
    ORA-06512 at APPS. FND_GLOBAL, line 2313

    I'm guessing that some of the sub components must also be given to the CIVICA?

    How does work to define rights? Subcomponents should not also be accessible via this procedure being owner / defined by Apps but executed by CIVICA?

    Jim

    Hi, Jim,.

    Jim Thompson wrote:
    Sorry Frank - in order to clarify

    I wanted to CIVICA to be able to execute procedures and functions in applications. Package FND_GLOBAL

    However this package has been defined with the rights of the plaintiff - CIVICA must be explicitly object privilege to all objects used by the package (or packages of sub that he calls, that there are some - it is really a case to view the hierarchy of this package and ensure that each object is explicitly given to CIVICA)

    What do you mean by "explicitly granted to CIVICA"? ". Do you mean granted directly to CIVICA, and not a role that CIVICA has?
    Once more, the privileges granted to the roles are good enough for packages AUTHID CURRENT_USER (also known as the "rights of the applicant"). The only time where you have to say "GRANT."... CIVICA"is when granting a role to the CIVICA; all other privileges may be granted to this role, or some other roles that are granted to the role that CIVICA has.
    Mnight want to create a role that has all the necessary privileges to use the package and grant this role to users like CIVICA.

    ... So, it seems as if I have no choice but to get my pen and paper and trace through the nested packages and objects called by FND_GLOBAL and to ensure that they are explicitly granted to CIVICA! I hate days like these!

    CIVIA want to have all the privileges that has APPS? You can query dba_tab_privs (and oither views in the data dictionary) to find (and write statements of "GRANT... ("for) all these privileges.

    You can also create another packet (let's call it FND_GLOBAL_I) in applications with rights of the author. Specification of package would be identical to the specification of FND_GLOBAL package, except that it says FMD_GLOBAL_I instead of FND_GLOBAL. The FND_GLOBAL_I package body are very similar to the spec. The body of each procedure or function would simply be a call to the corresponding functuion in FND_GLOBAL. Since FND_GLOBAL has hundreds of procedures, it will be a lot of work, but perhaps less work than to find exactly what privileges are needed.

Maybe you are looking for