ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 tabella o visualizzare non esiste errore di 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: A volte quando si compila un oggetto o pacchetto o in vista di Oracle, o eseguire qualche PL / SQL di Oracle dichiarazioni sulla tavola, o quando si esegue un programma di Oracle o di applicazione, il seguente messaggio di errore si verifica il mio:
ORA-00942: table or view does not exist ORA-00942: tavolo o visualizzare non esiste
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 ragione per ORA-00942 messaggio di errore è dovuto al fatto di Oracle tenta di eseguire una istruzione SQL che fa riferimento a un tavolo o che sia non esiste, o perché di un sinonimo che non è consentito qui è stato utilizzato, o perché di voi non hanno diritti di accesso al particolare oggetto. 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. Altre possibili cause è che la tabella o visualizzare appartiene a un altro schema e non hai la tabella di riferimento lo schema di nome, o una vista è stato fatto riferimento a un tavolo dove è obbligatorio.
Depending on what’s the cause of the problem, there are several resolutions or remedies to resolve this error. A seconda di ciò che è la causa del problema, ci sono diverse risoluzioni o di misure correttive per risolvere questo errore. 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 a causa di vari possibili motivi che possono causare l'errore, ci sono diverse azioni o misure che si possono adottare per identificare dove è l'errore e prendere le opportune soluzione o una soluzione.
- Check existing user tables and views if they exists in Oracle by querying the data dictionary by executing the following SQL statement: Check utente esistente tabelle e punti di vista, se esiste in Oracle interrogando il dizionario dei dati eseguendo la seguente istruzione SQL:
select * * selezionare
from all_objects da all_objects
where object_type in (’TABLE’,'VIEW’) dove object_type in ( 'TABLE', '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. Object_name sostituire con il nome della tabella o la vista che si desidera verificare la sua esistenza.
If this error occurred because the table or view does not exist, take the following actions: Se questo errore si è verificato perché la tabella o visualizzare non esiste, adottare le seguenti azioni:
- Check and ensure that the spelling of the table (does not misspell) or view name is correct. Controllare e garantire che l'ortografia della tabella (non errori ortografici) o visualizzare il nome sia corretto.
- Check and ensure that a view is not specified where a table is required. Controllare e garantire che i fini non viene specificato un tavolo dove è obbligatorio.
- If no such table or view exists, create the table or view, or use another table or view. In assenza di tale tabella o vista esiste, creare la tabella o vista, o utilizzare un altro tavolo 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. Se la tabella o visualizzare esiste, controllare e verificare se l'utente ha le autorizzazioni necessarie e dei diritti di leggere e di accesso (vale a dire selezionare) da tavolo, come certi privilegi, può essere necessario per accedere a tavola. 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. In questo caso, sarà necessario avere il proprietario della tabella o vista, o di un DBA Oracle a concedere dei privilegi appropriati, le autorizzazioni o diritti di questo oggetto.
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. Si noti che quando si seleziona da un sistema di vista (ad esempio, / $ sessione) il privilegio o di diritti di accesso alle selezionare la vista da deve essere concesso per l'utente direttamente e non attraverso un ruolo. 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. Questo è il caso, se è possibile selezionare dalla vista senza problema, ma poi visualizzato questo errore quando si cerca di creare una vista su di essa.
- 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 la tabella o visualizzare esiste ma è in un diverso schema da l'attuale schema di cui SQL è in esecuzione (in altre parole, la tabella non proprio di si, ma di proprietà di altri utenti), l'ORA-00942 errore tornerà troppo . Resolve this by explicitly reference the table or view by specifying the schema name, ie schema_name.table_name. Di risolvere questo esplicitamente riferimento alla tabella o visualizzare specificando il nome dello schema, vale a dire schema_name.table_name.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. IMPORTANTE: Questa è una pagina tradotta macchina che è fornito "così com'è" senza alcuna garanzia. Machine translation may be difficult to understand. Traduzione automatica può essere difficile da capire. Please refer to Si prega di fare riferimento a original English article articolo originale inglese whenever possible. quando possibile.
Share and contribute or get technical support and help at Condividere e contribuire o ottenere supporto tecnico e assistenza in My Digital Life Forums La mia vita digitale Forum .
Related Articles Articoli correlati
- ORA-02449 Oracle Drop Table Error ORA-02449 Oracle goccia tabella di errore
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error Creare, aggiungere o Spalato Oracle Database partizione non riesce a ORA-14080 Errore
- Oracle Database Import Error 3113/3114 Database Oracle errore di importazione 3113/3114
- Oracle ORA-14074 Create or Add New Partition Fails Error Oracle ORA-14074 creare o aggiungere nuova partizione non errore
- ORA-01502 Oracle Index in Unusable State ORA-01502 Indice di Oracle in Unusable Stato
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 non bastano i valori di errore
- View and Retrieve Oracle Database Link Details Visualizzare e recuperare i database Oracle link dettagli
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace Error Oracle ORA-01658 Impossibile creare INIZIALE Estensione per il segmento in errore Tablespace
- Manual and Clean Uninstall Oracle for Windows Pulizia manuale e la disinstallazione di Oracle per Windows
- ORA-25153 Temporary Tablespace is Empty Error in Oracle ORA-25153 temporanea Tablespace è Vuoto Errore in Oracle
































