반응형

ora-01031 Cause:

  • ...

ora-01031 원인:

  • ...

ora-01031 Action:

  • ...

ora-01031 조치:

  • ...

ora-01031 해결:

  • ...
반응형
반응형

"ORA-01017: invalid username/password; logon denied."에로 해결 방법

ORA-01017 Cause:

  • ...

ORA-01017 원인: 

  • ...

ORA-01017 Action: 

  • ...

ORA-01017 조치:

  • ...

ORA-01017 해결:

  • ...
반응형
반응형

"ORA-01722: invalid number" 어레 해결 방법 

ORA-01722 Cause: 

  • The specified number was invalid.

ORA-01722 원인: 

  • 지정된 번호가 잘못되었습니다.

ORA-01722: 수치가 부적합합니다 오류 발행 1
ORA-01722: 수치가 부적합합니다 오류 발행 2

ORA-01722 Action: 

  • Specify a valid number.

ORA-01722 조치:

  •  유효한 숫자를 지정하십시오.

ORA-01722 해결:

  • 1,000을 1000으로 변경 

ORA-01722: 수치가 부적합합니다 해결

반응형
반응형

ORA-01861: literal does not match format string 에러 해결 방법 

ORA-01861 Cause: 

  • Literals in the input must be the same length as literals in the format string (with the exception of leading whitespace). If the "FX" modifier has been toggled on, the literal must match exactly, with no extra whitespace.

ORA-01861 원인: 

  • 입력의 리터럴은 형식 문자열의 리터럴과 길이가 같아야 합니다(선행 공백 제외). "FX" 수정자가 켜져 있는 경우 리터럴은 추가 공백 없이 정확히 일치해야 합니다.

리터럴이 형식 문자열과 일치하지 않습니다

ORA-01861 Action: 

  • Correct the format string to match the literal.

ORA-01861 조치: 

  • 리터럴과 일치하도록 형식 문자열을 정정하십시오.

ORA-01861 해결 : 

  • 날짜를 2023111에서 2023-11-12 변경 

ORA-01861 오류 해결

반응형
반응형

"ORA-06512: at stringline string"에러 해결 방법

ORA-06512 Cause:

  • Backtrace message as the stack is unwound by unhandled exceptions.

ORA-06512 Action:

  • Fix the problem causing the exception or write an exception handler for this condition. Or you may need to contact your application administrator or DBA.

ORA-06512: 스트링 라인 string 에 있습니다.

 

ORA-06512 원인:

  • 처리되지 않은 예외로 인해 스택이 풀릴 때 역추적 메시지가 표시됩니다.

ORA-06512 조치:

  • 예외를 일으키는 문제를 수정하거나 이 조건에 대한 예외 핸들러를 작성하십시오. 또는 애플리케이션 관리자나 DBA에게 문의해야 할 수도 있습니다.
반응형
반응형

" ORA-00904: invalid identifier "에러 해결 방법

ora-00904 Cause:

  • The SQL statement includes an invalid column name.
  • The SQL statement includes a column name which does not currently exist.

ora-00904 원인:

  • SQL 문에 잘못된 열 이름이 포함되어 있습니다.
  • SQL 문에 현재 존재하지 않는 열 이름이 포함되어 있습니다.

ORA-00904: 부적합한 식별자

ora-00904 Action:

  • oracle keywor 오타 가능 성이 높습니다.

ora-00904 해결:

  • SQL 문에서 오타가 없는지 확인 (emp_n -> emp_no 변경)

ORA-00904:오타 변경

반응형
반응형

ORA-12505: TNS:리스너는 현재 연결 설명자에 제공된 SID를 알지 못합니다.에러 해결 방법

ORA-12505 Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a SID for an instance (usually a database instance) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.

 

ORA-12505 원인:

리스너가 데이터베이스 또는 다른 서비스에 대한 연결 설정 요청을 받았습니다. 리스너가 수신한 연결 설명자는 아직 리스너에 동적으로 등록되지 않았거나 리스너에 대해 정적으로 구성되지 않은 인스턴스(일반적으로 데이터베이스 인스턴스)에 대한 SID를 지정했습니다. 이는 리스너가 시작된 후 데이터베이스 인스턴스가 리스너에 등록되기 전과 같은 임시 조건일 수 있습니다.

ORA-12505 접속 실패

ORA-12505 Action:

- Wait a moment and try to connect a second time.
- Check which instances are currently known by the listener by executing: lsnrctl services <listener name>
- Check that the SID parameter in the connect descriptor specifies an instance known by the listener.
- Check for an event in the listener.log file.

 

ORA-12505 조치 : 

  • OracleServiceORCL 서비스 실행 

  • 그래도 ORA-12505해결이  안되면 서비스 를 재 시작합니다
    1. 먼저  OracleOraDB19Home1TNSListener  시작
    2. 다음 OracleServiceORCL 시작

ORA-12505 서비스 시작 순서 확인 할것

 

반응형
반응형

"ORA-00001: 무결성 제약 조건에 위배됩니다" 에러 해결 방법

ORA-00001: 무결성 제약 조건

원인: UPDATE 또는 INSERT 문이 중복된 키를 삽입하려고 했습니다. DBMS MAC 모드로 구성된 Trusted Oracle의 경우 중복된 항목이 다른 수준에 존재하면 이 메시지가 표시될 수 있습니다.

ORA-00001: 무결성 제약

조치: 고유 제한사항을 제거하거나 키를 삽입하지 마십시오.

ORA-00001: 해결 1. 중복데이터 제거 할것 

ORA-00001: 해결 2. PK 설정 해제 

ORA-00001 PK 해제

반응형
반응형

" ORA-01795: maximum number of expressions in a list is 1000 "에러 해결 방법

ORA-01795 Cause: Number of expressions in the query exceeded than 1000. Note that unused column/expressions are also counted Maximum number of expressions that are allowed are 1000.

ORA-01795 원인 : 쿼리의 식 수가 1000을 초과했습니다. 사용되지 않은 열 / 식도 계산됩니다. 허용되는 최대 식 수는 1000입니다.

UPDATE TABLE
SET COL1 =1
WHERE COL2 IN ('1','2',.....'101')

ORA-01795 Action: Reduce the number of expressions in the list and resubmit.

ORA-01795 해결 1.IN 안에 값이 100 이상으면 오류 발생 

ORA-01795 해결 2. IN 값을 서브 퀴리로 변경 

IN (SELECT C1 FROM TB UNOIN ALL  
	SELECT C1 FROM TB 
)

 

반응형
반응형

수정전 

ORA-65096: 수정전

수정후

ORA-65096: 수정후

	-----------------------------------------------------------------------------------
	--  계정에 C##  취소  
	--ORA-65096: 공통 사용자 또는 롤 이름이 부적합합니다.
	-----------------------------------------------------------------------------------
	alter session set "_ORACLE_SCRIPT"=true;
	-----------------------------------------------------------------------------------
	--  사용자 계정 새성 
	-----------------------------------------------------------------------------------
	CREATE USER IF_DB IDENTIFIED BY oracle;
반응형

+ Recent posts