ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 tabla o vista no existe error de 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: En varias ocasiones cuando se vuelve a compilar un objeto o de un paquete o ver en Oracle, o ejecutar algunos PL / SQL de Oracle en el cuadro, o cuando se ejecuta un programa de Oracle o una solicitud, el siguiente error se produce mi:
ORA-00942: table or view does not exist ORA-00942: la tabla o vista no 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. La causa o razón de ORA-00942 mensaje de error se debe a que de Oracle intenta ejecutar una sentencia SQL que hace referencia a un cuadro o ver que o bien no existe, o porque un sinónimo de que no está permitido aquí se utilizó, o por ti do no tienen acceso a los derechos objeto particular. 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. Otras posibles causas es que la tabla o vista pertenece a otro esquema y que no haya referencia la tabla por el esquema de nombre, o una opinión de referencia donde un cuadro es obligatorio.
Depending on what’s the cause of the problem, there are several resolutions or remedies to resolve this error. Dependiendo de lo que la causa del problema, hay varias resoluciones o recursos para resolver este error. 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. Y debido a varias razones posibles que puede causar el error, hay varias acciones o medidas que usted puede tomar para identificar dónde está el error y tomar las solución o solución.
- Check existing user tables and views if they exists in Oracle by querying the data dictionary by executing the following SQL statement: Compruebe los cuadros de usuarios existentes y puntos de vista si existe en Oracle de consultar el diccionario de datos ejecutando el SQL siguiente declaración:
select * select *
from all_objects de all_objects
where object_type in (’TABLE’,'VIEW’) en donde object_type ( 'Table', 'Ver')
and object_name = ‘ OBJECT_NAME ‘; y object_name = 'OBJECT_NAME';Replace OBJECT_NAME with the name of the table or view that you want to verify its existence. Sustituir OBJECT_NAME con el nombre de la tabla o vista que desea verificar su existencia.
If this error occurred because the table or view does not exist, take the following actions: Si el error se produjo debido a que la tabla o vista no existe, adopten las siguientes medidas:
- Check and ensure that the spelling of the table (does not misspell) or view name is correct. Comprobar y asegurar que la ortografía de la mesa (no mal) o ver el nombre es el correcto.
- Check and ensure that a view is not specified where a table is required. Comprobar y asegurarse de que el fin no se especifica una tabla donde se requiere.
- If no such table or view exists, create the table or view, or use another table or view. Si ninguna de estas tabla o vista existe, cree la tabla o vista, o usar otra tabla o vista.
- 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. Si la tabla o vista existe, comprobar y verificar si el usuario tiene los permisos necesarios y los derechos de leer y el acceso (es decir, seleccionar) de la mesa, como ciertos privilegios puede ser necesario para acceder a la mesa. 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. En este caso, usted necesita tener el propietario de la tabla o vista, o un DBA Oracle para conceder los privilegios adecuados, los permisos o los derechos a este 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. Tenga en cuenta que la hora de seleccionar un sistema de opinión (como v $ período de sesiones) el privilegio o derechos de acceso para seleccionar de la opinión debe concederse al usuario directamente y no a través de un 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. Este es el caso si se puede seleccionar de la vista sin ningún problema pero luego obtener este error al intentar crear una opinión sobre ella.
- 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. Si la tabla o vista existe, pero está en un esquema diferente de la actual esquema en que el SQL está ejecutando (en otras palabras, el cuadro no tiene la propiedad de usted, pero de propiedad de otro usuario), el ORA-00942 error volverá demasiado . Resolve this by explicitly reference the table or view by specifying the schema name, ie schema_name.table_name. Resolver esta referencia explícita de la tabla o vista, especificando el nombre de esquema, es decir, schema_name.table_name.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Se trata de una máquina que traduzca la página se proporciona "tal cual" sin garantía. Machine translation may be difficult to understand. La traducción automática puede resultar difícil de entender. Please refer to Por favor, consulte original English article artículo original Inglés whenever possible. siempre que sea posible.
Share and contribute or get technical support and help at Compartir y contribuir o recibir apoyo técnico y ayudar a My Digital Life Forums Mi vida digital Foros .
Related Articles Artículos relacionados
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle caída cuadro de error
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Crear, Añadir o base de datos Oracle Split partición falla con ORA-14080 Error
- Oracle Database Import Error 3113/3114 Bases de datos Oracle error de importación 3113/3114
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 crear o añadir nuevas particiones no error
- ORA-01502 Oracle Index in Unusable State ORA-01502 Índice de Oracle en inutilizables Estado
- View and Retrieve Oracle Database Link Details Ver y recuperar bases de datos Oracle Detalles del enlace
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 no basta con los valores de error
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error Oracle ORA-01658 No es posible crear INICIAL La medida para el segmento de tablas de error
- Manual and Clean Uninstall Oracle for Windows Manual y limpio de desinstalación de Oracle para Windows
- ORA-25153 Temporary Tablespace is Empty Error in Oracle ORA-25153 Temporales de tablas está vacía Error en Oracle




