'ora-00904'에 해당되는 글 1건

제목 날짜

ORA-00904 : 부적합한 식별자 invalid identifier

 
1. 원인: 입력된 열 이름이 누락되었거나 잘못 되었을 경우 발생.
 
1-1. 존재하지 않는 열 이름을 지정함.
1-2. 정의된 열 이름과 대소문자가 일치하지 않는 경우.
1-3. 작은 따옴표(')와 큰 따옴표(") 사용 방법의 오류.
1-4. 열 이름에 특수 문자 사용.
1-5. 열 이름에 Oracle 예약어 사용.
 
 
2. 해결 방법
 
2-1. 해당 열이 테이블에 존재하는지 확인.
2-2. 큰 따옴표로 묶인 열 이름은 대소문자를 구분하므로 확인.
2-3. 작은 따옴표(')로 값을 묶으면 값으로 취급되지만 큰 따옴표(")로 값을 묶으면 객체 이름으로 처리되므로 확인.
2-4. 열 이름 앞에 숫자나 기호를 사용하고 있지 않은 지 확인 후 수정.
2-5. 열 이름에 예약어를 사용하고 있지 않은지 확인 후 수정. 
 
 

 

 

 


ORA-00904 invalid identifier

 

 

1. Cause: The input column name is missing or invalid.

 

1-1. Specifies a nonexistent column name.

1-2. The column name defined does not match the case.

1-3. Error in how to use single quotes (') and double quotes (").

1-4. Use special characters in column names.

1-5. Use Oracle reserved words for column names.

 

 

2. Solution

 

2-1. Make sure the column exists in the table.

2-2. Column names enclosed in double quotation marks are case sensitive, so check.

2-3. Enclosing a value with a single quotation mark (') is treated as a value, but enclosing the value with a double quotation mark (") will treat it as an object name.

2-4. Make sure that you do not use a number or symbol before the column name, and then fix it.

2-5. Make sure column names do not use reserved words.

 

 

 

반응형
Posted by 큐그