개발문제해결/Exception

ORA-00904 에러 부적절한 식별자

타진 2018. 2. 18. 18:13
반응형











Question:  I am running a SQL statement and I get a SQL*Plus error ORA-00904 invalid identifier.


질문: 저 SQL 썻는데 ORA-00904 에러 떴어요.

 


Answer: When ORA-00904 occurs, you must enter a valid column name as it is either missing or the one entered is invalid. The "invalid identifier" most common happens when you are referencing an invalid alias in a select statement. 


ORA-00904 에러가 떳다면, 컬럼이 빠졌거나 이름이 잘못되있을 가능성이 높습니다. '부적절한 식별자'는 select문을 사용할 때 잘못된 alias(컬럼이나 테이블의 별칭)를 참조할 때 자주 발생합니다.






본인의 컬럼이나, 테이블 이름과 타입을 확인하자



반응형