ORA-00942 Table or View Does Not Exist Oracle Error ORA-00942 таблиця або подання не існують Oracle Error

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: Іноді при компіляції об'єкта або пакета або подання в Oracle, або виконувати деякі PL / SQL Oracle заяви по таблиці, або при запуску програми Oracle або застосування, наступна помилка моя відбувається:

ORA-00942: table or view does not exist ORA-00942: таблиця або подання не існує

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. Причини або причину ORA-00942 помилка відбувається через Oracle намагається виконати SQL заяву, яке посилається на таблицю або подання, або не існують, або через синонім, що не дозволено тут використовується, або з-за вас не мають права доступу до конкретного об'єкта. 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. Іншою можливою причиною є те, що таблицю або належить до іншої схемою, і ви не посилатися на таблицю на ім'я схеми, або з тим було посилатися, де потрібна таблиці.

Depending on what's the cause of the problem, there are several resolutions or remedies to resolve this 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. А завдяки тому кілька можливих причин, які можуть викликати помилку, існує кілька дій або кроків, які можна зробити, щоб визначити, де помилки і прийняти відповідні рішення або обходу.

  1. Check existing user tables and views if they exists in Oracle by querying the data dictionary by executing the following SQL statement: Перевірка існуючих таблиць та думки користувачів, якщо вони існують в Oracle за допомогою запиту до словника даних, виконавши такі заяви SQL:

    select * SELECT *
    from all_objects від all_objects
    where object_type in ('TABLE','VIEW') де в object_type ( 'Table', 'VIEW')
    and object_name = ' OBJECT_NAME '; і object_name = 'OBJECT_NAME';

    Replace OBJECT_NAME with the name of the table or view that you want to verify its existence. Замініть OBJECT_NAME з ім'ям таблиці або уявлення, що ви хочете переконатися в його існуванні.

    If this error occurred because the table or view does not exist, take the following actions: Якщо ця помилка сталася тому, що таблиця або подання не існує, вжити таких заходів:

    • Check and ensure that the spelling of the table (does not misspell) or view name is correct. Перевірте і переконайтеся, що написання таблиці (не помилка) або переглянути назви є правильним.
    • Check and ensure that a view is not specified where a table is required. Перевірте і переконайтеся, що цілі не вказано, де потрібна таблиці.
    • If no such table or view exists, create the table or view, or use another table or view. Якщо немає такої таблиці або перегляду не існує, створіть таблицю або подання, або використовувати інший таблиці або подання.
  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. Якщо таблиця або подання існує, перевірити і переконатися, що користувач має необхідні дозволи і права на читання і доступу (наприклад, вибору) з-за столу, тому що деякі привілеї можуть бути необхідні для доступу до таблиці. 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. У цьому випадку, вам необхідно мати власника таблиці або подання, або Oracle DBA надати відповідні привілеї, дозволу або права на цей об'єкт.

    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. Зверніть увагу, що при виборі з системного погляду (наприклад, V $ сесії) привілеєм чи прав доступу для вибору з точки зору повинні бути надані безпосередньо користувачем, а не через роль. 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. Це відбувається, якщо ви можете вибрати з того, без проблем, але потім ця помилка при спробі створити уявлення про його.

  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. Якщо в таблиці або думка існує, але в іншій схемі з поточної схеми, в якій виконується SQL (іншими словами, таблиця не власні тобою, але належать іншим користувачем), ORA-00942 помилка повернеться занадто . Resolve this by explicitly reference the table or view by specifying the schema name, ie schema_name.table_name. Рішення цієї явної посилання на таблицю або подання, вказавши ім'я схеми, тобто schema_name.table_name.

IMPORTANT : The page is machine translated and provided "as is" without warranty. ВАЖЛИВО: Сторінка машина переведена і надаються "як є" без гарантії. Machine translation may be difficult to understand. Машинний переклад може бути важким для розуміння. Please refer to Будь ласка, зверніться до original English article оригінальний англійська статтю whenever possible. коли це можливо.


