오류 보고 -
ORA-00942: table or view does not exist
00942. 00000 - "table or view%s does not exist"
*Cause: The specified table or view did not exist, or a synonym
pointed to a table or view that did not exist.
To find existing user tables and views, query the
ALL_TABLES and ALL_VIEWS data dictionary views. Certain
privileges may be required to access the table. If an
application returned this message, then the table that the
application tried to access did not exist in the database, or
the application did not have access to it.
*Action: Check each of the following
- The spelling of the table or view name is correct.
- The referenced table or view name does exist.
- The synonym points to an existing table or view.
Create로 dept 테이블 생성 후에 emp 테이블을 생성하고 있고 있었는 데, 이런 오류가 발생했다.
테이블이 존재하지 않는 오류라니...
그래서 현재 사용중인 오라클에 들어가서 테이블 생성여부를 확인해보니, dept 테이블이 없었다.
실습하던 도중에 삭제한 것으로 추정된다.
dept 테이블을 다시 생성하고 나서 emp 테이블을 생성하니 오류 없이 emp 테이블이 잘 생성되었다.
Mission Clear.
'공부(TIL) > Error' 카테고리의 다른 글
no such file or directory, lstat '..\AppData\Roaming\npm' (0) | 2024.05.17 |
---|---|
error: Attempt to recreate a file for type..... (0) | 2024.05.07 |
java.sql.SQLException: Cannot create JDBC driver of class '' for connect URL 'null' (0) | 2024.04.03 |
javax.servlet.ServletException: 파일을(를) 찾을 수 없습니다. (0) | 2024.04.02 |
The declared package "" does not match the expected package "" 오류 (0) | 2024.04.02 |