Data Base/오류 대처
SQL 오류 ORA-00904: 부적합한 식별 invalid identifier
잇꼬
2023. 10. 19. 13:31
728x90
반응형
SMALL
insa.mgr TABLE
CREATE TABLE insa.mgr (
id NUMBER(3),
name VARCHAR2(30),
day DATE )
TABLESPACE users;
insa.employees
CREATE TABLE insa.employees
TABLESPACE users
AS
SELECT *
FROM hr.employees;
# 오류발생
오류 보고 - SQL 오류: ORA-00904: "DAY": invalid identifier 00904. 00000 - "%s: invalid identifier" *Cause: *Action: |
발생 원인: insa.mgr의 테이블 대신에 insa.employees의 테이블을 썼다.

나의.. 단순 오타 실수였다..
바보ㅎㅎ
insa.mgr의 컬럼과
insa.employees 의 컬럼이 다르기 때문이다..
다음부터 주의! 하자
728x90
반응형
LIST