Leave a Reply Написати відповідь

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> Ви можете використовувати ці теги: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <справі DateTime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Підписатися на коментарі функція була відключена. To receive notification of latest comments posted, subscribe to Щоб отримувати повідомлення про останні коментарях, підписатися My Digital Life Comments RSS feed Моя Цифрова життя Коментарі RSS Feed or або register to receive Увійдіть, щоб отримувати new comments in daily email digest. нові коментарі в щоденній електронній пошті.
Custom Search

New Articles Нові статті

Incoming Search Terms for the Article Вхідні терміни пошуку для статті

ORA-00942 ORA-00942 - -- ORA-00942: table or view does not exist ORA-00942: таблиця або подання не існує - -- ora-00942 table or view does not exist ORA-00942 таблиця або подання не існує - -- table or view does not exist таблиця або подання не існує - -- table or view does not exist in oracle таблиця або подання не існують в Oracle - -- oracle table or view does not exist Oracle таблиці або перегляду не існує - -- ora 00942 ORA 00942 - -- table or view does not exist oracle таблиця або подання не існує Oracle - -- ora 00942 table or view does not exist ORA 00942 таблиця або подання не існує - -- ORA-00942: table or view does not exist ORA-00942: таблиця або подання не існує - -- ora 942 ORA 942 - -- PL/SQL: ORA-00942: table or view does not exist PL / SQL: ORA-00942: таблиця або подання не існує - -- ora-00942 table or view doesn't exist ORA-00942 таблиця або подання не існує - -- ora-00942 table or view does not exist oracle ORA-00942 таблиця або подання не існує Oracle - -- oracle table permissions дозволів Oracle таблиці - -- SQL Error: ORA-00942: table or view does not exist SQL Error: ORA-00942: таблиця або подання не існує - -- oracle table does not exist Oracle таблиця не існує - -- ora-00942 error ORA-00942 Помилка - -- oracle 00942 Oracle 00942 - -- oracle ora-00942 Oracle ORA-00942 - -- ORA-942 ORA-942 - -- oracle error table or view does not exist Oracle таблиці помилку або подання не існує - -- Table or view does not exists Таблиця або подання не існує - -- ORA-00942: table or view does not exist - -- oracle view table permissions Oracle дозволів Відкрити таблицю - -- ora-00942 V$database ORA-00942 V $ DATABASE - -- ORA-00942 access ORA-00942 доступу - -- v session table or view does not exist V сесія таблиці або перегляду не існує - -- ORA-00942 drop table ORA-00942 DROP TABLE - -- sql error:942:ORA - 00942:tabel or view doesn't exist SQL Error: 942: ORA - 00942: Tabel або перегляду не існує - -- v$session "table or view does not exist" V $ сесії ", таблиця або подання не існує" - -- v$session ORA-00942 V $ SESSION ORA-00942 - -- "ORA-00942: table or view does not exist" "ORA-00942: таблиця або подання не існує" - -- ORA-00942 ORA-00942 - -- table or view does not exist таблиця або подання не існує - -- ora-942 table or view does not exist ORA-942 таблиці або перегляду не існує - -- oracle table or view does not exist Oracle таблиці або перегляду не існує - -- ORA 000942 - -- ORA-00942 but tables exist ORA-00942, але таблиці існують - -- oracle foodmart table or view does not exist Oracle FoodMart таблиця або подання не існує - -- v$session table or view does not exist V $ таблицю сесії або зору не існує - -- "table or view does not exist" "таблиця або подання не існує" - -- could not execute query ORA-00942: table or view does not exist Неможливо виконати запит ORA-00942: таблиця або подання не існує - -- oracle ora-00942 v$session Oracle ORA-00942 V $ SESSION - -- oracle join "table or view does not exist" Oracle приєднатися до "таблиця або подання не існує" - -- oracle "table or view does not exist" Oracle "таблиця або подання не існує" - -- v$parameter table doesn't exist V $ параметр таблиця не існує - -- check exist table oracle перевірити існування таблиці Oracle - -- ora 00942 error ORA 00942 помилку - -- ora-0942 package ORA-0942 пакет - --