ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 tabela ou vista não existe erro Oracle

Sometime when you compile an object or package or view in Oracle, or execute some PL/SQL statements on Oracle table, or when running an Oracle program or application, the following error my occurs: Às vezes quando você compilar um objeto ou pacote ou ver em Oracle, ou executar algumas PL / SQL em Oracle mesa, ou ao executar um programa ou aplicativo Oracle, ocorre o seguinte erro meu:

ORA-00942: table or view does not exist ORA-00942: mesa ou visualizar não existe

The cause or reason for ORA-00942 error message is because of Oracle tries to execute an SQL statement that references a table or view that either does not exist, or because of a synonym that is not allowed here was used, or because of you do not have access rights to the particular object. A causa ou motivo para ORA-00942 mensagem de erro é por causa da Oracle tenta executar uma instrução SQL ou mesa que referencie um ponto de vista de que ou não existe, ou por causa de um sinónimo de que não é permitido aqui foi usado, ou por causa de você fazer não têm direitos de acesso para o objeto específico. Other possible cause is that the table or view belongs to another schema and you didn’t reference the table by the schema name, or a view was referenced where a table is required. Outro possível motivo é que a tabela ou vista pertence a um outro esquema e você não fez referência a tabela pelo nome de esquema, ou de uma opinião foi referendada quando uma tabela é exigido.

