오류/Oracle

Oracle, hr 계정 오류 수정

greenyellow-s 2024. 7. 25. 10:02
728x90
반응형
설치 오류 문구

 

SP2-0310: unable to open file "__SUB__CWD__/human_resources/hr_cre.sql"

SP2-0310: unable to open file "__SUB__CWD__/human_resources/hr_popul.sql"

SP2-0310: unable to open file "__SUB__CWD__/human_resources/hr_idx.sql"

SP2-0310: unable to open file "__SUB__CWD__/human_resources/hr_code.sql"

SP2-0310: unable to open file "__SUB__CWD__/human_resources/hr_comnt.sql"

SP2-0310: unable to open file "__SUB__CWD__/human_resources/hr_analz.sql"

 

__SUB__CWD__는 현재 디렉토리를 저장하는 변수인데, 제대로 작동하지 못할 수 있다.


오류 수정

 

1. human_resources 파일에 들어가서 hr_main.sql 파일 열기

 

2. @__SUB__CWD__ 문구를 @?/demo/schema로 변경

 

 

3. 다시 설치 시작

 

SQL> @?/demo/schema/human_resources/hr_main.sql

 

hr 계정 만들기 : https://greenyellow-s.tistory.com/36

 

Oracle, hr 계정 생성하기 / 연습 스키마 만들기

hr 계정 생성하기 오라클 18c 버전 이후에는 연습용 스키마가 따로 분리되어 있어서 따로 설치해야한다.반드시 관리자 계정(system)에서 설치 1. 명령 프로토콜 [ 관리자 권한 ] 으로 실행 2. 스키

greenyellow-s.tistory.com

 

 

PL/SQL procedure successfully completed

 

뜨면 계정 생성 성공

728x90
반응형

'오류 > Oracle' 카테고리의 다른 글

Oracle, Lock 걸린 계정 Lock 풀기 / 계정 삭제  (0) 2024.07.26