ORA-00942 Table or View Does Not Exist Oracle ErrorメールORA - 00942テーブルまたはビューが存在しない場合は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:いつかコンパイル時に発生するパッケージまたはビューでのオブジェクトまたは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.とのために、いくつかの理由があることが原因でエラーが発生、または手順を実行しには、いくつかの操作を識別することができます。取るにはどこにエラーが発生し、適切な回避策や解決策です。
- Check existing user tables and views if they exists in Oracle by querying the data dictionary by executing the following SQL statement:テーブルや再生回数を確認すれば、既存のユーザが存在するオラクルのデータをクエリを実行して次のSQLステートメント辞書をダウンロードする:
select *選択*
from all_objectsからall_objects
where object_type in (’TABLE’,'VIEW’)どこobject_typeで( 'テーブル' 、 '対象' )
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.そのようなテーブルまたはビューが存在する場合、テーブルまたはビューを作成するか、または別のテーブルまたはビューを使用します。
- 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.この場合には、あなたが必要には、所有者が、テーブルまたはビュー、または、オラクル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.このケースの場合は、対象を選択することができますから問題しかし、このエラーを取得しようとしたときにビューを作成するにしている。
- 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 : This is a machine translated page which is provided "as is" without warranty. 重要 :これは、機械翻訳ページで提供"現状有姿"を保証します。 Machine translation may be difficult to understand.機械翻訳を理解するのは難しいかもしれません。 Please refer toを参照してください original English articleオリジナルの英語記事索引 whenever possible.いつ可能です。
Share and contribute or get technical support and help atを共有して貢献や技術サポートとヘルプを得る My Digital Life Forums 私のデジタルライフフォーラム .です。
Related Articles関連記事
- ORA-02449 Oracle Drop Table Errorエラーが発生OracleのドロップテーブルのOra - 02449
- Create, Add or Split Oracle Database Partition Fails with ORA-14080 Error作成、追加、またはOracleデータベースのパーティション分割が失敗するのOra - 14080エラーが発生
- Oracle Database Import Error 3113/3114 Oracleデータベースにインポートエラーが発生3114分の3113
- Oracle ORA-14074 Create or Add New Partition Fails ErrorオラクルのOra - 14074新しいパーティションを作成または追加に失敗するエラーが発生
- ORA-01502 Oracle Index in Unusable StateメールORA - 01502 Oracleのインデックスを使用不能な状態に
- View and Retrieve Oracle Database Link Details Oracleデータベースのリンクを表示し、取得の詳細
- Oracle PL/SQL ORA-00947 Not Enough Values Error OracleのPL / SQLのに十分な値エラーが発生しないのOra - 00947
- Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace ErrorオラクルのOra - 01658の範囲の最初のセグメントを作成できない場合は、テーブルスペースのエラーが発生
- Manual and Clean Uninstall Oracle for Windows清潔アンインストールするためのマニュアルおよびWindowsのオラクル
- ORA-25153 Temporary Tablespace is Empty Error in OracleメールORA - 25153テンポラリテーブルスペースが空にエラーが発生オラクル