Depending on what’s the cause of the problem, there are several resolutions or remedies to resolve this error. Dependendo de qual é a causa do problema, existem várias resoluções ou soluções para resolver esse erro. And due to several possible reasons that may cause the error, there are several actions or steps that you can take to identify where is the error and take the appropriate workaround or solution. E devido a vários motivos possíveis que podem causar o erro, existem várias medidas ou acções que pode levar a identificar onde está o erro e tomar as devidas solução alternativa ou solução.

  1. Check existing user tables and views if they exists in Oracle by querying the data dictionary by executing the following SQL statement: Confira usuário existente, desde que opiniões e mesas existe no Oracle por consultando o dicionário de dados, executando o seguinte comando SQL:

    select * select *
    from all_objects a partir de all_objects
    where object_type in (’TABLE’,'VIEW’) onde nos object_type ( 'tabela', 'VIEW')
    and object_name = ‘ OBJECT_NAME ‘; e object_name = 'OBJECT_NAME';

    Replace OBJECT_NAME with the name of the table or view that you want to verify its existence. Substituir OBJECT_NAME com o nome da tabela ou vista que pretende verificar a sua existência.

    If this error occurred because the table or view does not exist, take the following actions: Se este erro ocorreu porque a tabela ou vista não existir, tomar as seguintes ações:

    • Check and ensure that the spelling of the table (does not misspell) or view name is correct. Verificar e garantir que a ortografia da tabela (não cometer erros de ortografia) ou exibir nome está correto.
    • Check and ensure that a view is not specified where a table is required. Verificar e garantir que o objectivo não é especificada uma tabela onde é necessária.
    • If no such table or view exists, create the table or view, or use another table or view. Se não existir tal tabela ou vista existe, crie a tabela ou vista, ou usar uma outra tabela ou vista.
  2. If the table or view exists, check and verify if the user has the necessary permissions and rights to read and access (ie select) from the table, as certain privileges may be required to access the table. Se a tabela ou vista existe, controlar e verificar se o usuário tem as permissões necessárias e direitos de leitura e acesso (ou seja, selecionar) a partir da tabela, como certos privilégios podem ser requisitados para acessar a tabela. In this case, you will need to have the owner of the table or view, or a Oracle DBA to grant the appropriate privileges, permissions or rights to this object. Neste caso, você precisará ter o proprietário da tabela ou vista, ou um DBA Oracle para conceder os privilégios adequados, permissões ou direitos para esse objeto.

    Note that when selecting from a system view (such as v$session) the privilege or access rights to select from the view must be granted to the user directly and not via a role. Repare que quando da escolha de um sistema de visualização (como a sessão $ v) o privilégio ou de direitos de acesso a escolha a partir do ponto de vista deve ser concedido ao usuário diretamente, e não através de um papel. This is the case if you can select from the view without problem but then get this error when trying to create a view on it. É o que acontece se você pode selecionar a partir do ponto de vista sem problema, mas, depois, pegar esse erro ao tentar criar uma opinião sobre ele.

  3. If the table or view exists but is in a different schema from the current schema where the SQL is executing (in other word, the table doesn’t own by you, but owned by other user), the ORA-00942 error will return too. Se a tabela ou vista existe, mas está em um esquema diferente do atual esquema onde o SQL está executando (em outras palavras, o quadro não é por si própria, mas pertencente a outro usuário), o ORA-00942 erro também retornará . Resolve this by explicitly reference the table or view by specifying the schema name, ie schema_name.table_name. Por isso explicitamente referência a tabela ou vista de esquema, indicando o nome, ou seja schema_name.table_name.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Esta é uma máquina página traduzida que é fornecido "como está" sem garantia. Machine translation may be difficult to understand. A tradução automática pode ser difícil de entender. Please refer to Por favor referir-se original English article artigo original Inglês whenever possible. quando possível.

Share and contribute or get technical support and help at Compartilhe e contribuir ou obter assistência técnica e ajudar a My Digital Life Forums Minha vida digital Fóruns .



Leave a Reply Deixe uma Resposta

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Você pode usar estas tags: <a href="" title="Avião"> <abbr title="Avião"> <acronym title="Avião"> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Subscrever sem comentar


Custom Search

New Articles Novos artigos

Incoming Search Terms for the Article Incoming Pesquisa Termos para o artigo

ORA-00942 ORA-00942 - -- ORA-00942: table or view does not exist ORA-00942: mesa ou visualizar não existe - -- ora 00942 ora 00942 - -- ORA-00942 create view ORA-00942 criar visualizar - -- oracle table does not exist oráculo tabela não existe - -- orACLE CHECK view exist pl exista VERIFICAR ORACLE vista pl - -- ORA-00942: ORA-00942: - -- PL/SQL: ORA-00942: table or view does not exist PL / SQL: ORA-00942: mesa ou visualizar não existe - -- oracle ORA-00942 oráculo ORA-00942 - -- check grant select on table oracle verifique conceder seleção no quadro oráculo - -- check existence of a table in oracle verificar existência de uma tabela do oracle - -- created table oracle access does not exist Criar tabela oráculo acesso não existe - -- error ORA-00942 erro ORA-00942 - -- how to check an table object is exists or not in oracle como verificar se existe uma tabela objeto ou não no oráculo - -- if not exists sql in oracle se não existe sql no oráculo - -- IF not exists oacle Se não existe oacle - -- if exists drop table oracle se existe queda tabela oracle - -- not exists oracle Não existe oráculo - -- oracle table or view does not exist oráculo mesa ou visualizar não existe - -- oracle "table or view does not exist" owner oráculo "mesa ou visualizar não existe" dono - -- ORA-00942 wrapped package ORA-00942 pacote embrulhado - -- oracle error ORA-00942 oráculo erro ORA-00942 - -- ora 00942 error ora erro 00942 - -- ORA 942 ORA 942 - -- pl/sql ORA-00942 PL / SQL ORA-00942 - -- rights on a table in oracle direitos sobre uma mesa no oráculo - -- table or view does not exist mesa ou visualizar não existe - -- V$SESSION table or view does not exist V $ SESSÃO mesa ou visualizar não existe - -- v$session TABLE OR VIEW does NOT exist CONTRA $ sessão QUADRO VISTA OU NÃO existe - -- view oracle tables oráculo ver quadros - -- how to verify is table exist pl/sql como verificar se existe tabela pl / sql - -- IF NOT EXISTS oracle procedure IF NOT EXISTS oráculo procedimento - -- oracle select from table doesn't exist oráculo selecionar a partir de tabela não existe - -- oracle 10g drop-user-sysman error table view does not exist Oracle 10g drop-user-sysman erro ver tabela não existe - -- oracle check existence of table oráculo verificar existência de tabela - -- oracle check existence table oráculo verificar existência mesa - -- oracle table permissions oráculo tabela permissões - -- PL/SQL: ORA-00942 v$session PL / SQL: ORA-00942 CONTRA $ sessão - -- table does not exist oracle import tabela não existe oráculo importação - -- table or view does not exist oracle mesa ou visualizar não existe oráculo - --